summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice.h
diff options
context:
space:
mode:
authorUsha Ketineni2018-10-26 20:44:35 +0200
committerJeff Kirsher2018-11-13 18:09:26 +0100
commitc5a2a4a38856faed6fa6654746c838231289e8d6 (patch)
treeb2738c710b3c7ad85b4073fdfdb6e7d09de4ad32 /drivers/net/ethernet/intel/ice/ice.h
parentice: Call pci_disable_sriov before stopping queues for VF (diff)
downloadkernel-qcow2-linux-c5a2a4a38856faed6fa6654746c838231289e8d6.tar.gz
kernel-qcow2-linux-c5a2a4a38856faed6fa6654746c838231289e8d6.tar.xz
kernel-qcow2-linux-c5a2a4a38856faed6fa6654746c838231289e8d6.zip
ice: Fix to make VLAN priority tagged traffic to appear on all TCs
This patch includes below changes to resolve the issue of ETS bandwidth shaping to work. 1. Allocation of Tx queues is accounted for based on the enabled TC's in ice_vsi_setup_q_map() and enabled the Tx queues on those TC's via ice_vsi_cfg_txqs() 2. Get the mapped netdev TC # for the user priority and set the priority to TC mapping for the VSI. Signed-off-by: Usha Ketineni <usha.k.ketineni@intel.com> 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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice.h b/drivers/net/ethernet/intel/ice/ice.h
index ba03cbd3638e..7d8575d11786 100644
--- a/drivers/net/ethernet/intel/ice/ice.h
+++ b/drivers/net/ethernet/intel/ice/ice.h
@@ -112,7 +112,9 @@ extern const char ice_drv_ver[];
struct ice_tc_info {
u16 qoffset;
- u16 qcount;
+ u16 qcount_tx;
+ u16 qcount_rx;
+ u8 netdev_tc;
};
struct ice_tc_cfg {