Skip to content

Commit 5b7f762

Browse files
Shmulik Raviddavem330
authored andcommitted
dcbnl: Add CEE notification
This patch add an unsolicited notification of the DCBX negotiated parameters for the CEE flavor of the DCBX protocol. The notification message is identical to the aggregated CEE get operation and holds all the pertinent local and peer information. The notification routine is exported so it can be invoked by drivers supporting an embedded DCBX stack. Signed-off-by: Shmulik Ravid <shmulikr@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 37cf4d1 commit 5b7f762

File tree

2 files changed

+229
-191
lines changed

2 files changed

+229
-191
lines changed

include/net/dcbnl.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@ int dcb_ieee_setapp(struct net_device *, struct dcb_app *);
3434
int dcb_ieee_delapp(struct net_device *, struct dcb_app *);
3535
u8 dcb_ieee_getapp_mask(struct net_device *, struct dcb_app *);
3636

37-
int dcbnl_notify(struct net_device *dev, int event, int cmd, u32 seq, u32 pid);
37+
int dcbnl_ieee_notify(struct net_device *dev, int event, int cmd,
38+
u32 seq, u32 pid);
39+
int dcbnl_cee_notify(struct net_device *dev, int event, int cmd,
40+
u32 seq, u32 pid);
3841

3942
/*
4043
* Ops struct for the netlink callbacks. Used by DCB-enabled drivers through

0 commit comments

Comments
 (0)