Commit 2ca220f9 authored by Dany Madden's avatar Dany Madden Committed by David S. Miller

Revert "ibmvnic: remove duplicate napi_schedule call in open function"

This reverts commit 7c451f3e.

When a vnic interface is taken down and then up, connectivity is not
restored. We bisected it to this commit. Reverting this commit until
we can fully investigate the issue/benefit of the change.

Fixes: 7c451f3e ("ibmvnic: remove duplicate napi_schedule call in open function")
Reported-by: default avatarCristobal Forno <cforno12@linux.ibm.com>
Reported-by: default avatarAbdul Haleem <abdhalee@in.ibm.com>
Signed-off-by: default avatarDany Madden <drt@linux.ibm.com>
Signed-off-by: default avatarSukadev Bhattiprolu <sukadev@linux.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0ec13aff
......@@ -1210,6 +1210,11 @@ static int __ibmvnic_open(struct net_device *netdev)
netif_tx_start_all_queues(netdev);
if (prev_state == VNIC_CLOSED) {
for (i = 0; i < adapter->req_rx_queues; i++)
napi_schedule(&adapter->napi[i]);
}
adapter->state = VNIC_OPEN;
return rc;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment