]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit43ad04ea45f0dbe2b96cea102117b81667c1acda
treec12fca7826a74f356149e922dee07a6c7fece0e0
parent6faa8c00fad814fb0a8d269b61f361b090611c40
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