All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] vmxnet3: do not stop tx queues after netif_device_detach()
@ 2021-10-26 21:50 Dongli Zhang
  2021-10-28 12:00 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Dongli Zhang @ 2021-10-26 21:50 UTC (permalink / raw)
  To: pv-drivers, netdev; +Cc: doshir, davem, kuba, linux-kernel

The netif_device_detach() conditionally stops all tx queues if the queues
are running. There is no need to call netif_tx_stop_all_queues() again.

Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com>
---
While I do not have vmware env, I did test with QEMU + vmxnet3.

 drivers/net/vmxnet3/vmxnet3_drv.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/vmxnet3/vmxnet3_drv.c b/drivers/net/vmxnet3/vmxnet3_drv.c
index 142f70670f5c..8799854bacb2 100644
--- a/drivers/net/vmxnet3/vmxnet3_drv.c
+++ b/drivers/net/vmxnet3/vmxnet3_drv.c
@@ -3833,7 +3833,6 @@ vmxnet3_suspend(struct device *device)
 	vmxnet3_free_intr_resources(adapter);
 
 	netif_device_detach(netdev);
-	netif_tx_stop_all_queues(netdev);
 
 	/* Create wake-up filters. */
 	pmConf = adapter->pm_conf;
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] vmxnet3: do not stop tx queues after netif_device_detach()
  2021-10-26 21:50 [PATCH 1/1] vmxnet3: do not stop tx queues after netif_device_detach() Dongli Zhang
@ 2021-10-28 12:00 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-10-28 12:00 UTC (permalink / raw)
  To: Dongli Zhang; +Cc: pv-drivers, netdev, doshir, davem, kuba, linux-kernel

Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller <davem@davemloft.net>:

On Tue, 26 Oct 2021 14:50:31 -0700 you wrote:
> The netif_device_detach() conditionally stops all tx queues if the queues
> are running. There is no need to call netif_tx_stop_all_queues() again.
> 
> Signed-off-by: Dongli Zhang <dongli.zhang@oracle.com>
> ---
> While I do not have vmware env, I did test with QEMU + vmxnet3.
> 
> [...]

Here is the summary with links:
  - [1/1] vmxnet3: do not stop tx queues after netif_device_detach()
    https://git.kernel.org/netdev/net/c/9159f102402a

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-28 12:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-26 21:50 [PATCH 1/1] vmxnet3: do not stop tx queues after netif_device_detach() Dongli Zhang
2021-10-28 12:00 ` patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.