mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 05:40:53 +07:00
be2net: increase POST timeout for EEH recovery
Sometimes BE requires longer time for POST completion after an EEH reset. Increasing the timeout value accordingly. Signed-off-by: Sathya Perla <sathyap@serverengines.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
ea16f912a6
commit
d938a702e5
@ -294,7 +294,7 @@ int be_cmd_POST(struct be_adapter *adapter)
|
|||||||
} else {
|
} else {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
} while (timeout < 20);
|
} while (timeout < 40);
|
||||||
|
|
||||||
dev_err(&adapter->pdev->dev, "POST timeout; stage=0x%x\n", stage);
|
dev_err(&adapter->pdev->dev, "POST timeout; stage=0x%x\n", stage);
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user