[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <527355522.9591320.1763491519924@mail.yahoo.com>
Date: Tue, 18 Nov 2025 18:45:19 +0000 (UTC)
From: Mieczyslaw Nalewaj <namiltd@...oo.com>
To: Andrew Lunn <andrew@...n.ch>
Cc: Netdev <netdev@...r.kernel.org>,
"inus.walleij@...aro.org" <inus.walleij@...aro.org>,
"edumazet@...gle.com" <edumazet@...gle.com>,
"alsi@...g-olufsen.dk" <alsi@...g-olufsen.dk>,
"olteanv@...il.com" <olteanv@...il.com>,
"kuba@...nel.org" <kuba@...nel.org>,
"pabeni@...hat.com" <pabeni@...hat.com>,
"davem@...emloft.net" <davem@...emloft.net>
Subject: Re: [PATCH] net: dsa: realtek: rtl8365mb: Do not subtract
ifOutDiscards from rx_packets
I can't pinpoint the commit that caused this error. The file's history on GitHub starts on October 18, 2021, and this error is already occurring.
W wtorek, 18 listopada 2025 17:55:26 CET, Andrew Lunn <andrew@...n.ch> napisał(-a):
On Mon, Nov 17, 2025 at 11:58:48PM +0000, Mieczyslaw Nalewaj wrote:
> rx_packets should report the number of frames successfully received:
> unicast + multicast + broadcast. Subtracting ifOutDiscards (a TX
> counter) is incorrect and can undercount RX packets. RX drops are
> already reported via rx_dropped (e.g. etherStatsDropEvents), so
> there is no need to adjust rx_packets.
>
> This patch removes the subtraction of ifOutDiscards from rx_packets
> in rtl8365mb_stats_update().
It does look like a cut/paste error of some sort.
Please could you figure out a Fixes: tag, and submit this to net.
https://www.kernel.org/doc/html/latest/process/maintainer-netdev.html
Andrew
---
pw-bot: cr
Powered by blists - more mailing lists