[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<173881023084.981335.713194550164586069.git-patchwork-notify@kernel.org>
Date: Thu, 06 Feb 2025 02:50:30 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Ido Schimmel <idosch@...dia.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, kuba@...nel.org,
pabeni@...hat.com, edumazet@...gle.com, horms@...nel.org,
amirva@...lanox.com, petrm@...dia.com, joe@...mic.ac
Subject: Re: [PATCH net] net: sched: Fix truncation of offloaded action statistics
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Tue, 4 Feb 2025 14:38:39 +0200 you wrote:
> In case of tc offload, when user space queries the kernel for tc action
> statistics, tc will query the offloaded statistics from device drivers.
> Among other statistics, drivers are expected to pass the number of
> packets that hit the action since the last query as a 64-bit number.
>
> Unfortunately, tc treats the number of packets as a 32-bit number,
> leading to truncation and incorrect statistics when the number of
> packets since the last query exceeds 0xffffffff:
>
> [...]
Here is the summary with links:
- [net] net: sched: Fix truncation of offloaded action statistics
https://git.kernel.org/netdev/net/c/811b8f534fd8
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists