]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1bf4e48e94851a1159fbf80b46a954460214ae80
tree7cbce5e0e9dde2b619c8c92855242a6408178539
parent585b1e7d9c2241c879388c12532c4e940923d6a1
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