|
@@ -10279,6 +10279,12 @@ static void bnx2x_sp_rtnl_task(struct work_struct *work)
|
|
|
bp->sp_rtnl_state = 0;
|
|
|
smp_mb();
|
|
|
|
|
|
+ /* Immediately indicate link as down */
|
|
|
+ bp->link_vars.link_up = 0;
|
|
|
+ bp->force_link_down = true;
|
|
|
+ netif_carrier_off(bp->dev);
|
|
|
+ BNX2X_ERR("Indicating link is down due to Tx-timeout\n");
|
|
|
+
|
|
|
bnx2x_nic_unload(bp, UNLOAD_NORMAL, true);
|
|
|
/* When ret value shows failure of allocation failure,
|
|
|
* the nic is rebooted again. If open still fails, a error
|