Thread (3 messages) flat view 3 messages, 2 authors, 2025-08-22

Re: [PATCH net-next] net: dlink: fix multicast stats being counted incorrectly

From: Andrew Lunn <andrew@lunn.ch>
Date: 2025-08-22 00:23:30
Also in: lkml

On Thu, Aug 21, 2025 at 08:42:53PM +0900, Yeounsu Moon wrote:
`McstFramesRcvdOk` counts the number of received multicast packets, and
it reports the value correctly.

However, reading `McstFramesRcvdOk` clears the register to zero. As a
result, the driver was reporting only the packets since the last read,
instead of the accumulated total.

Fix this by updating the multicast statistics accumulatively instaed of
instantaneously.
This looks like a fix. Please could you add a Fixes: tag and submit to
net.

https://www.kernel.org/doc/html/latest/process/maintainer-netdev.html


    Andrew

---
pw-bot: cr
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help