summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice.h
diff options
context:
space:
mode:
authorAnirudh Venkataramanan2018-09-20 02:42:56 +0200
committerJeff Kirsher2018-10-03 16:42:29 +0200
commit8ede01785f32269ef4766cf17a535e70ee3c1541 (patch)
tree178c3d356c0e93973615c449959ad9fb432eaa04 /drivers/net/ethernet/intel/ice/ice.h
parentice: Add handler to configure SR-IOV (diff)
downloadkernel-qcow2-linux-8ede01785f32269ef4766cf17a535e70ee3c1541.tar.gz
kernel-qcow2-linux-8ede01785f32269ef4766cf17a535e70ee3c1541.tar.xz
kernel-qcow2-linux-8ede01785f32269ef4766cf17a535e70ee3c1541.zip
ice: Update VSI and queue management code to handle VF VSI
Until now, all the VSI and queue management code supported only the PF VSI type (ICE_VSI_PF). Update these flows to handle the VF VSI type (ICE_VSI_VF) type as well. Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice.h')
-rw-r--r--drivers/net/ethernet/intel/ice/ice.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice.h b/drivers/net/ethernet/intel/ice/ice.h
index f788cd63237a..89ec05e9983b 100644
--- a/drivers/net/ethernet/intel/ice/ice.h
+++ b/drivers/net/ethernet/intel/ice/ice.h
@@ -202,6 +202,8 @@ struct ice_vsi {
/* Interrupt thresholds */
u16 work_lmt;
+ s16 vf_id; /* VF ID for SR-IOV VSIs */
+
/* RSS config */
u16 rss_table_size; /* HW RSS table size */
u16 rss_size; /* Allocated RSS queues */