aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/i40e/i40e_devlink.c
diff options
context:
space:
mode:
authorIvan Vecera <[email protected]>2024-04-27 07:26:05 +0000
committerTony Nguyen <[email protected]>2024-04-30 16:33:05 +0000
commit43f4466ca91debe63a07a80250282cf3210de1aa (patch)
tree789a5aa0770b4e367284e66adbcd47359e31cb1e /drivers/net/ethernet/intel/i40e/i40e_devlink.c
parenti40e: Refactor argument of i40e_detect_recover_hung() (diff)
downloadkernel-43f4466ca91debe63a07a80250282cf3210de1aa.tar.gz
kernel-43f4466ca91debe63a07a80250282cf3210de1aa.zip
i40e: Add helper to access main VSI
Add simple helper i40e_pf_get_main_vsi(pf) to access main VSI that replaces pattern 'pf->vsi[pf->lan_vsi]' Reviewed-by: Michal Schmidt <[email protected]> Tested-by: Pucha Himasekhar Reddy <[email protected]> Signed-off-by: Ivan Vecera <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e_devlink.c')
0 files changed, 0 insertions, 0 deletions