mbox series

[v4,0/5] support AVX2 instruction Rx/Tx function

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

Message

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

---
v4:
* Add commit to solve the compile problem on 32-bit OS.
v3:
* Fix the 'meson.build' file to solve the compile problem.
v2:
* Rebase to the latest main branch.
---

Long Wu (5):
  net/nfp: fix compile fail on 32-bit OS
  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                 |  21 +
 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, 906 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
  

Comments

Ferruh Yigit July 9, 2024, 1:06 p.m. UTC | #1
On 7/9/2024 9:24 AM, Chaoyong He wrote:
> This patch series add the support of Rx/Tx function using the
> AVX2 instruction.
> 
> ---
> v4:
> * Add commit to solve the compile problem on 32-bit OS.
> v3:
> * Fix the 'meson.build' file to solve the compile problem.
> v2:
> * Rebase to the latest main branch.
> ---
> 
> Long Wu (5):
>   net/nfp: fix compile fail on 32-bit OS
>   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
>

Series applied to dpdk-next-net/main, thanks.