]> git.baikalelectronics.ru Git - kernel.git/commit
ionic: tame the watchdog timer on reconfig
authorShannon Nelson <snelson@pensando.io>
Thu, 18 Jun 2020 17:29:04 +0000 (10:29 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 21 Jun 2020 00:26:33 +0000 (17:26 -0700)
commitb5b3e38bc17264954d97b35d6dbc4fb02ad0a656
tree1615dd1fa17931db59883071be8acf52c72f9148
parent79fb7665ef53603e184f95e53b66344f5a195947
ionic: tame the watchdog timer on reconfig

Even with moving netif_tx_disable() to an earlier point when
taking down the queues for a reconfiguration, we still end
up with the occasional netdev watchdog Tx Timeout complaint.
The old method of using netif_trans_update() works fine for
queue 0, but has no effect on the remaining queues.  Using
netif_device_detach() allows us to signal to the watchdog to
ignore us for the moment.

Fixes: 1c7e71712563 ("ionic: Add the basic NDO callbacks for netdev support")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Acked-by: Jonathan Toppins <jtoppins@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_lif.c