diff options
author | Ivan Vecera <ivecera@redhat.com> | 2023-11-24 16:03:41 +0100 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2024-02-16 09:28:14 -0800 |
commit | b7fac08db5e32a7de8c53e50dc7c841d123dda05 (patch) | |
tree | 989f4a5fd40e0d4e5e19b333b1540b4ba73b6ed7 /drivers/fpga/xilinx-spi.c | |
parent | b1f1b46f466a0855b92bd191d8fea8bf297bc7ab (diff) | |
download | linux-b7fac08db5e32a7de8c53e50dc7c841d123dda05.tar.gz linux-b7fac08db5e32a7de8c53e50dc7c841d123dda05.tar.bz2 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 'drivers/fpga/xilinx-spi.c')
0 files changed, 0 insertions, 0 deletions