* [PATCH v2 0/3] Add RISC-V V extension detection and LPM optimization
@ 2025-06-04 11:31 uk7b
0 siblings, 0 replies; 4+ messages in thread
From: uk7b @ 2025-06-04 11:31 UTC (permalink / raw)
To: dev; +Cc: sunyuechi
From: sunyuechi <sunyuechi@iscas.ac.cn>
This patch series adds support for the RISC-V Vector (V) extension and provides
an optimized implementation of `rte_lpm_lookupx4` using RVV. It includes runtime
detection of the V extension, conditional compilation based on compiler support
for RVV intrinsics.
Test results using lpm_perf_autotest on BPI-F3:
scalar: 5.7 cycles
rvv: 2.4 cycles
### v2:
- Improved commit messages.
sunyuechi (3):
config/riscv: detect V extension
lib/lpm: R-V V rte_lpm_lookupx4
riscv: override machine_args only when default
MAINTAINERS | 2 +
config/riscv/meson.build | 27 ++++++++++++
lib/lpm/meson.build | 1 +
lib/lpm/rte_lpm.h | 2 +
lib/lpm/rte_lpm_rvv.h | 91 ++++++++++++++++++++++++++++++++++++++++
5 files changed, 123 insertions(+)
create mode 100644 lib/lpm/rte_lpm_rvv.h
--
2.49.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2 0/3] Add RISC-V V extension detection and LPM optimization
2025-06-04 13:07 ` uk7b
@ 2025-06-04 13:16 ` 孙越池
0 siblings, 0 replies; 4+ messages in thread
From: 孙越池 @ 2025-06-04 13:16 UTC (permalink / raw)
To: uk7b, dev
The previous v2 patch incorrectly used --in-reply-to, which caused a warning on Patchwork. This update only corrects the Reply-To field.
> -----原始邮件-----
> 发件人: uk7b@foxmail.com
> 发送时间: 2025-06-04 21:07:33 (星期三)
> 收件人: dev@dpdk.org
> 抄送: sunyuechi <sunyuechi@iscas.ac.cn>
> 主题: [PATCH v2 0/3] Add RISC-V V extension detection and LPM optimization
>
> From: sunyuechi <sunyuechi@iscas.ac.cn>
>
> This patch series adds support for the RISC-V Vector (V) extension and provides
> an optimized implementation of `rte_lpm_lookupx4` using RVV. It includes runtime
> detection of the V extension, conditional compilation based on compiler support
> for RVV intrinsics.
>
> Test results using lpm_perf_autotest on BPI-F3:
> scalar: 5.7 cycles
> rvv: 2.4 cycles
>
> ### v2:
> - Improved commit messages.
>
> sunyuechi (3):
> config/riscv: detect V extension
> lib/lpm: R-V V rte_lpm_lookupx4
> riscv: override machine_args only when default
>
> MAINTAINERS | 2 +
> config/riscv/meson.build | 27 ++++++++++++
> lib/lpm/meson.build | 1 +
> lib/lpm/rte_lpm.h | 2 +
> lib/lpm/rte_lpm_rvv.h | 91 ++++++++++++++++++++++++++++++++++++++++
> 5 files changed, 123 insertions(+)
> create mode 100644 lib/lpm/rte_lpm_rvv.h
>
> --
> 2.49.0
</sunyuechi@iscas.ac.cn></sunyuechi@iscas.ac.cn>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2 0/3] Add RISC-V V extension detection and LPM optimization
2025-05-28 16:57 [PATCH 1/3] config/riscv: detect V extension uk7b
2025-06-04 11:49 ` [PATCH v2 0/3] Add RISC-V V extension detection and LPM optimization uk7b
@ 2025-06-04 13:07 ` uk7b
2025-06-04 13:16 ` 孙越池
1 sibling, 1 reply; 4+ messages in thread
From: uk7b @ 2025-06-04 13:07 UTC (permalink / raw)
To: dev; +Cc: sunyuechi
From: sunyuechi <sunyuechi@iscas.ac.cn>
This patch series adds support for the RISC-V Vector (V) extension and provides
an optimized implementation of `rte_lpm_lookupx4` using RVV. It includes runtime
detection of the V extension, conditional compilation based on compiler support
for RVV intrinsics.
Test results using lpm_perf_autotest on BPI-F3:
scalar: 5.7 cycles
rvv: 2.4 cycles
### v2:
- Improved commit messages.
sunyuechi (3):
config/riscv: detect V extension
lib/lpm: R-V V rte_lpm_lookupx4
riscv: override machine_args only when default
MAINTAINERS | 2 +
config/riscv/meson.build | 27 ++++++++++++
lib/lpm/meson.build | 1 +
lib/lpm/rte_lpm.h | 2 +
lib/lpm/rte_lpm_rvv.h | 91 ++++++++++++++++++++++++++++++++++++++++
5 files changed, 123 insertions(+)
create mode 100644 lib/lpm/rte_lpm_rvv.h
--
2.49.0
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2 0/3] Add RISC-V V extension detection and LPM optimization
2025-05-28 16:57 [PATCH 1/3] config/riscv: detect V extension uk7b
@ 2025-06-04 11:49 ` uk7b
2025-06-04 13:07 ` uk7b
1 sibling, 0 replies; 4+ messages in thread
From: uk7b @ 2025-06-04 11:49 UTC (permalink / raw)
To: dev; +Cc: sunyuechi
From: sunyuechi <sunyuechi@iscas.ac.cn>
This patch series adds support for the RISC-V Vector (V) extension and provides
an optimized implementation of `rte_lpm_lookupx4` using RVV. It includes runtime
detection of the V extension, conditional compilation based on compiler support
for RVV intrinsics.
Test results using lpm_perf_autotest on BPI-F3:
scalar: 5.7 cycles
rvv: 2.4 cycles
### v2:
- Improved commit messages.
sunyuechi (3):
config/riscv: detect V extension
lib/lpm: R-V V rte_lpm_lookupx4
riscv: override machine_args only when default
MAINTAINERS | 2 +
config/riscv/meson.build | 27 ++++++++++++
lib/lpm/meson.build | 1 +
lib/lpm/rte_lpm.h | 2 +
lib/lpm/rte_lpm_rvv.h | 91 ++++++++++++++++++++++++++++++++++++++++
5 files changed, 123 insertions(+)
create mode 100644 lib/lpm/rte_lpm_rvv.h
--
2.49.0
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-06-04 13:16 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-04 11:31 [PATCH v2 0/3] Add RISC-V V extension detection and LPM optimization uk7b
-- strict thread matches above, loose matches on Subject: below --
2025-05-28 16:57 [PATCH 1/3] config/riscv: detect V extension uk7b
2025-06-04 11:49 ` [PATCH v2 0/3] Add RISC-V V extension detection and LPM optimization uk7b
2025-06-04 13:07 ` uk7b
2025-06-04 13:16 ` 孙越池
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).