]> www.infradead.org Git - users/jedix/linux-maple.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)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 14:23:24 +0000 (22:23 +0800)
commite2e613d3f2e9a97c3e8c6d65610db67350666dde
treeb0f60f55547a30e895456b881c24486b3afed1b8
parentdd68eaf191ed3f27ed590f2792fda552d05a8c13
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.

(cherry picked from commit 8599e251b3dd18c7bcb342d5b4acecc420f43606)
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>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/ixgbe/ixgbe_dcb_nl.c