]> bbs.cooldavid.org Git - net-next-2.6.git/commit
ixgbe: DCB: credit max only needs to be gt TSO size for 82598
authorJohn Fastabend <john.r.fastabend@intel.com>
Wed, 17 Nov 2010 03:26:45 +0000 (19:26 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 17 Nov 2010 03:26:45 +0000 (19:26 -0800)
commit80ab193dce048e7b7afa43c99e69f508167e29ab
treec51e4b013ba3d2b003ec23a9e0be8d3f7c9a764c
parent16b61beb39f2446460f93c08d4d263dc24f22dd8
ixgbe: DCB: credit max only needs to be gt TSO size for 82598

The maximum credits per traffic class only needs to be greater
then the TSO size for 82598 devices. The 82599 devices do not
have this requirement so only do this test for 82598 devices.

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/ixgbe/ixgbe_dcb.c
drivers/net/ixgbe/ixgbe_dcb.h
drivers/net/ixgbe/ixgbe_main.c