Re: [PATCH net v3] net: ntb_netdev: Fix statistics races

From: patchwork-bot+netdevbpf

Date: Mon Aug 31 2026 - 23:31:17 EST


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Mon, 31 Aug 2026 00:16:17 +0900 you wrote:
> ntb_netdev updates shared net_device stats from per-QP RX and TX
> callbacks. Once multiple queues are enabled, concurrent updates can be
> lost.
>
> Use per-CPU tstats for packet and byte counters and DEV_STATS_INC() for
> less frequent drop and error counters. Callbacks can run synchronously
> in the xmit path or asynchronously from a tasklet or the memcpy kthread.
> Pin TX updates against migration in the kthread path. Use the IRQ-safe
> u64_stats helpers because netpoll can invoke the synchronous path with
> IRQs disabled.
>
> [...]

Here is the summary with links:
- [net,v3] net: ntb_netdev: Fix statistics races
https://git.kernel.org/netdev/net/c/545b63503c69

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