diff options
author | John Fastabend <john.r.fastabend@intel.com> | 2011-09-27 03:52:01 +0000 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-10-06 03:23:36 -0700 |
commit | 4de2a0224ae3c437e8a090b6ec8d304a7edff049 (patch) | |
tree | 0eff20682be02e17dfe11001083f96ed799e1393 /drivers/net/ethernet/intel/ixgbe/ixgbe_type.h | |
parent | ixgbe: fixup hard dependencies on supporting 8 traffic classes (diff) | |
download | linux-dev-4de2a0224ae3c437e8a090b6ec8d304a7edff049.tar.xz linux-dev-4de2a0224ae3c437e8a090b6ec8d304a7edff049.zip |
ixgbe: DCB X540 devices support max traffic class of 4
X540 devices can only support up to 4 traffic classes and
guarantee a "lossless" traffic class on some platforms.
This patch sets the X540 devices to initialize a max
traffic class value of 4 at probe time.
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/ethernet/intel/ixgbe/ixgbe_type.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_type.h b/drivers/net/ethernet/intel/ixgbe/ixgbe_type.h index baad0cb371f3..4ea909c7951b 100644 --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_type.h +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_type.h @@ -406,6 +406,7 @@ /* DCB registers */ #define MAX_TRAFFIC_CLASS 8 +#define X540_TRAFFIC_CLASS 4 #define IXGBE_RMCS 0x03D00 #define IXGBE_DPMCS 0x07F40 #define IXGBE_PDPMCS 0x0CD00 |