diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2008-11-21 00:10:23 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-21 00:10:23 -0500 |
commit | 859ee3c43812051e21816c6d6d4cc04fb7ce9b2e (patch) | |
tree | ef3c3717038b5d4600065550f422fd8abf72de35 /include/net/dcbnl.h | |
parent | 0eb3aa9bab20217fb42244ccdcb5bf8a002f504c (diff) |
DCB: Add support for DCB BCN
Adds an interface to configure the Backward Congestion Notification
(BCN) feature. In a BCN capabale network, congestion notifications
from congested points out in the network can cause the end station
limit the rate of a given traffic flow.
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 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/dcbnl.h b/include/net/dcbnl.h index c7d87caf3f99..91e0a3d7faf2 100644 --- a/include/net/dcbnl.h +++ b/include/net/dcbnl.h | |||
@@ -44,6 +44,10 @@ struct dcbnl_rtnl_ops { | |||
44 | u8 (*setnumtcs)(struct net_device *, int, u8); | 44 | u8 (*setnumtcs)(struct net_device *, int, u8); |
45 | u8 (*getpfcstate)(struct net_device *); | 45 | u8 (*getpfcstate)(struct net_device *); |
46 | void (*setpfcstate)(struct net_device *, u8); | 46 | void (*setpfcstate)(struct net_device *, u8); |
47 | void (*getbcncfg)(struct net_device *, int, u32 *); | ||
48 | void (*setbcncfg)(struct net_device *, int, u32); | ||
49 | void (*getbcnrp)(struct net_device *, int, u8 *); | ||
50 | void (*setbcnrp)(struct net_device *, int, u8); | ||
47 | }; | 51 | }; |
48 | 52 | ||
49 | #endif /* __NET_DCBNL_H__ */ | 53 | #endif /* __NET_DCBNL_H__ */ |