[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200702141244.51295-1-mcroce@linux.microsoft.com>
Date: Thu, 2 Jul 2020 16:12:39 +0200
From: Matteo Croce <mcroce@...ux.microsoft.com>
To: netdev@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, bpf@...r.kernel.org,
Sven Auhagen <sven.auhagen@...eatech.de>,
Lorenzo Bianconi <lorenzo@...nel.org>,
"David S. Miller" <davem@...emloft.net>,
Jesper Dangaard Brouer <brouer@...hat.com>,
Stefan Chulski <stefanc@...vell.com>,
Marcin Wojtas <mw@...ihalf.com>, maxime.chevallier@...tlin.com,
antoine.tenart@...tlin.com, thomas.petazzoni@...tlin.com,
Maciej Fijalkowski <maciej.fijalkowski@...el.com>,
Russell King <rmk+kernel@...linux.org.uk>
Subject: [PATCH net-next v2 0/5] mvpp2: XDP support
From: Matteo Croce <mcroce@...rosoft.com>
From: Matteo Croce <mcroce@...rosoft.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
Powered by blists - more mailing lists