mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ratheesh Kannoth <rkannoth@marvell.com>
To: <linux-kernel@vger.kernel.org>, <netdev@vger.kernel.org>
Cc: <andrew+netdev@lunn.ch>, <davem@davemloft.net>,
	<edumazet@google.com>, <kuba@kernel.org>, <pabeni@redhat.com>,
	<sgoutham@marvell.com>
Subject: Re: [PATCH v2 net-next] octeontx2-af: Add couple of mailbox support.
Date: Wed, 23 Sep 2026 09:29:31 +0530	[thread overview]
Message-ID: <arNOo2m2UV0R7AOZ@rkannoth-OptiPlex-7090> (raw)
In-Reply-To: <20260923032816.1740106-1-rkannoth@marvell.com>

On 2026-09-23 at 08:58:16, Ratheesh Kannoth (rkannoth@marvell.com) wrote:
> Add IFACE_GET_INFO and NPC batch flow/stats/features handlers for the
> RVU switch PF, with synchronized NIX context and channel publishing.
>
>   IFACE_GET_INFO:           report PF/VF channel and queue topology
>   NPC_MCAM_FLOW_DEL_N_FREE: delete flows and free MCAM entries in bulk
>   NPC_MCAM_GET_MUL_STATS:   read MCAM counter stats in bulk
>   NPC_MCAM_GET_FEATURES:    report supported MCAM features
>
> Rework NIX LF context memory publish and teardown so queue context
> pointers and bitmaps are assigned and cleared under the NIX admin queue
> lock.  Publish interface channel fields under rsrc_lock so IFACE_GET_INFO
> can read a consistent snapshot.
>
> Signed-off-by: Ratheesh Kannoth <rkannoth@marvell.com>
>
> ---
>
> v1 -> v2:
> - Drop SWDEV2AF_NOTIFY and the switch skeleton hooks from this patch;
>   keep the series focused on the AF mailbox handlers above.
> - Restrict IFACE_GET_INFO to the PAN RVU switch PF (rvu_is_switch_pcifunc())
>   and return -EPERM for other callers.
> - Hold rsrc_lock while building the IFACE_GET_INFO topology snapshot.
> - Publish and clear NIX interface channel fields under rsrc_lock.
> - Publish NIX LF queue context pointers and bitmaps under the admin queue
>   lock; propagate assign failures and free partial allocations on error.
> - Fix nix_get_tx_link() for representor and LBK VF devices.
> - Propagate NPC flow deletion failures from npc_delete_flow() and the
>   bulk delete/free handler; ratelimit bulk handler error logs.
> - Read NPC MCAM features under mcam->lock and clear mul-stats response
>   on entry verification failure.
>   https://lore.kernel.org/netdev/20260918050021.1359606-1-rkannoth@marvell.com/

Please ignore this version as it was sent with an incorrect commit message and changelog.
Apologies for the noise.

pw-bot: changes-requested

  reply	other threads:[~2026-09-23  3:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-23  3:28 Ratheesh Kannoth
2026-09-23  3:59 ` Ratheesh Kannoth [this message]
2026-09-24  2:44 Ratheesh Kannoth
2026-09-28  3:01 ` netdev-bot+sashiko

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=arNOo2m2UV0R7AOZ@rkannoth-OptiPlex-7090 \
    --to=rkannoth@marvell.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.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®