]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: DCB, return max for IEEE traffic classes
authorJohn Fastabend <john.r.fastabend@intel.com>
Wed, 19 Oct 2011 08:48:49 +0000 (08:48 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 2 Nov 2011 23:55:55 +0000 (16:55 -0700)
commit7d3ea457e8dc39495c7563b28ca456e4b705e1bb
tree54632af24a86dc2506661fa33ddc6a31ceff8b6d
parentd7965061a5c6b1a603bef41c90ce4c1688d229f4
ixgbe: DCB, return max for IEEE traffic classes

Returning the max traffic classes on get requests simplifies
user space configurations because applications will know
explicitly how many traffic classes can be used.

Typical switch implementations use 2 or 3 traffic classes
so this not seen often today. And user space can learn
the number of traffic classes by return codes but this
allows user space to configure ixgbe correctly at the
start.

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_nl.c