diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2008-11-21 00:08:19 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-21 00:08:19 -0500 |
commit | 33dbabc4a7f7bd72313c73a3c199f31f3900336f (patch) | |
tree | f56e24fec9369ca1d1ef12eb18e4000a09fb5c3e /include/net/dcbnl.h | |
parent | 46132188bf72e22ef097f16ed5c969ee8cea1e8b (diff) |
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>
Diffstat (limited to 'include/net/dcbnl.h')
-rw-r--r-- | include/net/dcbnl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/dcbnl.h b/include/net/dcbnl.h index 183ed040cf4c..f0a65281ea73 100644 --- a/include/net/dcbnl.h +++ b/include/net/dcbnl.h | |||
@@ -40,6 +40,8 @@ struct dcbnl_rtnl_ops { | |||
40 | void (*getpfccfg)(struct net_device *, int, u8 *); | 40 | void (*getpfccfg)(struct net_device *, int, u8 *); |
41 | u8 (*setall)(struct net_device *); | 41 | u8 (*setall)(struct net_device *); |
42 | u8 (*getcap)(struct net_device *, int, u8 *); | 42 | u8 (*getcap)(struct net_device *, int, u8 *); |
43 | u8 (*getnumtcs)(struct net_device *, int, u8 *); | ||
44 | u8 (*setnumtcs)(struct net_device *, int, u8); | ||
43 | }; | 45 | }; |
44 | 46 | ||
45 | #endif /* __NET_DCBNL_H__ */ | 47 | #endif /* __NET_DCBNL_H__ */ |