aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/core
diff options
context:
space:
mode:
authorIvan Vecera <ivecera@redhat.com>2023-11-24 16:03:41 +0100
committerTony Nguyen <anthony.l.nguyen@intel.com>2024-02-16 09:28:14 -0800
commitb7fac08db5e32a7de8c53e50dc7c841d123dda05 (patch)
tree989f4a5fd40e0d4e5e19b333b1540b4ba73b6ed7 /net/core
parenti40e: Introduce and use macros for iterating VSIs and VEBs (diff)
downloadwireguard-linux-b7fac08db5e32a7de8c53e50dc7c841d123dda05.tar.xz
wireguard-linux-b7fac08db5e32a7de8c53e50dc7c841d123dda05.zip
i40e: Add helpers to find VSI and VEB by SEID and use them
Add two helpers i40e_(veb|vsi)_get_by_seid() to find corresponding VEB or VSI by their SEID value and use these helpers to replace existing open-coded loops. Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com> Signed-off-by: Ivan Vecera <ivecera@redhat.com> Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel) Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions