net: dcb: add CEE notify calls
authorJohn Fastabend <john.r.fastabend@intel.com>
Fri, 20 Apr 2012 09:49:23 +0000 (09:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Apr 2012 23:47:17 +0000 (19:47 -0400)
commit081579840b4b2421e37bc67e3b089b7ca64ef040
tree4af15e68503680089276cc676ea23c10128a3e1c
parent872f24dbc604ef585ea7eec73020dcdfaffd1956
net: dcb: add CEE notify calls

This adds code to trigger CEE events when an APP change or setall
command is made from user space. This simplifies user space code
significantly by creating a single interface to listen on that
works with both firmware and userland agents.

And if we end up with multiple agents this keeps every thing in
sync userland agents, firmware agents, and kernel notifier consumers.

For an example agent that listens for these events see:

https://github.com/jrfastab/cgdcbxd

cgdcbxd is a daemon used to monitor DCB netlink events and manage
the net_prio control group sub-system.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Acked-by: Shmulik Ravid <shmulikr@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dcb/dcbnl.c