summaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x/bnx2x_dcb.h
diff options
context:
space:
mode:
authorShmulik Ravid <shmulikr@broadcom.com>2011-02-28 12:19:55 -0800
committerDavid S. Miller <davem@davemloft.net>2011-02-28 12:19:55 -0800
commit985076720187af7ac0c2de4dfe912acba9b4f586 (patch)
tree1b7f36339144742cf596776e4a88fb1b491f34c7 /drivers/net/bnx2x/bnx2x_dcb.h
parentff938e43d39e926de74b32a3656c190f979ab642 (diff)
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>
Diffstat (limited to 'drivers/net/bnx2x/bnx2x_dcb.h')
-rw-r--r--drivers/net/bnx2x/bnx2x_dcb.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/bnx2x/bnx2x_dcb.h b/drivers/net/bnx2x/bnx2x_dcb.h
index f650f98e409..71b8eda43bd 100644
--- a/drivers/net/bnx2x/bnx2x_dcb.h
+++ b/drivers/net/bnx2x/bnx2x_dcb.h
@@ -189,8 +189,9 @@ enum {
void bnx2x_dcbx_set_params(struct bnx2x *bp, u32 state);
/* DCB netlink */
-#ifdef BCM_DCB
+#ifdef BCM_DCBNL
extern const struct dcbnl_rtnl_ops bnx2x_dcbnl_ops;
-#endif /* BCM_DCB */
+int bnx2x_dcbnl_update_applist(struct bnx2x *bp, bool delall);
+#endif /* BCM_DCBNL */
#endif /* BNX2X_DCB_H */