diff options
author | 2023-11-24 16:03:41 +0100 | |
---|---|---|
committer | 2024-02-16 09:28:14 -0800 | |
commit | b7fac08db5e32a7de8c53e50dc7c841d123dda05 (patch) | |
tree | 989f4a5fd40e0d4e5e19b333b1540b4ba73b6ed7 /net/core | |
parent | i40e: Introduce and use macros for iterating VSIs and VEBs (diff) | |
download | wireguard-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