ionic: block some ethtool operations when fw in reset
authorShannon Nelson <snelson@pensando.io>
Tue, 27 Jul 2021 17:43:32 +0000 (10:43 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Jul 2021 19:15:22 +0000 (20:15 +0100)
commitf5123686773660505d8dbc834b304212918f3106
treec12fca7826a74f356149e922dee07a6c7fece0e0
parenta1cda1844bee5fda96cd06f958c4aaf8285f18d5
ionic: block some ethtool operations when fw in reset

There are a few things that we can't safely do when the fw is
resetting, as the driver may be in the middle of rebuilding
queue structures.

Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_ethtool.c