[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ea4fc014-251c-4d5f-adc6-0e3aa562862a@oracle.com>
Date: Thu, 8 Jan 2026 14:32:33 +0530
From: ALOK TIWARI <alok.a.tiwari@...cle.com>
To: Ratheesh Kannoth <rkannoth@...vell.com>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, andrew+netdev@...n.ch
Cc: sgoutham@...vell.com, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com
Subject: Re: [PATCH net-next v2 01/10] octeontx2-af: switch: Add AF to switch
mbox and skeleton files
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@...vell.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
Powered by blists - more mailing lists