Implement ip4_lookup_node_process_vec function for RISC-V architecture
using RISC-V Vector Extension instruction set
Signed-off-by: Sun Yuechi <[email protected]>
Signed-off-by: Zijian <[email protected]>
---
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