mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Linu Cherian <lcherian@marvell.com>
To: <davem@davemloft.net>, <sgoutham@marvell.com>,
	<netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Cc: <gakula@marvell.com>, <hkelam@marvell.com>, <sbhatta@marvell.com>,
	<jerinj@marvell.com>, <edumazet@google.com>, <kuba@kernel.org>,
	<pabeni@redhat.com>, Linu Cherian <lcherian@marvell.com>
Subject: [PATCH v5 net-next 0/3] Knobs for NPC default rule counters
Date: Tue, 5 Nov 2024 18:26:17 +0530	[thread overview]
Message-ID: <20241105125620.2114301-1-lcherian@marvell.com> (raw)

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(-)

-- 
2.34.1


             reply	other threads:[~2024-11-05 12:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-05 12:56 Linu Cherian [this message]
2024-11-05 12:56 ` [PATCH v5 net-next 1/3] octeontx2-af: Refactor few NPC mcam APIs Linu Cherian
2024-11-05 12:56 ` [PATCH v5 net-next 2/3] octeontx2-af: Knobs for NPC default rule counters Linu Cherian
2024-11-05 12:56 ` [PATCH v5 net-next 3/3] devlink: Add documentation for OcteonTx2 AF Linu Cherian
2024-11-11 22:20 ` [PATCH v5 net-next 0/3] Knobs for NPC default rule counters patchwork-bot+netdevbpf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241105125620.2114301-1-lcherian@marvell.com \
    --to=lcherian@marvell.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=gakula@marvell.com \
    --cc=hkelam@marvell.com \
    --cc=jerinj@marvell.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=sbhatta@marvell.com \
    --cc=sgoutham@marvell.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®