public inbox for dev@dpdk.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: Zhanibek Bakin <zhanibek.bakin@gmail.com>
Cc: dev@dpdk.org, mtetsuyah@gmail.com, stable@dpdk.org
Subject: Re: [PATCH] net/null: fix Tx statistics accumulation
Date: Thu, 29 Jan 2026 12:17:27 -0800	[thread overview]
Message-ID: <20260129121727.23c60947@phoenix.local> (raw)
In-Reply-To: <20260129090312.98636-1-zhanibek.bakin@gmail.com>

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.

  reply	other threads:[~2026-01-29 20:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-29  9:03 [PATCH] net/null: fix Tx statistics accumulation Zhanibek Bakin
2026-01-29 20:17 ` Stephen Hemminger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-01-29  8:51 Zhanibek Bakin

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=20260129121727.23c60947@phoenix.local \
    --to=stephen@networkplumber.org \
    --cc=dev@dpdk.org \
    --cc=mtetsuyah@gmail.com \
    --cc=stable@dpdk.org \
    --cc=zhanibek.bakin@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox