Netdev List
 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 v8 net-next 0/9] Switch support
Date: Fri, 14 Aug 2026 14:24:01 +0530	[thread overview]
Message-ID: <an7XqecYwqm8DQCm@rkannoth-OptiPlex-7090> (raw)
In-Reply-To: <20260811085406.3227312-1-rkannoth@marvell.com>

On 2026-08-11 at 14:23:57, Ratheesh Kannoth (rkannoth@marvell.com) wrote:
> Marvell OcteonTX2 switch hardware is capable of accelerating L2, L3, and
> flow. When representors are enabled through devlink, a logical port is
> created in switch hardware for each representor device.
>
> This patch series implements communication from the host OS to the switch
> hardware and vice versa.
>
>                  control plane (FDB / FIB / flow over mailbox)
>     +---------------------------------------------------------------------+
>     |                               HOST OS                               |
>     |                                                                     |
>     | +------------+  +---------------------+  +---------------+          |
>     | | bridge /   |  | PF + notifiers      |  | TC / flower   |          |
>     | | routing    |  | (FDB, FIB, flow)    |  | offload       |          |
>     | +------+-----+  +-----------+---------+  +-------+-------+          |
>     |        ^                     |                      |               |
>     |        | slow path           |                      |               |
>     |        | (unmatched pkts)    v                      v               |
>     | +------+------+       +------+------+        +------+------+        |
>     | | rep-eth0    |       | PF / VF     | <----> | RVU AF      |        |
>     | +------+------+       +-------------+        +------+------+        |
>     |        |                                                |           |
>     | +------+------+                                         |           |
>     | | rep-eth1    |                                         |           |
>     | +-------------+                                         |           |
>     |        | slow path (miss / control to host stack)       |           |
>     +---------------------------------------------------------------------+
>     |      |                                         |                    |
>     |      |              mailbox / PCIe             |                    |
>     |      v                                         v                    |
>     +---------------------------------------------------------------------+
>     |                           SWITCH HARDWARE                           |
>     |                                                                     |
>     |      +---------------------------------------------------+          |
>     |      | L2 tables   | L3 tables   | flow TCAM (HW)        |          |
>     |      +-------+-------------+---------------+-------------+          |
>     |              |       fast path (HW)           |                     |
>     |              v                                v                     |
>     |           lport0  <========================>  lport1                |
>     |             HW forwarding between ports                             |
>     |                                                                     |
>     | slow path (miss): packets raised to host via representors           |
>     +---------------------------------------------------------------------+
>
> When representors are created, corresponding logical ports are created in
> switchdev. Matching traffic is accelerated in switch hardware using
> installed L2, L3, and flow rules. Packets that do not match offloaded
> state, or that require software handling, take the slow path through
> representors and the host networking stack. Control updates from the host
> (FDB, FIB, TC flower) are sent to the AF over mailbox and programmed into
> switch hardware tables.

Will address sashiko issues in v9

pw-bot: changes-requested

>

      parent reply	other threads:[~2026-08-14  8:54 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-11  8:53 [PATCH v8 net-next 0/9] Switch support Ratheesh Kannoth
2026-08-11  8:53 ` [PATCH v8 net-next 1/9] octeontx2-af: switch: Add AF to switch mbox and skeleton files Ratheesh Kannoth
2026-08-11  8:53 ` [PATCH v8 net-next 2/9] octeontx2-af: switch: Add switch dev to AF mboxes Ratheesh Kannoth
2026-08-11  8:54 ` [PATCH v8 net-next 3/9] octeontx2-pf: switch: Add pf files hierarchy Ratheesh Kannoth
2026-08-11  8:54 ` [PATCH v8 net-next 4/9] octeontx2-af: switch: Representor for switch port Ratheesh Kannoth
2026-08-11  8:54 ` [PATCH v8 net-next 5/9] octeontx2-af: switch: TL1 scheduling and NPC channel control Ratheesh Kannoth
2026-08-11  8:54 ` [PATCH v8 net-next 6/9] octeontx2-pf: switch: Register notifiers for switch offload Ratheesh Kannoth
2026-08-11  8:54 ` [PATCH v8 net-next 7/9] octeontx2: switch: plumb bridge FDB updates through AF and switchdev Ratheesh Kannoth
2026-08-11  8:54 ` [PATCH v8 net-next 8/9] octeontx2: switch: offload host FIB updates to switch via AF mailbox Ratheesh Kannoth
2026-08-11  8:54 ` [PATCH v8 net-next 9/9] octeontx2: switch: add TC flow offload path for switch flows Ratheesh Kannoth
2026-08-14  8:54 ` Ratheesh Kannoth [this message]

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=an7XqecYwqm8DQCm@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