[dpdk-dev] [PATCH v2 0/3] add more features for AF_XDP pmd
xiaolong.ye at intel.com
Thu May 30 11:07:04 CEST 2019
This patch series mainly includes 3 new features for AF_XDP pmd. They
are separated independent features, the reason I take them in one
patchset is that they have code dependency.
1. zero copy
This patch enables `zero copy` between af_xdp umem and mbuf by using
external mbuf mechanism.
With mutli-queue support, one AF_XDP pmd instance can use multi netdev
With busy-poll, all processing occurs on a single core, performance is
better from a per-core perspective.
This patch has dependency on busy-poll support in kernel side and now it
RFC stage .
1. improve mutli-queue support by getting the ethtool channel, so the
driver is able to get a reason maximum queue number.
2. add a tiny cleanup patch to get rid of unused struct member
3. remove the busy-poll patch as its kernel counterpart changes, will
update the patch later
Xiaolong Ye (3):
net/af_xdp: enable zero copy by extbuf
net/af_xdp: add multi-queue support
net/af_xdp: remove unused struct member
doc/guides/nics/af_xdp.rst | 4 +-
drivers/net/af_xdp/rte_eth_af_xdp.c | 285 ++++++++++++++++++++--------
2 files changed, 213 insertions(+), 76 deletions(-)
More information about the dev