Thread (17 messages) 17 messages, 3 authors, 9d ago

Re: [PATCH v16 net-next 1/9] octeontx2-af: npc: cn20k: debugfs enhancements

From: Jakub Kicinski <kuba@kernel.org>
Date: 2026-05-25 20:59:46
Also in: linux-rdma, lkml

On Thu, 21 May 2026 15:22:55 +0530 Ratheesh Kannoth wrote:
Improve MCAM visibility and field debugging for CN20K NPC.

- Extend "mcam_layout" to show enabled (+) or disabled state per entry
  so status can be verified without parsing the full "mcam_entry" dump.
- Add "dstats" debugfs entry: reports recently hit MCAM indices with
  packet counts; stats are cleared on read so each read shows deltas.
- Add "mismatch" debugfs entry: lists MCAM entries that are enabled
  but not explicitly allocated, helping diagnose allocation/field issues.
debugfs file which clears state seems quite odd.
Does any user need this?
This looks like a crutch for badly written tests TBH.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help