Re: [PATCH] net/null: fix Tx statistics accumulation

Stephen Hemminger
2026-01-29T20:17:35Z

On Thu, 29 Jan 2026 14:03:12 +0500
Zhanibek Bakin <zhanibek.bakin@gmail.com> wrote:

> The eth_stats_get() function incorrectly uses assignment (=) instead
> of accumulation (+=) for opackets and obytes in the TX queue loop.
> This causes only the last TX queue's statistics to be reported,
> while the RX side correctly uses +=.
>
> Fixes: 31326ce7f151 ("net/null: count all queues")
> Cc: stable@dpdk.org
>
> Signed-off-by: Zhanibek Bakin <zhanibek.bakin@gmail.com>
> ---
> v2: Fixed Fixes tag to use 12-character hash
> ---

Looks good, queued to next-net.