Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by Nicolai Buchwitz
Fri, 06 Nov 2026 14:02
Re: [PATCH net v2] octeontx2-af: skip NPC_AF_MATCH_STATX access on cn20k
Author: Nicolai Buchwitz
Date: Fri, 06 Nov 2026 14:02
Date: Fri, 06 Nov 2026 14:02
34 lines
9657 bytes
9657 bytes
Hi Vadluri
On 3.11.2026 10:18, Vadluri Mukunda wrote:
> From: Subbaraya Sundeep <sbhatta@marvell.com>
>
> NPC_AF_MATCH_STATX is not present on cn20k silicon, and cn20k does
> not set up an RX miss action counter. Two paths still access it:
> the npc_delete_flow mailbox, which reads the counter of the deleted
> rule, and the rx_miss_act_stats debugfs file, which would read
> counter 0. Avoid the access on cn20k. Counter support for cn20k is
> left for later.
>
> Found by code inspection. The issue was not triggered on hardware.
> Compile tested only; not tested on real hardware.
What does the read do on cn20k, fault or just return garbage? If it
is only the latter, with the recent discussion about routing
non-critical fixes through net-next, this looks like net-next
material to me?
>
> Fixes: 4e527f1e5c15 ("octeontx2-af: npc: cn20k: Add new mailboxes for
> CN20K silicon")
> Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
> Signed-off-by: Vadluri Mukunda <vmukunda@marvell.com>
> ---
> [...]
Reviewed-by: Nicolai Buchwitz <nb@tipi-net.de>
Thanks,
Nicolai
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads