ionic: no link check while resetting queues
authorShannon Nelson <snelson@pensando.io>
Tue, 16 Jun 2020 01:14:59 +0000 (18:14 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Jul 2020 07:34:28 +0000 (09:34 +0200)
commit1c547524c9d0c6fbc42f8133ea7ed26b0253a41b
tree063b0149b55cd763c94293c5849e3c382ee03bf3
parente59515ce46a9af79dbf0e5b4bef6f04fc697aebb
ionic: no link check while resetting queues

commit 3103b6feb4454646558eedc50ece728bc469f341 upstream.

If the driver is busy resetting queues after a change in
MTU or queue parameters, don't bother checking the link,
wait until the next watchdog cycle.

Fixes: 987c0871e8ae ("ionic: check for linkup in watchdog")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Acked-by: Jonathan Toppins <jtoppins@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/pensando/ionic/ionic_lif.c