[PATCH net-next v2 0/5] mvpp2: XDP support

From: Matteo Croce
Date: Thu Jul 02 2020 - 10:13:02 EST


From: Matteo Croce <mcroce@xxxxxxxxxxxxx>

From: Matteo Croce <mcroce@xxxxxxxxxxxxx>

Add XDP support to mvpp2. This series converts the driver to the
page_pool API for RX buffer management, and adds native XDP support.

XDP support comes with extack error reporting and statistics as well.

These are the performance numbers, as measured by Sven:

SKB fwd page pool:
Rx bps 390.38 Mbps
Rx pps 762.46 Kpps

XDP fwd:
Rx bps 1.39 Gbps
Rx pps 2.72 Mpps

XDP Drop:
eth0: 12.9 Mpps
eth1: 4.1 Mpps

Matteo Croce (4):
mvpp2: refactor BM pool init percpu code
mvpp2: use page_pool allocator
mvpp2: add basic XDP support
mvpp2: XDP TX support

Sven Auhagen (1):
mvpp2: xdp ethtool stats

drivers/net/ethernet/marvell/Kconfig | 1 +
drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 57 +-
.../net/ethernet/marvell/mvpp2/mvpp2_main.c | 730 ++++++++++++++++--
3 files changed, 718 insertions(+), 70 deletions(-)

--
2.26.2