ibmveth bug fixes 3/4
PATCH 1/1 ibmveth bug fixes 3/4
Andrew,
This patch checks for the LongBusy return code from the hypervisor, and retries the operation (which is what the hypervisor expects the driver to do). Please apply.
Signed-off-by Santiago Leon <[email protected]>
Signature · 3 lines
Santiago A. Leon Power Linux Development IBM Linux Technology Center
===== drivers/net/ibmveth.c 1.15 vs edited =====
drivers/net/ibmveth.c +2 -2
@@ -530,7 +530,7 @@ibmveth_error_printk ("unable to request irq 0x%x, rc %d\n" , netdev->irq, rc);do { rc =h_free_logical_lan (adapter->vdev->unit_address); - } while H_isLongBusy(rc); + }while (H_isLongBusy (rc) || (rc == H_Busy));ibmveth_cleanup (adapter);return rc;
@@ -562,7 +562,7 @@do { lpar_rc =h_free_logical_lan (adapter->vdev->unit_address); - } while H_isLongBusy(lpar_rc); + }while (H_isLongBusy (lpar_rc) || (lpar_rc == H_Busy));if (lpar_rc != H_Success) {