* [PATCH v2] net: usb: r8152: fix transmit queue timeout
@ 2026-01-20 1:59 Mingj Ye
2026-01-20 2:49 ` Hayes Wang
2026-01-21 2:40 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 9+ messages in thread
From: Mingj Ye @ 2026-01-20 1:59 UTC (permalink / raw)
To: andrew+netdev, davem, nic_swsd, tiwai
Cc: hayeswang, linux-usb, netdev, linux-kernel, Mingj Ye
When the TX queue length reaches the threshold, the netdev watchdog
immediately detects a TX queue timeout.
This patch updates the trans_start timestamp of the transmit queue
on every asynchronous USB URB submission along the transmit path,
ensuring that the network watchdog accurately reflects ongoing
transmission activity.
Signed-off-by: Mingj Ye <insyelu@gmail.com>
---
v2: Update the transmit timestamp when submitting the USB URB.
---
drivers/net/usb/r8152.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c
index fa5192583860..880b59ed5422 100644
--- a/drivers/net/usb/r8152.c
+++ b/drivers/net/usb/r8152.c
@@ -2449,6 +2449,8 @@ static int r8152_tx_agg_fill(struct r8152 *tp, struct tx_agg *agg)
ret = usb_submit_urb(agg->urb, GFP_ATOMIC);
if (ret < 0)
usb_autopm_put_interface_async(tp->intf);
+ else
+ netif_trans_update(tp->netdev);
out_tx_fill:
return ret;
--
2.34.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* RE: [PATCH v2] net: usb: r8152: fix transmit queue timeout
2026-01-20 1:59 [PATCH v2] net: usb: r8152: fix transmit queue timeout Mingj Ye
@ 2026-01-20 2:49 ` Hayes Wang
2026-01-21 2:40 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 9+ messages in thread
From: Hayes Wang @ 2026-01-20 2:49 UTC (permalink / raw)
To: Mingj Ye, andrew+netdev@lunn.ch, davem@davemloft.net, nic_swsd,
tiwai@suse.de
Cc: linux-usb@vger.kernel.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
> From: Mingj Ye <insyelu@gmail.com>
> Sent: Tuesday, January 20, 2026 10:00 AM
[...]
> When the TX queue length reaches the threshold, the netdev watchdog
> immediately detects a TX queue timeout.
>
> This patch updates the trans_start timestamp of the transmit queue
> on every asynchronous USB URB submission along the transmit path,
> ensuring that the network watchdog accurately reflects ongoing
> transmission activity.
>
> Signed-off-by: Mingj Ye <insyelu@gmail.com>
> ---
> v2: Update the transmit timestamp when submitting the USB URB.
Reviewed-by: Hayes Wang <hayeswang@realtek.com>
Best Regards,
Hayes
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v2] net: usb: r8152: fix transmit queue timeout
2026-01-20 1:59 [PATCH v2] net: usb: r8152: fix transmit queue timeout Mingj Ye
2026-01-20 2:49 ` Hayes Wang
@ 2026-01-21 2:40 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 9+ messages in thread
From: patchwork-bot+netdevbpf @ 2026-01-21 2:40 UTC (permalink / raw)
To: Mingj Ye
Cc: andrew+netdev, davem, nic_swsd, tiwai, hayeswang, linux-usb,
netdev, linux-kernel
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Tue, 20 Jan 2026 09:59:49 +0800 you wrote:
> When the TX queue length reaches the threshold, the netdev watchdog
> immediately detects a TX queue timeout.
>
> This patch updates the trans_start timestamp of the transmit queue
> on every asynchronous USB URB submission along the transmit path,
> ensuring that the network watchdog accurately reflects ongoing
> transmission activity.
>
> [...]
Here is the summary with links:
- [v2] net: usb: r8152: fix transmit queue timeout
https://git.kernel.org/netdev/net-next/c/833dcd75d54f
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] 9+ messages in thread
* [PATCH v2] net: usb: r8152: fix transmit queue timeout
@ 2026-01-19 10:56 insyelu
2026-01-19 11:07 ` Greg KH
0 siblings, 1 reply; 9+ messages in thread
From: insyelu @ 2026-01-19 10:56 UTC (permalink / raw)
To: andrew+netdev, davem, nic_swsd, tiwai
Cc: hayeswang, linux-usb, netdev, linux-kernel, insyelu
When the TX queue length reaches the threshold, the netdev watchdog
immediately detects a TX queue timeout.
This patch updates the trans_start timestamp of the transmit queue
on every asynchronous USB URB submission along the transmit path,
ensuring that the network watchdog accurately reflects ongoing
transmission activity.
Signed-off-by: insyelu <insyelu@gmail.com>
---
v2: Update the transmit timestamp when submitting the USB URB.
---
drivers/net/usb/r8152.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c
index fa5192583860..880b59ed5422 100644
--- a/drivers/net/usb/r8152.c
+++ b/drivers/net/usb/r8152.c
@@ -2449,6 +2449,8 @@ static int r8152_tx_agg_fill(struct r8152 *tp, struct tx_agg *agg)
ret = usb_submit_urb(agg->urb, GFP_ATOMIC);
if (ret < 0)
usb_autopm_put_interface_async(tp->intf);
+ else
+ netif_trans_update(tp->netdev);
out_tx_fill:
return ret;
--
2.34.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH v2] net: usb: r8152: fix transmit queue timeout
2026-01-19 10:56 insyelu
@ 2026-01-19 11:07 ` Greg KH
0 siblings, 0 replies; 9+ messages in thread
From: Greg KH @ 2026-01-19 11:07 UTC (permalink / raw)
To: insyelu
Cc: andrew+netdev, davem, nic_swsd, tiwai, hayeswang, linux-usb,
netdev, linux-kernel
On Mon, Jan 19, 2026 at 06:56:47PM +0800, insyelu wrote:
> When the TX queue length reaches the threshold, the netdev watchdog
> immediately detects a TX queue timeout.
>
> This patch updates the trans_start timestamp of the transmit queue
> on every asynchronous USB URB submission along the transmit path,
> ensuring that the network watchdog accurately reflects ongoing
> transmission activity.
>
> Signed-off-by: insyelu <insyelu@gmail.com>
We need a real name please.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH v2] net: usb: r8152: fix transmit queue timeout
@ 2026-01-19 2:28 insyelu
2026-01-19 6:40 ` Greg KH
0 siblings, 1 reply; 9+ messages in thread
From: insyelu @ 2026-01-19 2:28 UTC (permalink / raw)
To: andrew+netdev, davem, nic_swsd, tiwai
Cc: hayeswang, linux-usb, netdev, linux-kernel, insyelu
When the TX queue length reaches the threshold, the netdev watchdog
immediately detects a TX queue timeout.
This patch updates the trans_start timestamp of the transmit queue
on every asynchronous USB URB submission along the transmit path,
ensuring that the network watchdog accurately reflects ongoing
transmission activity.
Signed-off-by: insyelu <insyelu@gmail.com>
---
v2: Update the transmit timestamp when submitting the USB URB.
---
drivers/net/usb/r8152.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c
index fa5192583860..880b59ed5422 100644
--- a/drivers/net/usb/r8152.c
+++ b/drivers/net/usb/r8152.c
@@ -2449,6 +2449,8 @@ static int r8152_tx_agg_fill(struct r8152 *tp, struct tx_agg *agg)
ret = usb_submit_urb(agg->urb, GFP_ATOMIC);
if (ret < 0)
usb_autopm_put_interface_async(tp->intf);
+ else
+ netif_trans_update(tp->netdev);
out_tx_fill:
return ret;
--
2.34.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH v2] net: usb: r8152: fix transmit queue timeout
2026-01-19 2:28 insyelu
@ 2026-01-19 6:40 ` Greg KH
0 siblings, 0 replies; 9+ messages in thread
From: Greg KH @ 2026-01-19 6:40 UTC (permalink / raw)
To: insyelu
Cc: andrew+netdev, davem, nic_swsd, tiwai, hayeswang, linux-usb,
netdev, linux-kernel
On Mon, Jan 19, 2026 at 10:28:02AM +0800, insyelu wrote:
> When the TX queue length reaches the threshold, the netdev watchdog
> immediately detects a TX queue timeout.
>
> This patch updates the trans_start timestamp of the transmit queue
> on every asynchronous USB URB submission along the transmit path,
> ensuring that the network watchdog accurately reflects ongoing
> transmission activity.
>
> Signed-off-by: insyelu <insyelu@gmail.com>
> ---
> v2: Update the transmit timestamp when submitting the USB URB.
> ---
> drivers/net/usb/r8152.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c
> index fa5192583860..880b59ed5422 100644
> --- a/drivers/net/usb/r8152.c
> +++ b/drivers/net/usb/r8152.c
> @@ -2449,6 +2449,8 @@ static int r8152_tx_agg_fill(struct r8152 *tp, struct tx_agg *agg)
> ret = usb_submit_urb(agg->urb, GFP_ATOMIC);
> if (ret < 0)
> usb_autopm_put_interface_async(tp->intf);
> + else
> + netif_trans_update(tp->netdev);
>
> out_tx_fill:
> return ret;
> --
> 2.34.1
>
>
Hi,
This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him
a patch that has triggered this response. He used to manually respond
to these common problems, but in order to save his sanity (he kept
writing the same thing over and over, yet to different people), I was
created. Hopefully you will not take offence and will fix the problem
in your patch and resubmit it so that it can be accepted into the Linux
kernel tree.
You are receiving this message because of the following common error(s)
as indicated below:
- It looks like you did not use your "real" name for the patch on either
the Signed-off-by: line, or the From: line (both of which have to
match). Please read the kernel file,
Documentation/process/submitting-patches.rst for how to do this
correctly.
If you wish to discuss this problem further, or you have questions about
how to resolve this issue, please feel free to respond to this email and
Greg will reply once he has dug out from the pending patches received
from other developers.
thanks,
greg k-h's patch email bot
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH] net: usb: r8152: fix transmit queue timeout
@ 2026-01-14 2:56 insyelu
2026-01-16 2:37 ` [PATCH v2] " insyelu
0 siblings, 1 reply; 9+ messages in thread
From: insyelu @ 2026-01-14 2:56 UTC (permalink / raw)
To: andrew+netdev, davem, nic_swsd, tiwai
Cc: hayeswang, linux-usb, netdev, linux-kernel, insyelu
When the TX queue length reaches the threshold, the netdev watchdog
immediately detects a TX queue timeout.
This patch updates the transmit queue's trans_start timestamp upon
completion of each asynchronous USB URB submission on the TX path,
ensuring the network watchdog correctly reflects ongoing transmission
activity.
Signed-off-by: insyelu <insyelu@gmail.com>
---
drivers/net/usb/r8152.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c
index fa5192583860..afec602a5fdb 100644
--- a/drivers/net/usb/r8152.c
+++ b/drivers/net/usb/r8152.c
@@ -1954,6 +1954,8 @@ static void write_bulk_callback(struct urb *urb)
if (!skb_queue_empty(&tp->tx_queue))
tasklet_schedule(&tp->tx_tl);
+
+ netif_trans_update(netdev);
}
static void intr_callback(struct urb *urb)
--
2.34.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH v2] net: usb: r8152: fix transmit queue timeout
2026-01-14 2:56 [PATCH] " insyelu
@ 2026-01-16 2:37 ` insyelu
2026-01-16 17:32 ` Andrew Lunn
0 siblings, 1 reply; 9+ messages in thread
From: insyelu @ 2026-01-16 2:37 UTC (permalink / raw)
To: andrew+netdev, davem, nic_swsd, tiwai
Cc: hayeswang, linux-usb, netdev, linux-kernel, insyelu
When the TX queue length reaches the threshold, the netdev watchdog
immediately detects a TX queue timeout.
This patch updates the trans_start timestamp of the transmit queue
on every asynchronous USB URB submission along the transmit path,
ensuring that the network watchdog accurately reflects ongoing
transmission activity.
Signed-off-by: insyelu <insyelu@gmail.com>
---
v2: Update the transmit timestamp when submitting the USB URB.
---
drivers/net/usb/r8152.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c
index fa5192583860..880b59ed5422 100644
--- a/drivers/net/usb/r8152.c
+++ b/drivers/net/usb/r8152.c
@@ -2449,6 +2449,8 @@ static int r8152_tx_agg_fill(struct r8152 *tp, struct tx_agg *agg)
ret = usb_submit_urb(agg->urb, GFP_ATOMIC);
if (ret < 0)
usb_autopm_put_interface_async(tp->intf);
+ else
+ netif_trans_update(tp->netdev);
out_tx_fill:
return ret;
--
2.34.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH v2] net: usb: r8152: fix transmit queue timeout
2026-01-16 2:37 ` [PATCH v2] " insyelu
@ 2026-01-16 17:32 ` Andrew Lunn
0 siblings, 0 replies; 9+ messages in thread
From: Andrew Lunn @ 2026-01-16 17:32 UTC (permalink / raw)
To: insyelu
Cc: andrew+netdev, davem, nic_swsd, tiwai, hayeswang, linux-usb,
netdev, linux-kernel
On Fri, Jan 16, 2026 at 10:37:25AM +0800, insyelu wrote:
> When the TX queue length reaches the threshold, the netdev watchdog
> immediately detects a TX queue timeout.
>
> This patch updates the trans_start timestamp of the transmit queue
> on every asynchronous USB URB submission along the transmit path,
> ensuring that the network watchdog accurately reflects ongoing
> transmission activity.
>
> Signed-off-by: insyelu <insyelu@gmail.com>
> ---
> v2: Update the transmit timestamp when submitting the USB URB.
Always create a new thread for a new version of a patch. The CI/CD
system just thinks this is a discussion comment, so has ignored it.
Andrew
---
pw-bot: cr
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2026-01-21 2:40 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-20 1:59 [PATCH v2] net: usb: r8152: fix transmit queue timeout Mingj Ye
2026-01-20 2:49 ` Hayes Wang
2026-01-21 2:40 ` patchwork-bot+netdevbpf
-- strict thread matches above, loose matches on Subject: below --
2026-01-19 10:56 insyelu
2026-01-19 11:07 ` Greg KH
2026-01-19 2:28 insyelu
2026-01-19 6:40 ` Greg KH
2026-01-14 2:56 [PATCH] " insyelu
2026-01-16 2:37 ` [PATCH v2] " insyelu
2026-01-16 17:32 ` Andrew Lunn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox