]> git.karo-electronics.de Git - linux-beck.git/commit
bnx2x: use dcb_setapp to manage negotiated application tlvs
authorShmulik Ravid <shmulikr@broadcom.com>
Mon, 28 Feb 2011 20:19:55 +0000 (12:19 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Feb 2011 20:19:55 +0000 (12:19 -0800)
commit985076720187af7ac0c2de4dfe912acba9b4f586
tree1b7f36339144742cf596776e4a88fb1b491f34c7
parentff938e43d39e926de74b32a3656c190f979ab642
bnx2x: use dcb_setapp to manage negotiated application tlvs

With this patch the bnx2x uses the generic dcbnl application tlv list
instead of implementing its own get-app handler. When the driver is
alerted to a change in the DCB negotiated parameters, it calls
dcb_setapp to update the dcbnl application tlvs list making it available
to user mode applications and registered notifiers.

Signed-off-by: Shmulik Ravid <shmulikr@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x/bnx2x.h
drivers/net/bnx2x/bnx2x_dcb.c
drivers/net/bnx2x/bnx2x_dcb.h
drivers/net/bnx2x/bnx2x_main.c