aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Kerr <[email protected]>2025-05-26 02:44:33 +0000
committerJakub Kicinski <[email protected]>2025-05-28 00:23:19 +0000
commit126cd7852a62c6fab11a4a4cb6fa96421929ab69 (patch)
tree9003ec313267ff18b3935dc5f4bc4153125228c5
parentnet/mlx5: Add error handling in mlx5_query_nic_vport_node_guid() (diff)
downloadkernel-126cd7852a62c6fab11a4a4cb6fa96421929ab69.tar.gz
kernel-126cd7852a62c6fab11a4a4cb6fa96421929ab69.zip
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]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
-rw-r--r--drivers/net/mctp/mctp-usb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/mctp/mctp-usb.c b/drivers/net/mctp/mctp-usb.c
index e8d4b01c3f34..775a386d0aca 100644
--- a/drivers/net/mctp/mctp-usb.c
+++ b/drivers/net/mctp/mctp-usb.c
@@ -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);
}