]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ice: Add more usage of existing function ice_get_vf_vsi(vf)
authorBrett Creeley <brett.creeley@intel.com>
Thu, 1 Dec 2022 11:58:59 +0000 (12:58 +0100)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Mon, 6 Feb 2023 17:33:12 +0000 (09:33 -0800)
commit772dec645934d7788e333cc05f19ac8c1b78f517
tree1cdb1c03cb792007173c9386ff1b9da703cda3da
parentc21adf256f8dcfbc07436d45be4ba2edf7a6f463
ice: Add more usage of existing function ice_get_vf_vsi(vf)

Extend the usage of function ice_get_vf_vsi(vf) in multiple places
instead of VF's VSI by using a long string of dereferences
(i.e. vf->pf->vsi[vf->lan_vsi_idx]).

Signed-off-by: Brett Creeley <brett.creeley@intel.com>
Signed-off-by: Kalyan Kodamagula <kalyan.kodamagula@intel.com>
Tested-by: Piotr Tyda <piotr.tyda@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_virtchnl_fdir.c