DCB: Add interface to query # of TCs supported by device
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 21 Nov 2008 05:08:19 +0000 (21:08 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Nov 2008 05:08:19 +0000 (21:08 -0800)
commit33dbabc4a7f7bd72313c73a3c199f31f3900336f
treef56e24fec9369ca1d1ef12eb18e4000a09fb5c3e
parent46132188bf72e22ef097f16ed5c969ee8cea1e8b
DCB: Add interface to query # of TCs supported by device

Adds interface for Data Center Bridging (DCB) to query (and set if
supported) the number of traffic classes currently supported by the
device for the two (DCB) features: priority groups (PG) and priority
flow control (PFC).

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe_dcb_nl.c
include/linux/dcbnl.h
include/net/dcbnl.h
net/dcb/dcbnl.c