ixgbe: DCB, set minimum bandwidth per traffic class
authorJohn Fastabend <john.r.fastabend@intel.com>
Wed, 9 Mar 2011 04:46:16 +0000 (04:46 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 12 Mar 2011 12:14:48 +0000 (04:14 -0800)
commit1390a59452a0895d3fea5b5504fa75ba36c13a74
tree8535968cc4b9c6acfbc28cef156477b094b139ea
parent6fb456a07c68913516da9de90d3849ee9821dea8
ixgbe: DCB, set minimum bandwidth per traffic class

DCB provides a guaranteed bandwidth in the case with 0%
bandwidth then no bandwidth is guaranteed. However the
traffic class should still be able to transmit traffic.
For this to work the traffic class must be given the
minimum credits required to send a frame.

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