mbox series

[net-next,0/6] introduce WED RX support to MT7986 SoC

Message ID cover.1666368566.git.lorenzo@kernel.org (mailing list archive)
Headers show
Series introduce WED RX support to MT7986 SoC | expand

Message

Lorenzo Bianconi Oct. 21, 2022, 4:18 p.m. UTC
Similar to TX counterpart available on MT7622 and MT7986, introduce
RX Wireless Ethernet Dispatch available on MT7986 SoC in order to
offload traffic received by wlan nic to the wired interfaces (lan/wan).

Lorenzo Bianconi (6):
  arm64: dts: mediatek: mt7986: add support for RX Wireless Ethernet
    Dispatch
  dt-bindings: net: mediatek: add WED RX binding for MT7986 eth driver
  net: ethernet: mtk_wed: introduce wed mcu support
  net: ethernet: mtk_wed: introduce wed wo support
  net: ethernet: mtk_wed: add configure wed wo support
  net: ethernet: mtk_wed: add rx mib counters

 .../arm/mediatek/mediatek,mt7622-wed.yaml     | 126 ++++
 .../arm/mediatek/mediatek,mt7986-wo-boot.yaml |  45 ++
 .../arm/mediatek/mediatek,mt7986-wo-ccif.yaml |  49 ++
 .../arm/mediatek/mediatek,mt7986-wo-dlm.yaml  |  66 ++
 arch/arm64/boot/dts/mediatek/mt7986a.dtsi     |  79 +++
 drivers/net/ethernet/mediatek/Makefile        |   2 +-
 drivers/net/ethernet/mediatek/mtk_wed.c       | 577 ++++++++++++++++--
 drivers/net/ethernet/mediatek/mtk_wed.h       |  21 +
 .../net/ethernet/mediatek/mtk_wed_debugfs.c   |  87 +++
 drivers/net/ethernet/mediatek/mtk_wed_mcu.c   | 375 ++++++++++++
 drivers/net/ethernet/mediatek/mtk_wed_regs.h  | 129 +++-
 drivers/net/ethernet/mediatek/mtk_wed_wo.c    | 545 +++++++++++++++++
 drivers/net/ethernet/mediatek/mtk_wed_wo.h    | 287 +++++++++
 include/linux/soc/mediatek/mtk_wed.h          | 104 +++-
 14 files changed, 2448 insertions(+), 44 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,mt7986-wo-boot.yaml
 create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,mt7986-wo-ccif.yaml
 create mode 100644 Documentation/devicetree/bindings/arm/mediatek/mediatek,mt7986-wo-dlm.yaml
 create mode 100644 drivers/net/ethernet/mediatek/mtk_wed_mcu.c
 create mode 100644 drivers/net/ethernet/mediatek/mtk_wed_wo.c
 create mode 100644 drivers/net/ethernet/mediatek/mtk_wed_wo.h

Comments

Jakub Kicinski Oct. 22, 2022, 4:10 a.m. UTC | #1
On Fri, 21 Oct 2022 18:18:30 +0200 Lorenzo Bianconi wrote:
> Similar to TX counterpart available on MT7622 and MT7986, introduce
> RX Wireless Ethernet Dispatch available on MT7986 SoC in order to
> offload traffic received by wlan nic to the wired interfaces (lan/wan).

Run sparse over these, please. There's warnings in them thar patches.
Lorenzo Bianconi Oct. 23, 2022, 5:25 p.m. UTC | #2
> On Fri, 21 Oct 2022 18:18:30 +0200 Lorenzo Bianconi wrote:
> > Similar to TX counterpart available on MT7622 and MT7986, introduce
> > RX Wireless Ethernet Dispatch available on MT7986 SoC in order to
> > offload traffic received by wlan nic to the wired interfaces (lan/wan).
> 
> Run sparse over these, please. There's warnings in them thar patches.

ack, I will fix them in v2.

Regards,
Lorenzo