diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2008-11-20 21:10:23 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-20 21:10:23 -0800 |
commit | 859ee3c43812051e21816c6d6d4cc04fb7ce9b2e (patch) | |
tree | ef3c3717038b5d4600065550f422fd8abf72de35 /include/net/dcbnl.h | |
parent | 0eb3aa9bab20217fb42244ccdcb5bf8a002f504c (diff) | |
download | kernel-crypto-859ee3c43812051e21816c6d6d4cc04fb7ce9b2e.tar.gz kernel-crypto-859ee3c43812051e21816c6d6d4cc04fb7ce9b2e.tar.xz kernel-crypto-859ee3c43812051e21816c6d6d4cc04fb7ce9b2e.zip |
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 c7d87caf3f9..91e0a3d7faf 100644 --- a/include/net/dcbnl.h +++ b/include/net/dcbnl.h @@ -44,6 +44,10 @@ struct dcbnl_rtnl_ops { u8 (*setnumtcs)(struct net_device *, int, u8); u8 (*getpfcstate)(struct net_device *); void (*setpfcstate)(struct net_device *, u8); + void (*getbcncfg)(struct net_device *, int, u32 *); + void (*setbcncfg)(struct net_device *, int, u32); + void (*getbcnrp)(struct net_device *, int, u8 *); + void (*setbcnrp)(struct net_device *, int, u8); }; #endif /* __NET_DCBNL_H__ */ |