diff options
author | Shannon Nelson <snelson@pensando.io> | 2021-04-08 02:19:59 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-08 23:18:49 +0300 |
commit | 99b5bea04f0f0dc9e6278536a269e1f4795b73e1 (patch) | |
tree | e4bc92988c6fd078e6afbcf968945ba3d792b529 | |
parent | 51117874554d7883c9b8051d361cb6a5c847c31a (diff) | |
download | linux-99b5bea04f0f0dc9e6278536a269e1f4795b73e1.tar.xz |
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: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/pensando/ionic/ionic_lif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/pensando/ionic/ionic_lif.c b/drivers/net/ethernet/pensando/ionic/ionic_lif.c index 8cf6477b9899..eae774c0a2d9 100644 --- a/drivers/net/ethernet/pensando/ionic/ionic_lif.c +++ b/drivers/net/ethernet/pensando/ionic/ionic_lif.c @@ -135,7 +135,7 @@ static void ionic_link_status_check(struct ionic_lif *lif) if (netdev->flags & IFF_UP && netif_running(netdev)) { mutex_lock(&lif->queue_lock); err = ionic_start_queues(lif); - if (err) { + if (err && err != -EBUSY) { netdev_err(lif->netdev, "Failed to start queues: %d\n", err); set_bit(IONIC_LIF_F_BROKEN, lif->state); |