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. 2. multi-queue With mutli-queue support, one AF_XDP pmd instance can use multi netdev queues. 3. busy-poll 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 is in RFC stage [1]. [1] https://www.spinics.net/lists/netdev/msg568337.html V2 changes: 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(-) -- 2.17.1