Skip to content

lpm lookup with sve support

Ruifeng Wang dpdk-dev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 14 repliesIn review
  2. v25 patches 14 repliesSuperseded
  3. v1 RFC1 patch 2 repliesSuperseded

v2 from the cover letter

Fixed tbl8 group index calculation. (Vladimir)
Added N2 config.
Fixed compiling when sve was enabled.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5lpm: add sve support for lookup on Arm platformlib/librte_eal/arm/include/rte_vect.h lib/librte_lpm/meson.build lib/librte_lpm/rte_lpm.h +1 more+91 -16 replies
2/5net/hns3: fix build with sve enableddrivers/net/hns3/hns3_rxtx.c drivers/net/hns3/meson.build+2 -31 reply
3/5net/octeontx: fix build with sve enableddrivers/net/octeontx/base/octeontx_io.h+8 -21 reply
4/5common/octeontx2: fix build with sve enableddrivers/common/octeontx2/otx2_io_arm64.h+11 -41 reply
5/5config: add Arm Neoverse N2config/arm/arm64_n2_linux_gcc config/arm/meson.build+27 -12 replies

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchJerin JacobHonnappa Nagarahalli
1/5
2/5R-b
3/5R-b
4/5R-b
5/5A-b R-b

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

Read the v3 thread

Cover letter [dpdk-dev] [PATCH v3 0/5] lpm lookup with sve support

Added lpm4 lookupx4 implementation by using Arm SVE extension. The SVE is Scalable Vector Extension which is exposed to the user with a vector length agnostic interface.
Refer to [1] for more information about SVE.

Configuration was added for Neoverse N2 CPU which has SVE support.

Some bugs were fixed so compiling with sve enabled can pass.

[1] https://developer.arm.com/tools-and-software/server-and-hpc/compile/arm-instruction-emulator/resources/tutorials/sve

---
v2:
Fixed tbl8 group index calculation. (Vladimir)
Added N2 config.
Fixed compiling when sve was enabled.

Ruifeng Wang (5):
lpm: add sve support for lookup on Arm platform
net/hns3: fix build with sve enabled
net/octeontx: fix build with sve enabled
common/octeontx2: fix build with sve enabled
config: add Arm Neoverse N2

 config/arm/arm64_n2_linux_gcc            | 17 +++++
 config/arm/meson.build                   | 11 +++-
 drivers/common/octeontx2/otx2_io_arm64.h | 15 +++--
 drivers/net/hns3/hns3_rxtx.c             |  4 +-
 drivers/net/hns3/meson.build             |  1 -
 drivers/net/octeontx/base/octeontx_io.h  | 10 ++-
 lib/librte_eal/arm/include/rte_vect.h    |  3 +
 lib/librte_lpm/meson.build               |  2 +-
 lib/librte_lpm/rte_lpm.h                 |  4 ++
 lib/librte_lpm/rte_lpm_sve.h             | 83 ++++++++++++++++++++++++
 10 files changed, 139 insertions(+), 11 deletions(-)
 create mode 100644 config/arm/arm64_n2_linux_gcc
 create mode 100644 lib/librte_lpm/rte_lpm_sve.h
Signature · 1 line
2.25.1