[PATCH] node: lookup with RISC-V vector extension

sunyuechi sunyuechi at iscas.ac.cn
Mon Nov 17 02:43:15 CET 2025


> Implement ip4_lookup_node_process_vec function for RISC-V architecture
> using RISC-V Vector Extension instruction set
>
> Signed-off-by: Sun Yuechi <sunyuechi at iscas.ac.cn>
> Signed-off-by: Zijian <zijian.oerv at isrc.iscas.ac.cn>
> ---
>   lib/eal/riscv/include/rte_vect.h |   2 +-
>   lib/node/ip4_lookup.c            |   5 +-
>   lib/node/ip4_lookup_rvv.h        | 167 +++++++++++++++++++++++++++++++
>   3 files changed, 172 insertions(+), 2 deletions(-)
>   create mode 100644 lib/node/ip4_lookup_rvv.h
>
Testing on sg2044 with dpdk-l3fwd-graph shows approximately 30% throughput
improvement and roughly 50%-60% reduction in ip4_lookup



More information about the dev mailing list