Skip to content

Vectorize packed ring RX/TX path with NEON

Joyce Kong dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4net/virtio: move AVX based Rx and Tx code to separate filedrivers/net/virtio/meson.build drivers/net/virtio/virtio_rxtx.c drivers/net/virtio/virtio_rxtx_packed.c +3 more+678 -6321 reply
2/4net/virtio: add vectorized packed ring Rx NEON pathdrivers/net/virtio/virtio_rxtx_packed.h drivers/net/virtio/virtio_rxtx_packed_neon.h+165 -09 replies
3/4net/virtio: add vectorized packed ring Tx NEON pathdrivers/net/virtio/virtio_rxtx_packed.h drivers/net/virtio/virtio_rxtx_packed_neon.h+148 -11 reply
4/4net/virtio: add election for packed vector NEON pathdoc/guides/nics/virtio.rst drivers/net/virtio/meson.build drivers/net/virtio/virtio_ethdev.c +2 more+22 -81 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchRuifeng WangMaxime Coquelin
1/4R-b R-b
2/4R-b
3/4R-b R-b
4/4R-b R-b

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

Read the v1 thread

Cover letter [dpdk-dev] [PATCH v1 0/4] Vectorize packed ring RX/TX path with NEON

This patch set introduces vectorized RX/TX path for packed ring with NEON intrinsics.

With this patch set, PVP case has 1.5% perf uplift for the packed vectorized NEON path compared with the non-vector packed path, under 0.001% acceptable loss with 2 cores on vhost side and 1 core on virtio side.

Joyce Kong (4):
net/virtio: move AVX based Rx and Tx code to separate file net/virtio: add vectorized packed ring Rx NEON path net/virtio: add vectorized packed ring Tx NEON path net/virtio: add election for packed vector NEON path

 doc/guides/nics/virtio.rst                   |   6 +-
 drivers/net/virtio/meson.build               |   5 +-
 drivers/net/virtio/virtio_ethdev.c           |  19 +-
 drivers/net/virtio/virtio_rxtx.c             |   6 +-
 drivers/net/virtio/virtio_rxtx_packed.c      | 139 ++++
 drivers/net/virtio/virtio_rxtx_packed.h      | 317 ++++++++++
 drivers/net/virtio/virtio_rxtx_packed_avx.c  | 626 -------------------
 drivers/net/virtio/virtio_rxtx_packed_avx.h  | 239 +++++++
 drivers/net/virtio/virtio_rxtx_packed_neon.h | 293 +++++++++
 drivers/net/virtio/virtio_user_ethdev.c      |   2 +-
 10 files changed, 1012 insertions(+), 640 deletions(-)
 create mode 100644 drivers/net/virtio/virtio_rxtx_packed.c
 create mode 100644 drivers/net/virtio/virtio_rxtx_packed.h
 delete mode 100644 drivers/net/virtio/virtio_rxtx_packed_avx.c
 create mode 100644 drivers/net/virtio/virtio_rxtx_packed_avx.h
 create mode 100644 drivers/net/virtio/virtio_rxtx_packed_neon.h
Signature · 1 line
2.28.0