From: Sasha Levin <sashal@kernel.org>
To: stable@vger.kernel.org
Cc: Sasha Levin <sashal@kernel.org>
Subject: Re: [PATCH 6.15.y] net: libwx: fix multicast packets received count
Date: Wed, 23 Jul 2025 00:33:37 -0400 [thread overview]
Message-ID: <1753233710-fb85e40d@stable.kernel.org> (raw)
In-Reply-To: <29E146077CD96A7C+20250722060931.8347-1-jiawenwu@trustnetic.com>
[ Sasha's backport helper bot ]
Hi,
✅ All tests passed successfully. No issues detected.
No action required from the submitter.
The upstream commit SHA1 provided is correct: 2b30a3d1ec2538a1fd363fde746b9fe1d38abc77
Note: The patch differs from the upstream commit:
---
1: 2b30a3d1ec25 ! 1: 6e1996610381 net: libwx: fix multicast packets received count
@@ Metadata
## Commit message ##
net: libwx: fix multicast packets received count
+ commit 2b30a3d1ec2538a1fd363fde746b9fe1d38abc77 upstream.
+
Multicast good packets received by PF rings that pass ethternet MAC
address filtering are counted for rtnl_link_stats64.multicast. The
counter is not cleared on read. Fix the duplicate counting on updating
@@ drivers/net/ethernet/wangxun/libwx/wx_hw.c: void wx_update_stats(struct wx *wx)
+ /* qmprc is not cleared on read, manual reset it */
+ hwstats->qmprc = 0;
- for (i = wx->num_vfs * wx->num_rx_queues_per_pool;
- i < wx->mac.max_rx_queues; i++)
+ for (i = 0; i < wx->mac.max_rx_queues; i++)
hwstats->qmprc += rd32(wx, WX_PX_MPRC(i));
+ }
---
Results of testing on various branches:
| Branch | Patch Apply | Build Test |
|---------------------------|-------------|------------|
| origin/linux-6.15.y | Success | Success |
prev parent reply other threads:[~2025-07-23 4:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-21 11:01 FAILED: patch "[PATCH] net: libwx: fix multicast packets received count" failed to apply to 6.15-stable tree gregkh
2025-07-22 2:01 ` [PATCH 6.15.y] net: libwx: fix multicast packets received count Jiawen Wu
2025-07-22 5:37 ` Greg KH
2025-07-23 4:34 ` Sasha Levin
2025-07-22 6:09 ` Jiawen Wu
2025-07-23 4:33 ` Sasha Levin [this message]
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=1753233710-fb85e40d@stable.kernel.org \
--to=sashal@kernel.org \
--cc=stable@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.