mbox series

[v5,net-next,0/3] Knobs for NPC default rule counters

Message ID 20241105125620.2114301-1-lcherian@marvell.com (mailing list archive)
Headers show
Series Knobs for NPC default rule counters | expand

Message

Linu Cherian Nov. 5, 2024, 12:56 p.m. UTC
Changelog from v4:
- Minor code refactoring to make the code more readable
- Make documentation more clear about the counter usage, behaviour when
  counter resources are not available, definition for default rules. 

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.

V4 is posted here,
https://lore.kernel.org/netdev/20241029035739.1981839-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 documentation for OcteonTx2 AF

 .../networking/devlink/octeontx2.rst          |  21 +++
 .../net/ethernet/marvell/octeontx2/af/rvu.h   |   8 +-
 .../marvell/octeontx2/af/rvu_devlink.c        |  32 +++++
 .../ethernet/marvell/octeontx2/af/rvu_npc.c   | 132 ++++++++++++++++--
 .../marvell/octeontx2/af/rvu_npc_fs.c         |  36 ++---
 5 files changed, 190 insertions(+), 39 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Nov. 11, 2024, 10:20 p.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Tue, 5 Nov 2024 18:26:17 +0530 you wrote:
> Changelog from v4:
> - Minor code refactoring to make the code more readable
> - Make documentation more clear about the counter usage, behaviour when
>   counter resources are not available, definition for default rules.
> 
> Changelog from v3:
> Add documentation for the new devlink param as well as the existing
> ones.
> 
> [...]

Here is the summary with links:
  - [v5,net-next,1/3] octeontx2-af: Refactor few NPC mcam APIs
    https://git.kernel.org/netdev/net-next/c/ca122473ebca
  - [v5,net-next,2/3] octeontx2-af: Knobs for NPC default rule counters
    https://git.kernel.org/netdev/net-next/c/70a7434bdb13
  - [v5,net-next,3/3] devlink: Add documentation for OcteonTx2 AF
    https://git.kernel.org/netdev/net-next/c/46799a41d292

You are awesome, thank you!