mbox series

[0/3] AF_XDP tx halt fix, IRQ pinning and unaligned chunks

Message ID 20190919141520.4227-1-ciara.loftus@intel.com (mailing list archive)
Headers show
Series AF_XDP tx halt fix, IRQ pinning and unaligned chunks | expand

Message

Loftus, Ciara Sept. 19, 2019, 2:15 p.m. UTC
This series contains 3 patches for the AF_XDP PMD.
They were originally independent patches but are now rolled into this
series together.

Patch 1: fix Tx halt when no recv packets (Xiaolong Ye)
Previous (v1): http://patches.dpdk.org/patch/59044/

Patch 2: support pinning of IRQs
Previous (v1): http://patches.dpdk.org/patch/58571/

v2:
* Update docs with example usage
* Split configure_irqs into multiple smaller functions
* Use /sys/class/net/<iface>/device/driver to get driver string
* Implement lookup mechanism for /proc/interrupts string formatting
* Use /sys/class/net/<iface> symlink to get pci addr for mlx5

Patch 3: enable support for unaligned umem chunks
Previous (v2): http://patches.dpdk.org/patch/58624/

v3:
* Fix inconsistent reserve/submit for fill and tx queue addrs
* Improve readability by extracting out functions
* Coding style fixes

The performance of the v3 was measured to be within 5% of the previous zero
copy implementation for test cases using a single PMD. For test cases using
multiple PMDs the following performance improvement was measured:

ports     nics      pinned    Δ old zc
2         2         0         95.21%
2         2         1         211.23%
2         1         0         88.36%
2         1         1         122.86%

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    | 744 ++++++++++++++++++++++---
 3 files changed, 685 insertions(+), 87 deletions(-)