]> 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)
commit4f54191fbbad0052450a63b43c318d2f08923614
tree54632af24a86dc2506661fa33ddc6a31ceff8b6d
parent110c7fd53f65b4c036a04ccb730b7461baca3359
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