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>
This commit is contained in:
committed by
David S. Miller
parent
0eb3aa9bab
commit
859ee3c438
@ -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__ */
|
||||
|
Reference in New Issue
Block a user