diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/bnx2x_main.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c index 8abce3c182e0..a695e7f0647c 100644 --- a/drivers/net/bnx2x_main.c +++ b/drivers/net/bnx2x_main.c | |||
@@ -2149,9 +2149,7 @@ static u8 bnx2x_initial_phy_init(struct bnx2x *bp, int load_mode) | |||
2149 | /* Initialize link parameters structure variables */ | 2149 | /* Initialize link parameters structure variables */ |
2150 | /* It is recommended to turn off RX FC for jumbo frames | 2150 | /* It is recommended to turn off RX FC for jumbo frames |
2151 | for better performance */ | 2151 | for better performance */ |
2152 | if (IS_E1HMF(bp)) | 2152 | if (bp->dev->mtu > 5000) |
2153 | bp->link_params.req_fc_auto_adv = BNX2X_FLOW_CTRL_BOTH; | ||
2154 | else if (bp->dev->mtu > 5000) | ||
2155 | bp->link_params.req_fc_auto_adv = BNX2X_FLOW_CTRL_TX; | 2153 | bp->link_params.req_fc_auto_adv = BNX2X_FLOW_CTRL_TX; |
2156 | else | 2154 | else |
2157 | bp->link_params.req_fc_auto_adv = BNX2X_FLOW_CTRL_BOTH; | 2155 | bp->link_params.req_fc_auto_adv = BNX2X_FLOW_CTRL_BOTH; |