Skip to content

AF_XDP tx halt fix, IRQ pinning and unaligned chunks

Ciara Loftus dpdk-dev 2 versions – Applied

Status from this message: Applied to dpdk-next-net/master, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 23 repliesApplied
  2. v13 patches 4 repliesSuperseded

Changes in v2 from the cover letter

* Change enum format to match coding style
* Change some variables to const
* Re-order arguments in functions
* Do not duplicate driver string in generate_search_idx
* Check if driver handler function ptr is !NULL before using
* Check return value of fwrite
* Use rte_memcpy

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3net/af_xdp: fix Tx halt when no recv packetsdrivers/net/af_xdp/rte_eth_af_xdp.c+14 -141 reply
2/3net/af_xdp: support pinning of IRQsdoc/guides/nics/af_xdp.rst doc/guides/rel_notes/release_19_11.rst drivers/net/af_xdp/rte_eth_af_xdp.c+383 -517 replies
3/3net/af_xdp: enable support for unaligned umem chunksdoc/guides/nics/af_xdp.rst doc/guides/rel_notes/release_19_11.rst drivers/net/af_xdp/rte_eth_af_xdp.c+325 -835 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchCiara LoftusXiaolong Ye
1/3T-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [dpdk-dev] [PATCH v2 0/3] AF_XDP tx halt fix, IRQ pinning and unaligned chunks

This series contains 3 patches for the AF_XDP PMD.

Previous: http://mails.dpdk.org/archives/dev/2019-September/143910.html

Patch 1: fix Tx halt when no recv packets (Xiaolong Ye)

Patch 2: support pinning of IRQs
v1 -> v2:
* Change enum format to match coding style
* Change some variables to const
* Re-order arguments in functions
* Do not duplicate driver string in generate_search_idx
* Check if driver handler function ptr is !NULL before using
* Check return value of fwrite
* Use rte_memcpy

Patch 3: enable support for unaligned umem chunks
v1 -> v2:
* Take mbuf alloc out of reserve_fill_queue
* Free correct mbuf on reserve fail for tx

The performance of the new zero copy implementation was measured to be within 5% of the previous zero copy implementation, generally with an improvement observed for single-core (with need wakeup) and multiple-PMD test cases.

Ciara Loftus (2):
net/af_xdp: support pinning of IRQs net/af_xdp: enable support for unaligned umem chunks

Xiaolong Ye (1):
net/af_xdp: fix Tx halt when no recv packets

 doc/guides/nics/af_xdp.rst             |  17 +-
 doc/guides/rel_notes/release_19_11.rst |  11 +
 drivers/net/af_xdp/rte_eth_af_xdp.c    | 780 ++++++++++++++++++++++---
 3 files changed, 714 insertions(+), 94 deletions(-)
Signature · 1 line
2.17.1