ixgbe: fixup hard dependencies on supporting 8 traffic classes
authorJohn Fastabend <john.r.fastabend@intel.com>
Tue, 27 Sep 2011 03:51:56 +0000 (03:51 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 6 Oct 2011 10:23:11 +0000 (03:23 -0700)
commit32701dc2e616ca64e3d24b41c78671c4528671c1
tree27911ab1fb1b2b99be48e8c77d9b5b38600e1497
parent2ad30e2633430717dbdf857962ba0c697dc471ef
ixgbe: fixup hard dependencies on supporting 8 traffic classes

This patch correctly configures DCB when less than 8 traffic classes
are available in hardware.

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_dcb.c
drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.h
drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c
drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.h
drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c