[PATCH] acl: add RISC-V vector extension implementation

sunyuechi sunyuechi at iscas.ac.cn
Mon Dec 29 06:48:41 CET 2025


> You probably need to update examples/l3fwd/l3fwd_acl.c too.
>
> Let's keep SCALAR as the last one, as default.
>   
Got it, fixed.
> +#include "acl_run_rvv.h"
> +
> +int
> +rte_acl_classify_rvv(const struct rte_acl_ctx *ctx, const uint8_t **data,
> +		      uint32_t *results, uint32_t num, uint32_t categories)
> +{
> +	if (likely(num >= 8))
> Why not use 'MAX_SEARCHES_RVV?' defined above?
I adapted this file from the NEON version but forgot to use it. Updated 
in v2.



More information about the dev mailing list