Thread (4 messages) 4 messages, 4 authors, 2026-06-03

Re: [PATCH v3] net: stmmac: Improve Tx timer arm logic further

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-06-03 02:30:26
Also in: linux-arm-kernel, lkml

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski [off-list ref]:

On Thu, 28 May 2026 23:46:59 -0700 you wrote:
From: Nazim Amirul <redacted>

Calling hrtimer_start() on an already-active txtimer is unnecessary
and expensive. Skip the restart if the timer is already active by
adding an hrtimer_active() check before hrtimer_start().

Previously, each packet reset the timer to tx_coal_timer in the future,
acting as a sliding window that delayed NAPI under burst traffic. With
this change, an already-active timer is left to fire sooner, scheduling
NAPI within tx_coal_timer of the first packet and freeing TX descriptors
earlier.

[...]
Here is the summary with links:
  - [v3] net: stmmac: Improve Tx timer arm logic further
    https://git.kernel.org/netdev/net-next/c/edceeba4af3d

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help