From: patchwork-bot+netdevbpf@kernel.org
To: shashank Jain <jain.sm@gmail.com>
Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
pabeni@redhat.com, netdev@vger.kernel.org, horms@kernel.org,
talgi@nvidia.com, saeedm@nvidia.com, tariqt@nvidia.com,
akpm@linux-foundation.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH net 0/2] lib/dim: fix 32-bit overflow in dim_calc_stats()
Date: Fri, 02 Oct 2026 07:20:05 +0000 [thread overview]
Message-ID: <179092560553.3252757.15314199438024209993.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20260927051743.71460-1-jain.sm@gmail.com>
Hello:
This series was applied to netdev/net.git (main)
by David S. Miller <davem@davemloft.net>:
On Sun, 27 Sep 2026 10:47:41 +0530 you wrote:
> On 32-bit kernels dim_calc_stats() multiplies the u32 byte, packet and
> completion counts of a DIM window by USEC_PER_MSEC (1000L) in 32-bit
> long arithmetic. Once a window carries more than about 4.3 MB, bpms
> wraps, and net_dim steers interrupt moderation on a meaningless
> throughput value. At 1 Gbit/s line rate a 64-event window passes that
> size when there are fewer than about 1,860 DIM events per second,
> which is common while NAPI keeps the interrupt masked under load.
> 32-bit users of the library include mtk_eth_soc (MT7621, MT7623),
> bcmgenet and bcmsysport on 32-bit ARM, xilinx_axienet on Zynq-7000 and
> MicroBlaze, and virtio_net in 32-bit guests. The overflow goes back to
> the mlx5e code the library was moved from.
>
> [...]
Here is the summary with links:
- [net,1/2] lib/dim: fix 32-bit overflow in dim_calc_stats() rates
https://git.kernel.org/netdev/net/c/0843b2389064
- [net,2/2] lib/dim: add KUnit test for dim_calc_stats()
https://git.kernel.org/netdev/net/c/636035157a81
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2026-10-02 7:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-27 5:17 [PATCH net 0/2] lib/dim: fix 32-bit overflow in dim_calc_stats() Shashank Mohan Jain
2026-09-27 5:17 ` [PATCH net 1/2] lib/dim: fix 32-bit overflow in dim_calc_stats() rates Shashank Mohan Jain
2026-09-30 8:49 ` Leon Romanovsky
2026-09-30 9:28 ` shashank Jain
2026-09-30 13:59 ` Leon Romanovsky
2026-09-27 5:17 ` [PATCH net 2/2] lib/dim: add KUnit test for dim_calc_stats() Shashank Mohan Jain
2026-10-02 7:20 ` patchwork-bot+netdevbpf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179092560553.3252757.15314199438024209993.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=akpm@linux-foundation.org \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=jain.sm@gmail.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=saeedm@nvidia.com \
--cc=talgi@nvidia.com \
--cc=tariqt@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.