OSDN Git Service

Merge branch 'mvpp2-XDP-support'
authorDavid S. Miller <davem@davemloft.net>
Fri, 3 Jul 2020 21:46:25 +0000 (14:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Jul 2020 21:46:25 +0000 (14:46 -0700)
Matteo Croce says:

====================
mvpp2: XDP support

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
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge