ixgbe: DCB X540 devices support max traffic class of 4
authorJohn Fastabend <john.r.fastabend@intel.com>
Tue, 27 Sep 2011 03:52:01 +0000 (03:52 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 6 Oct 2011 10:23:36 +0000 (03:23 -0700)
commit4de2a0224ae3c437e8a090b6ec8d304a7edff049
tree0eff20682be02e17dfe11001083f96ed799e1393
parent32701dc2e616ca64e3d24b41c78671c4528671c1
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>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
drivers/net/ethernet/intel/ixgbe/ixgbe_type.h