* [PATCH net-next] net: dsa: tag_netc: improve log printing in netc_rcv()
@ 2026-11-30 7:09 wei.fang
2026-12-04 5:00 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: wei.fang @ 2026-11-30 7:09 UTC (permalink / raw)
To: xiaoning.wang, andrew, olteanv, davem, edumazet, kuba, pabeni,
willemb, horms
Cc: wei.fang, imx, netdev
From: Wei Fang <wei.fang@nxp.com>
When ENETC VFs are enabled, VFs send some broadcast frames, which are
forwarded back to the CPU via the NETC switch. However, the VEPA switch
are not currently supported, so these broadcast frames are dropped and
a related log is printed. Continuously printing the log is pointless and
can be annoying to users, so the log is changed to output only once.
Signed-off-by: Wei Fang <wei.fang@nxp.com>
---
net/dsa/tag_netc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/dsa/tag_netc.c b/net/dsa/tag_netc.c
index c1c0ffee75c1..9e637d0710b3 100644
--- a/net/dsa/tag_netc.c
+++ b/net/dsa/tag_netc.c
@@ -282,8 +282,8 @@ static struct sk_buff *netc_rcv(struct sk_buff *skb,
sw_id = FIELD_GET(NETC_TAG_SWITCH, tag_cmn->switch_port);
/* ENETC VEPA switch ID (0) is not supported yet */
if (!sw_id) {
- dev_warn_ratelimited(&ndev->dev,
- "VEPA switch ID is not supported yet\n");
+ dev_info_once(&ndev->dev,
+ "VEPA switch ID is not supported yet\n");
goto err_free_skb;
}
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] net: dsa: tag_netc: improve log printing in netc_rcv()
2026-11-30 7:09 [PATCH net-next] net: dsa: tag_netc: improve log printing in netc_rcv() wei.fang
@ 2026-12-04 5:00 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2026-12-04 5:00 UTC (permalink / raw)
To: Wei Fang
Cc: xiaoning.wang, andrew, olteanv, davem, edumazet, kuba, pabeni,
willemb, horms, wei.fang, imx, netdev
Hello:
This patch was applied to netdev/net-next.git (main)
by Willem de Bruijn <willemb@google.com>:
On Mon, 30 Nov 2026 15:09:19 +0800 you wrote:
> From: Wei Fang <wei.fang@nxp.com>
>
> When ENETC VFs are enabled, VFs send some broadcast frames, which are
> forwarded back to the CPU via the NETC switch. However, the VEPA switch
> are not currently supported, so these broadcast frames are dropped and
> a related log is printed. Continuously printing the log is pointless and
> can be annoying to users, so the log is changed to output only once.
>
> [...]
Here is the summary with links:
- [net-next] net: dsa: tag_netc: improve log printing in netc_rcv()
https://git.kernel.org/netdev/net-next/c/4d1af9c75976
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-12-04 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30 7:09 [PATCH net-next] net: dsa: tag_netc: improve log printing in netc_rcv() wei.fang
2026-12-04 5:00 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox