From: ALOK TIWARI <alok.a.tiwari@oracle.com>
To: Ratheesh Kannoth <rkannoth@marvell.com>,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
andrew+netdev@lunn.ch
Cc: sgoutham@marvell.com, davem@davemloft.net, edumazet@google.com,
kuba@kernel.org, pabeni@redhat.com
Subject: Re: [PATCH net-next v2 01/10] octeontx2-af: switch: Add AF to switch mbox and skeleton files
Date: Thu, 8 Jan 2026 14:32:33 +0530 [thread overview]
Message-ID: <ea4fc014-251c-4d5f-adc6-0e3aa562862a@oracle.com> (raw)
In-Reply-To: <20260107132408.3904352-2-rkannoth@marvell.com>
On 1/7/2026 6:53 PM, Ratheesh Kannoth wrote:
> The Marvell switch hardware runs on a Linux OS. This OS receives
> various messages, which are parsed to create flow rules that can be
> installed on HW. The switch is capable of accelerating both L2 and
> L3 flows.
>
> This commit adds various mailbox messages used by the Linux OS
> (on arm64) to send events to the switch hardware.
>
> fdb messages: Linux bridge FDB messages
> fib messages: Linux routing table messages
> status messages: Packet status updates sent to Host
> Linux to keep flows active
> for connection-tracked flows.
>
> Signed-off-by: Ratheesh Kannoth<rkannoth@marvell.com>
> ---
> .../ethernet/marvell/octeontx2/af/Makefile | 2 +
> .../net/ethernet/marvell/octeontx2/af/mbox.h | 95 +++++++++++++++++++
> .../marvell/octeontx2/af/switch/rvu_sw_fl.c | 21 ++++
> .../marvell/octeontx2/af/switch/rvu_sw_fl.h | 11 +++
> .../marvell/octeontx2/af/switch/rvu_sw_l2.c | 14 +++
> .../marvell/octeontx2/af/switch/rvu_sw_l2.h | 11 +++
> .../marvell/octeontx2/af/switch/rvu_sw_l3.c | 14 +++
> .../marvell/octeontx2/af/switch/rvu_sw_l3.h | 11 +++
> 8 files changed, 179 insertions(+)
> create mode 100644 drivers/net/ethernet/marvell/octeontx2/af/switch/rvu_sw_fl.c
> create mode 100644 drivers/net/ethernet/marvell/octeontx2/af/switch/rvu_sw_fl.h
> create mode 100644 drivers/net/ethernet/marvell/octeontx2/af/switch/rvu_sw_l2.c
> create mode 100644 drivers/net/ethernet/marvell/octeontx2/af/switch/rvu_sw_l2.h
> create mode 100644 drivers/net/ethernet/marvell/octeontx2/af/switch/rvu_sw_l3.c
> create mode 100644 drivers/net/ethernet/marvell/octeontx2/af/switch/rvu_sw_l3.h
>
> diff --git a/drivers/net/ethernet/marvell/octeontx2/af/Makefile b/drivers/net/ethernet/marvell/octeontx2/af/Makefile
> index 244de500963e..e28b1fc6dbc6 100644
> --- a/drivers/net/ethernet/marvell/octeontx2/af/Makefile
> +++ b/drivers/net/ethernet/marvell/octeontx2/af/Makefile
> @@ -4,6 +4,7 @@
> #
>
> ccflags-y += -I$(src)
redundant include path
> +ccflags-y += -I$(src) -I$(src)/switch/
> obj-$(CONFIG_OCTEONTX2_MBOX) += rvu_mbox.o
> obj-$(CONFIG_OCTEONTX2_AF) += rvu_af.o
Thanks,
Alok
next prev parent reply other threads:[~2026-01-08 9:03 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-07 13:23 [PATCH net-next v2 00/10] Switch support Ratheesh Kannoth
2026-01-07 13:23 ` [PATCH net-next v2 01/10] octeontx2-af: switch: Add AF to switch mbox and skeleton files Ratheesh Kannoth
2026-01-08 9:02 ` ALOK TIWARI [this message]
2026-01-08 9:22 ` Ratheesh Kannoth
2026-01-07 13:24 ` [PATCH net-next v2 02/10] octeontx2-af: switch: Add switch dev to AF mboxes Ratheesh Kannoth
2026-01-07 13:24 ` [PATCH net-next v2 03/10] octeontx2-pf: switch: Add pf files hierarchy Ratheesh Kannoth
2026-01-08 9:13 ` ALOK TIWARI
2026-01-08 9:27 ` Ratheesh Kannoth
2026-01-07 13:24 ` [PATCH net-next v2 04/10] octeontx2-af: switch: Representor for switch port Ratheesh Kannoth
2026-01-07 13:24 ` [PATCH net-next v2 05/10] octeontx2-af: switch: Enable Switch hw port for all channels Ratheesh Kannoth
2026-01-07 13:24 ` [PATCH net-next v2 06/10] octeontx2-pf: switch: Register for notifier chains Ratheesh Kannoth
2026-01-07 13:24 ` [PATCH net-next v2 07/10] octeontx2: switch: L2 offload support Ratheesh Kannoth
2026-01-08 9:07 ` ALOK TIWARI
2026-01-08 9:35 ` Ratheesh Kannoth
2026-01-07 13:24 ` [PATCH net-next v2 08/10] octeontx2: switch: L3 " Ratheesh Kannoth
2026-01-07 13:24 ` [PATCH net-next v2 09/10] octeontx2: switch: Flow " Ratheesh Kannoth
2026-01-08 9:09 ` ALOK TIWARI
2026-01-08 10:05 ` Ratheesh Kannoth
2026-01-08 16:07 ` Kalesh Anakkur Purayil
2026-01-09 4:43 ` Ratheesh Kannoth
2026-01-07 13:24 ` [PATCH net-next v2 10/10] octeontx2: switch: trace support Ratheesh Kannoth
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=ea4fc014-251c-4d5f-adc6-0e3aa562862a@oracle.com \
--to=alok.a.tiwari@oracle.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=rkannoth@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