Skip to contentSkip to conversation

net: mctp: start tx queue on netdev open

PATCH Applied Jeremy Kerr 2 participants 2 messages May 26, 2025 – May 28, 2025

Subsystems (3)
lore
Share & tools
lore

Jeremy Kerr

author maintainer
#0 lore raw

PATCH 1/1 net: mctp: start tx queue on netdev open

We stop queues in ndo_stop, so they need to be restarted in ndo_open. This allows us to resume tx after a link down/up cycle.

Fixes 0791c0327a6e ("net: mctp: Add MCTP USB transport driver")
---
 drivers/net/mctp/mctp-usb.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/net/mctp/mctp-usb.c +2 -0
index e8d4b01c3f34588fb8df97e550f35708c6582344..775a386d0aca1242e5d3c8a750c1d0825341caa6 100644
@@ -257,6 +257,8 @@ static int mctp_usb_open(struct net_device *dev)
 
 	WRITE_ONCE(mctp_usb->stopped, false);
 
+	netif_start_queue(dev);
+
 	return mctp_usb_rx_queue(mctp_usb, GFP_KERNEL);
 }
 

---
base-commit: 5cdb2c77c4c3d36bdee83d9231649941157f8204
change-id: 20250526-dev-mctp-usb-9c2f4ed33302

Best regards,

Signature · 1 line
Jeremy Kerr <[email protected]>
#1 lore raw
This patch was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <[email protected]>:

Quoted 8 lines · On Mon, 26 May 2025 10:44:33 +0800 you wrote:

We stop queues in ndo_stop, so they need to be restarted in ndo_open. This allows us to resume tx after a link down/up cycle.

Fixes 0791c0327a6e ("net: mctp: Add MCTP USB transport driver")

[...]

Here is the summary with links:
- [net] net: mctp: start tx queue on netdev open

    https://git.kernel.org/netdev/net/c/126cd7852a62

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html