diff options
author | Ivan Vecera <ivecera@redhat.com> | 2024-04-27 09:26:05 +0200 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2024-04-30 09:33:05 -0700 |
commit | 43f4466ca91debe63a07a80250282cf3210de1aa (patch) | |
tree | 789a5aa0770b4e367284e66adbcd47359e31cb1e /net/unix/sysctl_net_unix.c | |
parent | 7033ada04e33048c8b33294fecbb0d73f3cd1088 (diff) |
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 <mschmidt@redhat.com>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com>
Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions