diff options
| author | Ivan Vecera <[email protected]> | 2024-04-27 07:26:05 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2024-04-30 16:33:05 +0000 |
| commit | 43f4466ca91debe63a07a80250282cf3210de1aa (patch) | |
| tree | 789a5aa0770b4e367284e66adbcd47359e31cb1e /drivers/net/ethernet/intel/i40e/i40e_devlink.c | |
| parent | i40e: Refactor argument of i40e_detect_recover_hung() (diff) | |
| download | kernel-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
