aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/dcbnl.h
diff options
context:
space:
mode:
authorShmulik Ravid <shmulikr@broadcom.com>2011-07-05 02:16:25 -0400
committerDavid S. Miller <davem@davemloft.net>2011-07-06 02:42:17 -0400
commit5b7f7626743e0912958981343b47ac0ab2206b1c (patch)
tree1530285d4304e1c5cbad44214f2a19a9dfa8f518 /include/net/dcbnl.h
parent37cf4d1a9b0903b874a638d0f8649873ddde8a12 (diff)
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>
Diffstat (limited to 'include/net/dcbnl.h')
-rw-r--r--include/net/dcbnl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/net/dcbnl.h b/include/net/dcbnl.h
index d5bbb797757..f5aa39997f0 100644
--- a/include/net/dcbnl.h
+++ b/include/net/dcbnl.h
@@ -34,7 +34,10 @@ int dcb_ieee_setapp(struct net_device *, struct dcb_app *);
34int dcb_ieee_delapp(struct net_device *, struct dcb_app *); 34int dcb_ieee_delapp(struct net_device *, struct dcb_app *);
35u8 dcb_ieee_getapp_mask(struct net_device *, struct dcb_app *); 35u8 dcb_ieee_getapp_mask(struct net_device *, struct dcb_app *);
36 36
37int dcbnl_notify(struct net_device *dev, int event, int cmd, u32 seq, u32 pid); 37int dcbnl_ieee_notify(struct net_device *dev, int event, int cmd,
38 u32 seq, u32 pid);
39int dcbnl_cee_notify(struct net_device *dev, int event, int cmd,
40 u32 seq, u32 pid);
38 41
39/* 42/*
40 * Ops struct for the netlink callbacks. Used by DCB-enabled drivers through 43 * Ops struct for the netlink callbacks. Used by DCB-enabled drivers through