From: Joyce Kong <joyce.kong@arm.com>
To: maxime.coquelin@redhat.com, chenbo.xia@intel.com,
jerinj@marvell.com, ruifeng.wang@arm.com,
honnappa.nagarahalli@arm.com
Cc: dev@dpdk.org, nd@arm.com
Subject: [dpdk-dev] [PATCH v1 0/4] Vectorize packed ring RX/TX path with NEON
Date: Tue, 17 Nov 2020 18:06:31 +0800 [thread overview]
Message-ID: <20201117100635.27690-1-joyce.kong@arm.com> (raw)
In-Reply-To: <20200911120906.45995-1-joyce.kong@arm.com>
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
--
2.28.0
next prev parent reply other threads:[~2020-11-17 10:07 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-11 12:09 [dpdk-dev] [RFC 0/3] Vectorize packed ring RX " Joyce Kong
2020-09-11 12:09 ` [dpdk-dev] [RFC 1/3] net/virtio: move AVX based Rx and Tx code to separate file Joyce Kong
2020-09-11 12:09 ` [dpdk-dev] [RFC 2/3] net/virtio: add vectorized packed ring Rx NEON path Joyce Kong
2020-09-11 12:09 ` [dpdk-dev] [RFC 3/3] net/virtio: add election for packed vector " Joyce Kong
2020-10-05 7:34 ` [dpdk-dev] [RFC 0/3] Vectorize packed ring RX path with NEON Maxime Coquelin
2020-10-08 6:54 ` Joyce Kong
2020-10-15 9:01 ` Ruifeng Wang
2020-10-15 9:02 ` Maxime Coquelin
2020-11-17 10:06 ` Joyce Kong [this message]
2020-11-17 10:06 ` [dpdk-dev] [PATCH v1 1/4] net/virtio: move AVX based Rx and Tx code to separate file Joyce Kong
2021-01-05 14:06 ` Maxime Coquelin
2020-11-17 10:06 ` [dpdk-dev] [PATCH v1 2/4] net/virtio: add vectorized packed ring Rx NEON path Joyce Kong
2021-01-05 14:16 ` Maxime Coquelin
2021-01-05 14:27 ` Maxime Coquelin
2021-01-07 10:39 ` Maxime Coquelin
2021-01-08 7:29 ` Joyce Kong
2021-01-08 17:02 ` Ferruh Yigit
2021-01-08 22:26 ` Honnappa Nagarahalli
2021-01-11 13:05 ` Aaron Conole
2021-01-11 10:45 ` Maxime Coquelin
2021-01-11 13:04 ` Aaron Conole
2020-11-17 10:06 ` [dpdk-dev] [PATCH v1 3/4] net/virtio: add vectorized packed ring Tx " Joyce Kong
2021-01-05 14:33 ` Maxime Coquelin
2020-11-17 10:06 ` [dpdk-dev] [PATCH v1 4/4] net/virtio: add election for packed vector " Joyce Kong
2021-01-05 14:42 ` Maxime Coquelin
2021-01-08 9:11 ` [dpdk-dev] [PATCH v1 0/4] Vectorize packed ring RX/TX path with NEON Maxime Coquelin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201117100635.27690-1-joyce.kong@arm.com \
--to=joyce.kong@arm.com \
--cc=chenbo.xia@intel.com \
--cc=dev@dpdk.org \
--cc=honnappa.nagarahalli@arm.com \
--cc=jerinj@marvell.com \
--cc=maxime.coquelin@redhat.com \
--cc=nd@arm.com \
--cc=ruifeng.wang@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).