linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/5] mvpp2: XDP support
@ 2020-07-02 14:12 Matteo Croce
  2020-07-02 14:12 ` [PATCH net-next v2 1/5] mvpp2: refactor BM pool init percpu code Matteo Croce
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Matteo Croce @ 2020-07-02 14:12 UTC (permalink / raw)
  To: netdev
  Cc: linux-kernel, bpf, Sven Auhagen, Lorenzo Bianconi,
	David S. Miller, Jesper Dangaard Brouer, Stefan Chulski,
	Marcin Wojtas, maxime.chevallier, antoine.tenart,
	thomas.petazzoni, Maciej Fijalkowski, Russell King

From: Matteo Croce <mcroce@microsoft.com>

From: Matteo Croce <mcroce@microsoft.com>

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


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

end of thread, other threads:[~2020-07-03 21:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-02 14:12 [PATCH net-next v2 0/5] mvpp2: XDP support Matteo Croce
2020-07-02 14:12 ` [PATCH net-next v2 1/5] mvpp2: refactor BM pool init percpu code Matteo Croce
2020-07-02 14:12 ` [PATCH net-next v2 2/5] mvpp2: use page_pool allocator Matteo Croce
2020-07-02 14:12 ` [PATCH net-next v2 3/5] mvpp2: add basic XDP support Matteo Croce
2020-07-02 14:12 ` [PATCH net-next v2 4/5] mvpp2: XDP TX support Matteo Croce
2020-07-02 14:12 ` [PATCH net-next v2 5/5] mvpp2: xdp ethtool stats Matteo Croce
2020-07-02 14:25 ` [PATCH net-next v2 0/5] mvpp2: XDP support Matteo Croce
2020-07-03 21:46 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).