summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBrett Creeley <brett.creeley@intel.com>2021-03-02 10:15:39 -0800
committerTony Nguyen <anthony.l.nguyen@intel.com>2021-04-22 09:26:22 -0700
commitc5afbe99b778c15254d4496a74d3252ef6ba0a14 (patch)
tree1bbeabd3ab222bce1a73c3b958cf8c94a4f39bb3 /include
parentc9b5f681fe418d68f1804512c7fbcd5920d0594e (diff)
ice: Add helper function to get the VF's VSI
Currently, the driver gets the VF's VSI by using a long string of dereferences (i.e. vf->pf->vsi[vf->lan_vsi_idx]). If the method to get the VF's VSI were to change the driver would have to change it in every location. Fix this by adding the helper ice_get_vf_vsi(). Signed-off-by: Brett Creeley <brett.creeley@intel.com> Tested-by: Konrad Jankowski <konrad0.jankowski@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions