]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
dcbnl: Aggregated CEE GET operation
authorShmulik Ravid <shmulikr@broadcom.com>
Tue, 5 Jul 2011 06:16:22 +0000 (06:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Jul 2011 06:42:17 +0000 (23:42 -0700)
commit37cf4d1a9b0903b874a638d0f8649873ddde8a12
tree3098d533e421cc614fc2f3a3a67cdd82dfd50305
parente12fe68ce34d60c04bb1ddb1d3cc5c3022388fe4
dcbnl: Aggregated CEE GET operation

The following couple of patches add dcbnl an unsolicited notification of
the the DCB configuration for the CEE flavor of the DCBX protocol. This
is useful when the user-mode DCB client is not responsible for
conducting and resolving the DCBX negotiation (either because the DCBX
stack is embedded in the HW or the negotiation is handled by another
agent in the host), but still needs to get the negotiated parameters.
This functionality already exists for the IEEE flavor of the DCBX
protocol and these patches add it to the older CEE flavor.

The first patch extends the CEE attribute GET operation to include not
only the peer information, but also all the pertinent local
configuration (negotiated parameters). The second patch adds and export
a CEE specific notification routine.

Signed-off-by: Shmulik Ravid <shmulikr@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/dcbnl.h
net/dcb/dcbnl.c