Skip to content

acl: avoid vector spills in the RVV search loops

Sun Yuechi dpdk-dev 1 version NAK

Status from this message: NAK

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesNAK

Patches in v1

#Subject and filesSizeRepliesApplied
1/2eal: add flatten function attributelib/eal/include/rte_common.h+13 -01 reply
2/2acl: inline the match checks into the RVV search loopslib/acl/acl_run_rvv.h+5 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] acl: avoid vector spills in the RVV search loops

At -O2 the ACL match checks are not inlined into the RVV search loops, so a vector value live across those calls is spilled and the remaining locals are addressed through vlenb. -O3 inlines them already and is unchanged.

Add __rte_flatten, and apply it to the two search functions.

Sun Yuechi (2):
eal: add flatten function attribute
acl: inline the match checks into the RVV search loops

 lib/acl/acl_run_rvv.h        |  8 +++++---
 lib/eal/include/rte_common.h | 13 +++++++++++++
 2 files changed, 18 insertions(+), 3 deletions(-)
Signature · 1 line
2.56.0