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)
commit418e787e54a638eb2bf09212a323d920229ee5ef
tree5af6b4e960253ebe778881fea6e821eccf505d3d
parentb0d754ef35041f921a1a03319b570fdfac9a027e
parent39b963152469fa154b3e1c4ef4ceac3651f56731
Merge branch 'mvpp2-XDP-support'

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>