ixgbe: Fix DCB traffic class mapping for 82599
authorPJ Waskiewicz <peter.p.waskiewicz.jr@intel.com>
Thu, 16 Apr 2009 15:00:20 +0000 (15:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Apr 2009 08:16:28 +0000 (01:16 -0700)
commitf92ef202988ffb07bb86cf94d0b09f2a61192da7
tree7cbce5e0e9dde2b619c8c92855242a6408178539
parent843f42678f6c47a2c8d1648e584cb57ebff3750f
ixgbe: Fix DCB traffic class mapping for 82599

The traffic classes in hardware are not symmetrical for Rx and Tx.  Rx
is every 16 descriptor queues, Tx is not.  It runs 32-32-16-16-8-8-8 when
running with 8 traffic classes, and runs 64-32-16 when running with 4
traffic classes.  This patch fixes the mapping.

Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Cc: stable@kernel.org
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe_main.c