Changelog from v3:
Add documentation for the new devlink param as well as the existing
ones.
Changelog from v2:
Split the patch into 2 as suggested by Simon.
Changelog from v1:
Removed wrong mutex_unlock invocations.
V3 is posted here,
https://lore.kernel.org/netdev/20241017084244.1654907-1-lcherian@marvell.com/
Patch 1 introduce _rvu_mcam_remove/add_counter_from/to_rule
by refactoring existing code
Patch 2 adds a devlink param to enable/disable counters for default
rules. Once enabled, counters can
Patch 3 adds documentation for devlink params
Linu Cherian (3):
octeontx2-af: Refactor few NPC mcam APIs
octeontx2-af: Knobs for NPC default rule counters
devlink: Add documenation for OcteonTx2 AF
.../networking/devlink/octeontx2.rst | 16 +++
.../net/ethernet/marvell/octeontx2/af/rvu.h | 8 +-
.../marvell/octeontx2/af/rvu_devlink.c | 32 +++++
.../ethernet/marvell/octeontx2/af/rvu_npc.c | 134 ++++++++++++++++--
.../marvell/octeontx2/af/rvu_npc_fs.c | 36 ++---
5 files changed, 187 insertions(+), 39 deletions(-)
--
2.34.1