Skip to contentSkip to conversation

bnx2x: update DCB data during PMF migration

PATCH Applied Vlad Zolotarov 1 participant 1 message Jun 14, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 14/24 bnx2x: update DCB data during PMF migration

From: Dmitry Kravkov <[email protected]>

---
 drivers/net/bnx2x/bnx2x_dcb.h  |    2 +-
 drivers/net/bnx2x/bnx2x_main.c |    2 ++
 2 files changed, 3 insertions(+), 1 deletions(-)
drivers/net/bnx2x/bnx2x_dcb.h +1 -1
index 7887834..b3a655f 100644
@@ -184,7 +184,7 @@ enum {
 };
 
 void bnx2x_dcbx_set_params(struct bnx2x *bp, u32 state);
-
+void bnx2x_dcbx_pmf_update(struct bnx2x *bp);
 /* DCB netlink */
 #ifdef BCM_DCBNL
 extern const struct dcbnl_rtnl_ops bnx2x_dcbnl_ops;
drivers/net/bnx2x/bnx2x_main.c +2 -0
index 628598e..73a22fd 100644
@@ -2477,6 +2477,8 @@ static void bnx2x_pmf_update(struct bnx2x *bp)
 	bp->port.pmf = 1;
 	DP(NETIF_MSG_LINK, "pmf %d\n", bp->port.pmf);
 
+	bnx2x_dcbx_pmf_update(bp);
+
 	/* enable nig attention */
 	val = (0xff0f | (1 << (BP_E1HVN(bp) + 4)));
 	if (bp->common.int_block == INT_BLOCK_HC) {
Signature · 1 line
1.7.4.1