public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: Lorenzo Bianconi <lorenzo@kernel.org>
To: Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Felix Fietkau <nbd@nbd.name>, Sean Wang <sean.wang@mediatek.com>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	AngeloGioacchino Del Regno
	<angelogioacchino.delregno@collabora.com>,
	Philipp Zabel <p.zabel@pengutronix.de>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	"Chester A. Unal" <chester.a.unal@arinc9.com>,
	Daniel Golle <daniel@makrotopia.org>,
	DENG Qingfang <dqfext@gmail.com>, Andrew Lunn <andrew@lunn.ch>,
	Vladimir Oltean <olteanv@gmail.com>
Cc: netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org,
	upstream@airoha.com, Christian Marangi <ansuelsmth@gmail.com>
Subject: Re: [PATCH net-next v2 00/15] Introduce flowtable hw offloading in airoha_eth driver
Date: Sun, 9 Feb 2025 13:07:36 +0100	[thread overview]
Message-ID: <Z6iaiHVft8B-mAb4@lore-desk> (raw)
In-Reply-To: <20250207-airoha-en7581-flowtable-offload-v2-0-3a2239692a67@kernel.org>

[-- Attachment #1: Type: text/plain, Size: 3739 bytes --]

> Introduce netfilter flowtable integration in airoha_eth driver to
> offload 5-tuple flower rules learned by the PPE module if the user
> accelerates them using a nft configuration similar to the one reported
> below:
> 
> table inet filter {
> 	flowtable ft {
> 		hook ingress priority filter
> 		devices = { lan1, lan2, lan3, lan4, eth1 }
> 		flags offload;
> 	}
> 	chain forward {
> 		type filter hook forward priority filter; policy accept;
> 		meta l4proto { tcp, udp } flow add @ft
> 	}
> }
> 
> Packet Processor Engine (PPE) module available on EN7581 SoC populates
> the PPE table with 5-tuples flower rules learned from traffic forwarded
> between the GDM ports connected to the Packet Switch Engine (PSE) module.
> airoha_eth driver configures and collects data from the PPE module via a
> Network Processor Unit (NPU) RISC-V module available on the EN7581 SoC.
> Move airoha_eth driver in a dedicated folder
> (drivers/net/ethernet/airoha).

Please ignore this series, I spotted a couple of issues. I will post v3 soon.

Regards,
Lorenzo

> 
> ---
> Changes in v2:
> - Add airoha-npu document binding
> - Enable Rx SPTAG on MT7530 dsa switch for EN7581 SoC.
> - Fix warnings in airoha_npu_run_firmware()
> - Fix sparse warnings
> - Link to v1: https://lore.kernel.org/r/20250205-airoha-en7581-flowtable-offload-v1-0-d362cfa97b01@kernel.org
> 
> ---
> Lorenzo Bianconi (15):
>       net: airoha: Move airoha_eth driver in a dedicated folder
>       net: airoha: Move definitions in airoha_eth.h
>       net: airoha: Move reg/write utility routines in airoha_eth.h
>       net: airoha: Move register definitions in airoha_regs.h
>       net: airoha: Move DSA tag in DMA descriptor
>       net: dsa: mt7530: Enable Rx sptag for EN7581 SoC
>       net: airoha: Enable support for multiple net_devices
>       net: airoha: Move REG_GDM_FWD_CFG() initialization in airoha_dev_init()
>       net: airoha: Rename airoha_set_gdm_port_fwd_cfg() in airoha_set_vip_for_gdm_port()
>       dt-bindings: arm: airoha: Add the NPU node for EN7581 SoC
>       dt-bindings: net: airoha: Add airoha,npu phandle property
>       net: airoha: Introduce PPE initialization via NPU
>       net: airoha: Introduce flowtable offload support
>       net: airoha: Add loopback support for GDM2
>       net: airoha: Introduce PPE debugfs support
> 
>  .../devicetree/bindings/arm/airoha,en7581-npu.yaml |   71 ++
>  .../devicetree/bindings/net/airoha,en7581-eth.yaml |   10 +
>  drivers/net/dsa/mt7530.c                           |    5 +
>  drivers/net/dsa/mt7530.h                           |    4 +
>  drivers/net/ethernet/Kconfig                       |    2 +
>  drivers/net/ethernet/Makefile                      |    1 +
>  drivers/net/ethernet/airoha/Kconfig                |   23 +
>  drivers/net/ethernet/airoha/Makefile               |    9 +
>  .../net/ethernet/{mediatek => airoha}/airoha_eth.c | 1261 +++++---------------
>  drivers/net/ethernet/airoha/airoha_eth.h           |  626 ++++++++++
>  drivers/net/ethernet/airoha/airoha_npu.c           |  501 ++++++++
>  drivers/net/ethernet/airoha/airoha_ppe.c           |  823 +++++++++++++
>  drivers/net/ethernet/airoha/airoha_ppe_debugfs.c   |  175 +++
>  drivers/net/ethernet/airoha/airoha_regs.h          |  793 ++++++++++++
>  drivers/net/ethernet/mediatek/Kconfig              |    8 -
>  drivers/net/ethernet/mediatek/Makefile             |    1 -
>  16 files changed, 3310 insertions(+), 1003 deletions(-)
> ---
> base-commit: 26db4dbb747813b5946aff31485873f071a10332
> change-id: 20250205-airoha-en7581-flowtable-offload-e3a11b3b34ad
> 
> Best regards,
> -- 
> Lorenzo Bianconi <lorenzo@kernel.org>
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

      parent reply	other threads:[~2025-02-09 12:09 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-07 16:26 [PATCH net-next v2 00/15] Introduce flowtable hw offloading in airoha_eth driver Lorenzo Bianconi
2025-02-07 16:26 ` [PATCH net-next v2 01/15] net: airoha: Move airoha_eth driver in a dedicated folder Lorenzo Bianconi
2025-02-07 16:26 ` [PATCH net-next v2 02/15] net: airoha: Move definitions in airoha_eth.h Lorenzo Bianconi
2025-02-07 16:26 ` [PATCH net-next v2 03/15] net: airoha: Move reg/write utility routines " Lorenzo Bianconi
2025-02-07 16:26 ` [PATCH net-next v2 04/15] net: airoha: Move register definitions in airoha_regs.h Lorenzo Bianconi
2025-02-07 16:26 ` [PATCH net-next v2 05/15] net: airoha: Move DSA tag in DMA descriptor Lorenzo Bianconi
2025-02-07 16:26 ` [PATCH net-next v2 06/15] net: dsa: mt7530: Enable Rx sptag for EN7581 SoC Lorenzo Bianconi
2025-02-07 16:26 ` [PATCH net-next v2 07/15] net: airoha: Enable support for multiple net_devices Lorenzo Bianconi
2025-02-07 16:26 ` [PATCH net-next v2 08/15] net: airoha: Move REG_GDM_FWD_CFG() initialization in airoha_dev_init() Lorenzo Bianconi
2025-02-07 16:26 ` [PATCH net-next v2 09/15] net: airoha: Rename airoha_set_gdm_port_fwd_cfg() in airoha_set_vip_for_gdm_port() Lorenzo Bianconi
2025-02-07 16:26 ` [PATCH net-next v2 10/15] dt-bindings: arm: airoha: Add the NPU node for EN7581 SoC Lorenzo Bianconi
2025-02-07 16:26 ` [PATCH net-next v2 11/15] dt-bindings: net: airoha: Add airoha,npu phandle property Lorenzo Bianconi
2025-02-07 16:26 ` [PATCH net-next v2 12/15] net: airoha: Introduce PPE initialization via NPU Lorenzo Bianconi
2025-02-07 16:26 ` [PATCH net-next v2 13/15] net: airoha: Introduce flowtable offload support Lorenzo Bianconi
2025-02-07 16:26 ` [PATCH net-next v2 14/15] net: airoha: Add loopback support for GDM2 Lorenzo Bianconi
2025-02-07 16:26 ` [PATCH net-next v2 15/15] net: airoha: Introduce PPE debugfs support Lorenzo Bianconi
2025-02-09 12:07 ` Lorenzo Bianconi [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=Z6iaiHVft8B-mAb4@lore-desk \
    --to=lorenzo@kernel.org \
    --cc=andrew+netdev@lunn.ch \
    --cc=andrew@lunn.ch \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=ansuelsmth@gmail.com \
    --cc=chester.a.unal@arinc9.com \
    --cc=conor+dt@kernel.org \
    --cc=daniel@makrotopia.org \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=dqfext@gmail.com \
    --cc=edumazet@google.com \
    --cc=krzk+dt@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=matthias.bgg@gmail.com \
    --cc=nbd@nbd.name \
    --cc=netdev@vger.kernel.org \
    --cc=olteanv@gmail.com \
    --cc=p.zabel@pengutronix.de \
    --cc=pabeni@redhat.com \
    --cc=robh@kernel.org \
    --cc=sean.wang@mediatek.com \
    --cc=upstream@airoha.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