Skip to content

Commit

Permalink
dcbnl: Add CEE notification
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Shmulik Ravid authored and David S. Miller committed Jul 6, 2011
1 parent 37cf4d1 commit 5b7f762
Show file tree
Hide file tree
Showing 2 changed files with 229 additions and 191 deletions.
5 changes: 4 additions & 1 deletion include/net/dcbnl.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ int dcb_ieee_setapp(struct net_device *, struct dcb_app *);
int dcb_ieee_delapp(struct net_device *, struct dcb_app *);
u8 dcb_ieee_getapp_mask(struct net_device *, struct dcb_app *);

int dcbnl_notify(struct net_device *dev, int event, int cmd, u32 seq, u32 pid);
int dcbnl_ieee_notify(struct net_device *dev, int event, int cmd,
u32 seq, u32 pid);
int dcbnl_cee_notify(struct net_device *dev, int event, int cmd,
u32 seq, u32 pid);

/*
* Ops struct for the netlink callbacks. Used by DCB-enabled drivers through
Expand Down
Loading

0 comments on commit 5b7f762

Please sign in to comment.