Skip to contentSkip to conversation

bnx2x: Advertize flow control normally in MF mode

PATCH In review Eilon Greenstein 1 participant 1 message Aug 12, 2009

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

PATCH 5/36 bnx2x: Advertize flow control normally in MF mode

---
 drivers/net/bnx2x_main.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
drivers/net/bnx2x_main.c +1 -3
index 442ba61..47b687b 100644
@@ -2148,9 +2148,7 @@ static u8 bnx2x_initial_phy_init(struct bnx2x *bp, int load_mode)
 		/* Initialize link parameters structure variables */
 		/* It is recommended to turn off RX FC for jumbo frames
 		   for better performance */
-		if (IS_E1HMF(bp))
-			bp->link_params.req_fc_auto_adv = BNX2X_FLOW_CTRL_BOTH;
-		else if (bp->dev->mtu > 5000)
+		if (bp->dev->mtu > 5000)
 			bp->link_params.req_fc_auto_adv = BNX2X_FLOW_CTRL_TX;
 		else
 			bp->link_params.req_fc_auto_adv = BNX2X_FLOW_CTRL_BOTH;
Signature · 1 line
1.5.4.3