[PATCH 00/11] MediaTek SoC flow offload improvements + wireless support
Felix Fietkau
nbd at nbd.name
Fri Feb 25 02:17:59 PST 2022
This series contains the following improvements to mediatek ethernet flow
offload support:
- support dma-coherent on ethernet to improve performance
- add ipv6 offload support
- rework hardware flow table entry handling to improve dealing with hash
collisions and competing flows
- support creating offload entries from user space
- support creating offload entries with just source/destination mac address,
vlan and output device information
- add driver changes for supporting the Wireless Ethernet Dispatch core,
which can be used to offload flows from ethernet to MT7915 PCIe WLAN
devices
David Bentham (1):
net: ethernet: mtk_eth_soc: add ipv6 flow offload support
Felix Fietkau (10):
net: ethernet: mtk_eth_soc: add support for coherent DMA
arm64: dts: mediatek: mt7622: add support for coherent DMA
net: ethernet: mtk_eth_soc: add support for Wireless Ethernet Dispatch
(WED)
net: ethernet: mtk_eth_soc: implement flow offloading to WED devices
arm64: dts: mediatek: mt7622: introduce nodes for Wireless Ethernet
Dispatch
net: ethernet: mtk_eth_soc: support TC_SETUP_BLOCK for PPE offload
net: ethernet: mtk_eth_soc: allocate struct mtk_ppe separately
net: ethernet: mtk_eth_soc: rework hardware flow table management
net: ethernet: mtk_eth_soc: remove bridge flow offload type entry
support
net: ethernet: mtk_eth_soc: support creating mac address based offload
entries
arch/arm64/boot/dts/mediatek/mt7622.dtsi | 32 +-
drivers/net/ethernet/mediatek/Kconfig | 4 +
drivers/net/ethernet/mediatek/Makefile | 5 +
drivers/net/ethernet/mediatek/mtk_eth_soc.c | 131 ++-
drivers/net/ethernet/mediatek/mtk_eth_soc.h | 14 +-
drivers/net/ethernet/mediatek/mtk_ppe.c | 368 +++++++-
drivers/net/ethernet/mediatek/mtk_ppe.h | 89 +-
.../net/ethernet/mediatek/mtk_ppe_debugfs.c | 1 -
.../net/ethernet/mediatek/mtk_ppe_offload.c | 189 +++-
drivers/net/ethernet/mediatek/mtk_wed.c | 875 ++++++++++++++++++
drivers/net/ethernet/mediatek/mtk_wed.h | 135 +++
.../net/ethernet/mediatek/mtk_wed_debugfs.c | 175 ++++
drivers/net/ethernet/mediatek/mtk_wed_ops.c | 8 +
drivers/net/ethernet/mediatek/mtk_wed_regs.h | 251 +++++
include/linux/netdevice.h | 7 +
include/linux/soc/mediatek/mtk_wed.h | 131 +++
net/core/dev.c | 4 +
17 files changed, 2294 insertions(+), 125 deletions(-)
create mode 100644 drivers/net/ethernet/mediatek/mtk_wed.c
create mode 100644 drivers/net/ethernet/mediatek/mtk_wed.h
create mode 100644 drivers/net/ethernet/mediatek/mtk_wed_debugfs.c
create mode 100644 drivers/net/ethernet/mediatek/mtk_wed_ops.c
create mode 100644 drivers/net/ethernet/mediatek/mtk_wed_regs.h
create mode 100644 include/linux/soc/mediatek/mtk_wed.h
--
2.32.0 (Apple Git-132)
More information about the Linux-mediatek
mailing list