All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/4] mtk_eth_soc: add xdp support
@ 2022-07-09 15:48 Lorenzo Bianconi
  2022-07-09 15:48 ` [PATCH net-next 1/4] net: ethernet: mtk_eth_soc: rely on page_pool for single page buffers Lorenzo Bianconi
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Lorenzo Bianconi @ 2022-07-09 15:48 UTC (permalink / raw)
  To: netdev
  Cc: nbd, john, sean.wang, Mark-MC.Lee, davem, edumazet, kuba, pabeni,
	matthias.bgg, linux-mediatek, ilias.apalodimas, lorenzo.bianconi,
	jbrouer

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



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

end of thread, other threads:[~2022-07-12 16:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-09 15:48 [PATCH net-next 0/4] mtk_eth_soc: add xdp support Lorenzo Bianconi
2022-07-09 15:48 ` [PATCH net-next 1/4] net: ethernet: mtk_eth_soc: rely on page_pool for single page buffers Lorenzo Bianconi
2022-07-09 15:48 ` [PATCH net-next 2/4] net: ethernet: mtk_eth_soc: add basic XDP support Lorenzo Bianconi
2022-07-12 10:12   ` Paolo Abeni
2022-07-12 16:15     ` Lorenzo Bianconi
2022-07-09 15:48 ` [PATCH net-next 3/4] net: ethernet: mtk_eth_soc: introduce xdp ethtool counters Lorenzo Bianconi
2022-07-12 10:08   ` Paolo Abeni
2022-07-12 16:17     ` Lorenzo Bianconi
2022-07-09 15:48 ` [PATCH net-next 4/4] net: ethernet: mtk_eth_soc: add xmit XDP support Lorenzo Bianconi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.