]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dcbnl: Aggregated CEE GET operation
authorShmulik Ravid <shmulikr@broadcom.com>
Tue, 5 Jul 2011 06:16:22 +0000 (06:16 +0000)
committerJoe Jin <joe.jin@oracle.com>
Wed, 16 May 2012 08:30:06 +0000 (16:30 +0800)
commita666df6378c734da5930f03564ae1329f19b3e82
treee7fc3b8082401fa280ad71ee860f87935ee2c094
parent4a77110cf6eef5991122c8530d82c5b7a456c20e
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>
(cherry picked from commit 37cf4d1a9b0903b874a638d0f8649873ddde8a12)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
include/linux/dcbnl.h
net/dcb/dcbnl.c