Skip to content

mvpp2: XDP support

Matteo Croce bpf lkml netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 2 repliesIn review
  2. v14 patches 6 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5mvpp2: refactor BM pool init percpu codedrivers/net/ethernet/marvell/mvpp2/mvpp2_main.c+11 -120 replies
2/5mvpp2: use page_pool allocatordrivers/net/ethernet/marvell/Kconfig drivers/net/ethernet/marvell/mvpp2/mvpp2.h drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c+140 -250 replies
3/5mvpp2: add basic XDP supportdrivers/net/ethernet/marvell/mvpp2/mvpp2.h drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c+185 -80 replies
4/5mvpp2: XDP TX supportdrivers/net/ethernet/marvell/mvpp2/mvpp2.h drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c+272 -450 replies
5/5mvpp2: xdp ethtool statsdrivers/net/ethernet/marvell/mvpp2/mvpp2.h drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c+148 -180 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by.

PatchSven Auhagen
1/5
2/5T-b
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

From: Matteo Croce <[email protected]>

From: Matteo Croce <[email protected]>

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(-)
Signature · 1 line
2.26.2