dcbnl: adding DCBX feature flags get-set
authorShmulik Ravid <shmulikr@broadcom.com>
Thu, 30 Dec 2010 06:26:55 +0000 (06:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 31 Dec 2010 18:50:54 +0000 (10:50 -0800)
commitea45fe4e176a42d2396878f530cfdc8265bef37b
treebf4d4b035223b3e315fcdabf814398766482fb58
parent6241b6259b16aa390ff4bf50f520685b3801200b
dcbnl: adding DCBX feature flags get-set

Adding a pair of set-get routines to dcbnl for setting the negotiation
flags of the various DCB features. Conforms to the CEE flavor of DCBX
The user sets these flags (enable, advertise, willing) for each feature
to be used by the DCBX engine. The 'get' routine returns which of the
features is enabled after the negotiation.

This patch is dependent on the following patches:
[net-next-2.6 PATCH 1/3] dcbnl: add support for ieee8021Qaz attributes
[net-next-2.6 PATCH 2/3] dcbnl: add appliction tlv handlers
[net-next-2.6 PATCH 3/3] net_dcb: add application notifiers

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