net: mctp: start tx queue on netdev open
Jeremy Kerr
maintainerPATCH 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.
Suggested-by Nitin Singh <[email protected]>
Fixes 0791c0327a6e ("net: mctp: Add MCTP USB transport driver")
Signed-off-by Jeremy Kerr <[email protected]>
--- drivers/net/mctp/mctp-usb.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/net/mctp/mctp-usb.c +2 -0
@@ -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]>
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 inndo_open. This allows us to resume tx after a link down/up cycle.Suggested-by Nitin Singh <[email protected]>Fixes 0791c0327a6e ("net: mctp: Add MCTP USB transport driver")Signed-off-by Jeremy Kerr <[email protected]>[...]
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