Skip to content

add more features for AF_XDP pmd

Xiaolong Ye dpdk-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 8 repliesIn review
  2. v13 patches 0 repliesSuperseded

Changes in v2 from the cover letter

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

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net/af_xdp: enable zero copy by extbufdoc/guides/nics/af_xdp.rst drivers/net/af_xdp/rte_eth_af_xdp.c+79 -265 replies
2/3net/af_xdp: add multi-queue supportdoc/guides/nics/af_xdp.rst drivers/net/af_xdp/rte_eth_af_xdp.c+141 -562 replies
3/3net/af_xdp: remove unused struct memberdrivers/net/af_xdp/rte_eth_af_xdp.c+0 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [dpdk-dev] [PATCH v2 0/3] add more features for AF_XDP pmd

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(-)
Signature · 1 line
2.17.1