Re: [PATCH 1/1] test/pmd_perf: handling of unknown connection speed

2022-06-27 Thread Heinrich Schuchardt
On 6/26/22 17:15, Thomas Monjalon wrote: 11/05/2022 18:33, Heinrich Schuchardt: When running DPDK in QEMU it cannot determine the connection speed. pmd_perf_autotest treats this as if the connection speed where UNIT32_MAX Mbps: RTE>>pmd_perf_autotest Start PMD RXTX cycles cos

[PATCH 1/1] doc: add author name on cc to git fixline alias

2022-06-12 Thread Heinrich Schuchardt
We should add both the author name and the author email address to the Cc: line of a blamed patch. Fixes: f9ef083c6cfe ("doc: add author on cc to git fixline alias") Cc: Harry van Haaren Signed-off-by: Heinrich Schuchardt --- doc/guides/contributing/patches.rst | 2 +- 1 file

Re: [PATCH] Fix RISC-V builds

2022-06-08 Thread Heinrich Schuchardt
On 6/8/22 12:01, David Marchand wrote: On Wed, Jun 8, 2022 at 11:56 AM Heinrich Schuchardt wrote: @Keith Maybe CONTRIBUTING.txt in that package should suggest a title prefix for PktGen patches to avoid future confusion. Yes, and I marked the patch as Not applicable in patchwork. See https

Re: [PATCH] Fix RISC-V builds

2022-06-08 Thread Heinrich Schuchardt
On 6/8/22 09:23, David Marchand wrote: Hello, On Mon, May 30, 2022 at 4:11 PM Heinrich Schuchardt wrote: Building on RISC-V results in an error cc: error: ‘-march=native’: ISA string must begin with rv32 or rv64 As GCC does not support -march=native on RISC-V avoid this argument

Re: [PATCH v4 0/8] Introduce support for RISC-V architecture

2022-06-08 Thread Heinrich Schuchardt
On 6/8/22 10:41, David Marchand wrote: On Tue, May 31, 2022 at 4:14 PM Stanislaw Kardach wrote: This patchset adds support for building and running DPDK on 64bit RISC-V architecture. The initial support targets rv64gc (rv64imafdc) ISA and was tested on SiFive Unmatched development board with t

[PATCH] test/hash: avoid out of bound access

2022-06-04 Thread Heinrich Schuchardt
Cc: Dharmik Thakkar Cc: sta...@dpdk.org Signed-off-by: Heinrich Schuchardt --- app/test/test_hash_readwrite_lf_perf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test/test_hash_readwrite_lf_perf.c b/app/test/test_hash_readwrite_lf_perf.c index 8120cf43be..32f9ec92

[PATCH] Fix RISC-V builds

2022-05-30 Thread Heinrich Schuchardt
Building on RISC-V results in an error cc: error: ‘-march=native’: ISA string must begin with rv32 or rv64 As GCC does not support -march=native on RISC-V avoid this argument. Signed-off-by: Heinrich Schuchardt --- meson.build | 5 - 1 file changed, 4 insertions(+), 1 deletion

Re: [PATCH v3 1/8] eal: add initial support for RISC-V architecture

2022-05-13 Thread Heinrich Schuchardt
On 5/13/22 10:42, Stanisław Kardach wrote: On Fri, May 13, 2022 at 8:50 AM Heinrich Schuchardt wrote: +Linux kernel + + +It is recommended to use Linux kernel built from +`SiFive Freedom Unleashed SDK <https://github.com/sifive/freedom-u-sdk>`_. How would the Unleashed SD

Re: [PATCH v3 1/8] eal: add initial support for RISC-V architecture

2022-05-12 Thread Heinrich Schuchardt
On 5/10/22 17:48, Stanislaw Kardach wrote: From: Michal Mazurek Add all necessary elements for DPDK to compile and run EAL on SiFive Freedom U740 SoC which is based on SiFive U74-MC (ISA: rv64imafdc) core complex. This includes: - EAL library implementation for rv64imafdc ISA. - meson buil

Re: [PATCH 00/11] Introduce support for RISC-V architecture

2022-05-12 Thread Heinrich Schuchardt
On 5/12/22 15:56, Stanisław Kardach wrote: On Thu, May 12, 2022 at 11:46 AM Heinrich Schuchardt wrote: The above failures for performance tests without a bound NIC can be reproduced on x86_64. So this is not RISC-V specific. With both ports of an Intel Corporation Ethernet Controller 10

Re: [PATCH 00/11] Introduce support for RISC-V architecture

2022-05-12 Thread Heinrich Schuchardt
On 5/12/22 10:35, Stanisław Kardach wrote: On Thu, May 12, 2022 at 10:04 AM Heinrich Schuchardt wrote: On 5/5/22 19:29, Stanislaw Kardach wrote: This patchset adds support for building and running DPDK on 64bit RISC-V architecture. The initial support targets rv64gc (rv64imafdc) ISA and was

Re: [PATCH 00/11] Introduce support for RISC-V architecture

2022-05-12 Thread Heinrich Schuchardt
On 5/5/22 19:29, Stanislaw Kardach wrote: This patchset adds support for building and running DPDK on 64bit RISC-V architecture. The initial support targets rv64gc (rv64imafdc) ISA and was tested on SiFive Unmatched development board with the Freedom U740 SoC running Linux (freedom-u-sdk based ke

[PATCH 1/1] test/pmd_perf: handling of unknown connection speed

2022-05-11 Thread Heinrich Schuchardt
. Just assume 10 Gbps in this case instead: ... Test will stop after at least 59523808 packets received Signed-off-by: Heinrich Schuchardt --- app/test/test_pmd_perf.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/app/test/test_pmd_perf.c b/ap

[PATCH 1/1] drivers: define OPENSSL_API_COMPAT

2022-05-10 Thread Heinrich Schuchardt
elder OpenSSL libraries we cannot change the used API now. Instead define OPENSSL_API_COMPAT to indicate that we are using the OpenSSL 1.1.0 API. OPENSSL_API_COMPAT is introduced in *.c files and not in *.h files as some *.c files directly include OpenSSL headers. Signed-off-by: Heinrich Schuchardt