[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1657381056.git.lorenzo@kernel.org>
Date: Sat, 9 Jul 2022 17:48:28 +0200
From: Lorenzo Bianconi <lorenzo@...nel.org>
To: netdev@...r.kernel.org
Cc: nbd@....name, john@...ozen.org, sean.wang@...iatek.com,
Mark-MC.Lee@...iatek.com, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, matthias.bgg@...il.com,
linux-mediatek@...ts.infradead.org, ilias.apalodimas@...aro.org,
lorenzo.bianconi@...hat.com, jbrouer@...hat.com
Subject: [PATCH net-next 0/4] mtk_eth_soc: add xdp support
Introduce XDP support for mtk_eth_soc driver if rx hwlro is not
enabled in the chipset (e.g. mt7986).
Supported XDP verdicts:
- XDP_PASS
- XDP_DROP
- XDP_REDIRECT
- XDP_TX
- ndo_xdp_xmit
Rely on page_pool allocator for single page buffers in order to keep
them dma mapped and add skb recycling support.
Lorenzo Bianconi (4):
net: ethernet: mtk_eth_soc: rely on page_pool for single page buffers
net: ethernet: mtk_eth_soc: add basic XDP support
net: ethernet: mtk_eth_soc: introduce xdp ethtool counters
net: ethernet: mtk_eth_soc: add xmit XDP support
drivers/net/ethernet/mediatek/Kconfig | 1 +
drivers/net/ethernet/mediatek/mtk_eth_soc.c | 546 +++++++++++++++++---
drivers/net/ethernet/mediatek/mtk_eth_soc.h | 34 +-
3 files changed, 513 insertions(+), 68 deletions(-)
--
2.36.1
Powered by blists - more mailing lists