netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 net-next 0/2] Knobs for NPC default rule counters
@ 2024-10-17  8:42 Linu Cherian
  2024-10-17  8:42 ` [PATCH v3 net-next 1/2] octeontx2-af: Refactor few NPC mcam APIs Linu Cherian
  2024-10-17  8:42 ` [PATCH v3 net-next 2/2] octeontx2-af: Knobs for NPC default rule counters Linu Cherian
  0 siblings, 2 replies; 8+ messages in thread
From: Linu Cherian @ 2024-10-17  8:42 UTC (permalink / raw)
  To: davem, sgoutham, netdev, linux-kernel
  Cc: gakula, hkelam, sbhatta, jerinj, edumazet, kuba, pabeni,
	Linu Cherian

Changelog from v2:
Split the patch into 2 as suggested by Simon.

Changelog from v1:
Removed wrong mutex_unlock invocations.


V2 is posted here,
https://lore.kernel.org/netdev/20240912161450.164402-2-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 be read from the debugfs files 


Linu Cherian (2):
  octeontx2-af: Refactor few NPC mcam APIs
  octeontx2-af: Knobs for NPC default rule counters

 .../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 ++---
 4 files changed, 171 insertions(+), 39 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-10-24  9:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-17  8:42 [PATCH v3 net-next 0/2] Knobs for NPC default rule counters Linu Cherian
2024-10-17  8:42 ` [PATCH v3 net-next 1/2] octeontx2-af: Refactor few NPC mcam APIs Linu Cherian
2024-10-18 11:58   ` Simon Horman
2024-10-17  8:42 ` [PATCH v3 net-next 2/2] octeontx2-af: Knobs for NPC default rule counters Linu Cherian
2024-10-18  3:09   ` Kalesh Anakkur Purayil
2024-10-24  9:49     ` Linu Cherian
2024-10-18 12:01   ` Simon Horman
2024-10-24  9:50     ` Linu Cherian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).