netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/7] net: airoha: Introduce NPU callbacks for wlan offloading
@ 2025-07-05 21:09 Lorenzo Bianconi
  2025-07-05 21:09 ` [PATCH net-next v2 1/7] dt-bindings: net: airoha: npu: Add memory regions used for wlan offload Lorenzo Bianconi
                   ` (6 more replies)
  0 siblings, 7 replies; 19+ messages in thread
From: Lorenzo Bianconi @ 2025-07-05 21:09 UTC (permalink / raw)
  To: Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Lorenzo Bianconi
  Cc: linux-arm-kernel, linux-mediatek, netdev, devicetree,
	Simon Horman

Similar to wired traffic, EN7581 SoC allows to offload traffic to/from
the MT76 wireless NIC configuring the NPU module via the Netfilter
flowtable. This series introduces the necessary NPU callback used by
the MT76 driver in order to enable the offloading.
Subsequent patches will introduce the required MT76 support.

---
Changes in v2:
- Introduce binding for memory regions used for wlan offload
- Rely on of_reserved_mem_region_to_resource_byname
- Export just wlan_{send,get}_msg NPU callback for MT76
- Improve commit messages
- Link to v1: https://lore.kernel.org/r/20250702-airoha-en7581-wlan-offlaod-v1-0-803009700b38@kernel.org

---
Lorenzo Bianconi (7):
      dt-bindings: net: airoha: npu: Add memory regions used for wlan offload
      net: airoha: npu: Add NPU wlan memory initialization commands
      net: airoha: npu: Add wlan_{send,get}_msg NPU callbacks
      net: airoha: npu: Add wlan irq management callbacks
      net: airoha: npu: Read NPU wlan interrupt lines from the DTS
      net: airoha: npu: Enable core 3 for WiFi offloading
      net: airoha: Add airoha_offload.h header

 .../devicetree/bindings/net/airoha,en7581-npu.yaml |  20 +-
 drivers/net/ethernet/airoha/airoha_npu.c           | 180 ++++++++++++++-
 drivers/net/ethernet/airoha/airoha_npu.h           |  36 ---
 drivers/net/ethernet/airoha/airoha_ppe.c           |   2 +-
 include/linux/soc/airoha/airoha_offload.h          | 256 +++++++++++++++++++++
 5 files changed, 450 insertions(+), 44 deletions(-)
---
base-commit: 6b9fd8857b9fc4dd62e7cd300327f0e48dd76642
change-id: 20250701-airoha-en7581-wlan-offlaod-67c9daff8473

Best regards,
-- 
Lorenzo Bianconi <lorenzo@kernel.org>


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2025-07-14 10:09 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-05 21:09 [PATCH net-next v2 0/7] net: airoha: Introduce NPU callbacks for wlan offloading Lorenzo Bianconi
2025-07-05 21:09 ` [PATCH net-next v2 1/7] dt-bindings: net: airoha: npu: Add memory regions used for wlan offload Lorenzo Bianconi
2025-07-07  7:05   ` Krzysztof Kozlowski
2025-07-07  7:25     ` Lorenzo Bianconi
2025-07-05 21:09 ` [PATCH net-next v2 2/7] net: airoha: npu: Add NPU wlan memory initialization commands Lorenzo Bianconi
2025-07-07  7:09   ` Krzysztof Kozlowski
2025-07-07  7:24     ` Lorenzo Bianconi
2025-07-07 15:04       ` Krzysztof Kozlowski
2025-07-07 15:06         ` Krzysztof Kozlowski
2025-07-07 15:24         ` Lorenzo Bianconi
2025-07-08  6:26           ` Krzysztof Kozlowski
2025-07-08  7:33             ` Lorenzo Bianconi
2025-07-14  7:39               ` Krzysztof Kozlowski
2025-07-14 10:09                 ` Lorenzo Bianconi
2025-07-05 21:09 ` [PATCH net-next v2 3/7] net: airoha: npu: Add wlan_{send,get}_msg NPU callbacks Lorenzo Bianconi
2025-07-05 21:09 ` [PATCH net-next v2 4/7] net: airoha: npu: Add wlan irq management callbacks Lorenzo Bianconi
2025-07-05 21:09 ` [PATCH net-next v2 5/7] net: airoha: npu: Read NPU wlan interrupt lines from the DTS Lorenzo Bianconi
2025-07-05 21:09 ` [PATCH net-next v2 6/7] net: airoha: npu: Enable core 3 for WiFi offloading Lorenzo Bianconi
2025-07-05 21:09 ` [PATCH net-next v2 7/7] net: airoha: Add airoha_offload.h header Lorenzo Bianconi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).