Commit 99b5bea0 authored by Shannon Nelson's avatar Shannon Nelson Committed by David S. Miller

ionic: ignore EBUSY on queue start

When starting the queues in the link-check, don't go into
the BROKEN state if the return was EBUSY.
Signed-off-by: default avatarShannon Nelson <snelson@pensando.io>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 51117874
...@@ -135,7 +135,7 @@ static void ionic_link_status_check(struct ionic_lif *lif) ...@@ -135,7 +135,7 @@ static void ionic_link_status_check(struct ionic_lif *lif)
if (netdev->flags & IFF_UP && netif_running(netdev)) { if (netdev->flags & IFF_UP && netif_running(netdev)) {
mutex_lock(&lif->queue_lock); mutex_lock(&lif->queue_lock);
err = ionic_start_queues(lif); err = ionic_start_queues(lif);
if (err) { if (err && err != -EBUSY) {
netdev_err(lif->netdev, netdev_err(lif->netdev,
"Failed to start queues: %d\n", err); "Failed to start queues: %d\n", err);
set_bit(IONIC_LIF_F_BROKEN, lif->state); set_bit(IONIC_LIF_F_BROKEN, lif->state);
......
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