|
@@ -10303,7 +10303,7 @@ sp_rtnl_not_reset:
|
|
}
|
|
}
|
|
if (test_and_clear_bit(BNX2X_SP_RTNL_VFPF_CHANNEL_DOWN,
|
|
if (test_and_clear_bit(BNX2X_SP_RTNL_VFPF_CHANNEL_DOWN,
|
|
&bp->sp_rtnl_state)){
|
|
&bp->sp_rtnl_state)){
|
|
- if (!test_bit(__LINK_STATE_NOCARRIER, &bp->dev->state)) {
|
|
|
|
|
|
+ if (netif_carrier_ok(bp->dev)) {
|
|
bnx2x_tx_disable(bp);
|
|
bnx2x_tx_disable(bp);
|
|
BNX2X_ERR("PF indicated channel is not servicable anymore. This means this VF device is no longer operational\n");
|
|
BNX2X_ERR("PF indicated channel is not servicable anymore. This means this VF device is no longer operational\n");
|
|
}
|
|
}
|