mbox series

[v3,0/4] support AVX2 instruction Rx/Tx function

Message ID 20240709072921.246520-1-chaoyong.he@corigine.com (mailing list archive)
Headers
Series support AVX2 instruction Rx/Tx function |

Message

Chaoyong He July 9, 2024, 7:29 a.m. UTC
This patch series add the support of Rx/Tx function using the
AVX2 instruction.

---
v3:
* Fix the 'meson.build' file to solve the compile problem.
v2:
* Rebase to the latest main branch.
---

Long Wu (4):
  net/nfp: export more interfaces of NFDk
  net/nfp: support AVX2 Tx function
  net/nfp: support AVX2 Rx function
  net/nfp: vector Rx function supports parsing ptype

 drivers/net/nfp/meson.build                 |  20 +
 drivers/net/nfp/nfdk/nfp_nfdk.h             |  46 +++
 drivers/net/nfp/nfdk/nfp_nfdk_dp.c          |  55 +--
 drivers/net/nfp/nfdk/nfp_nfdk_vec.h         |  36 ++
 drivers/net/nfp/nfdk/nfp_nfdk_vec_avx2_dp.c | 432 ++++++++++++++++++++
 drivers/net/nfp/nfdk/nfp_nfdk_vec_stub.c    |  14 +
 drivers/net/nfp/nfp_ethdev.c                |   5 +-
 drivers/net/nfp/nfp_ethdev_vf.c             |   5 +-
 drivers/net/nfp/nfp_net_common.c            |   2 +-
 drivers/net/nfp/nfp_net_meta.c              |   1 +
 drivers/net/nfp/nfp_rxtx.c                  |  12 +-
 drivers/net/nfp/nfp_rxtx.h                  |   9 +-
 drivers/net/nfp/nfp_rxtx_vec.h              |  17 +
 drivers/net/nfp/nfp_rxtx_vec_avx2.c         | 275 +++++++++++++
 drivers/net/nfp/nfp_rxtx_vec_stub.c         |  25 ++
 15 files changed, 905 insertions(+), 49 deletions(-)
 create mode 100644 drivers/net/nfp/nfdk/nfp_nfdk_vec.h
 create mode 100644 drivers/net/nfp/nfdk/nfp_nfdk_vec_avx2_dp.c
 create mode 100644 drivers/net/nfp/nfdk/nfp_nfdk_vec_stub.c
 create mode 100644 drivers/net/nfp/nfp_rxtx_vec.h
 create mode 100644 drivers/net/nfp/nfp_rxtx_vec_avx2.c
 create mode 100644 drivers/net/nfp/nfp_rxtx_vec_stub.c