[PATCH v2] vhost: add runtime locking check in unsafe APIs

2022-05-10 Thread Maxime Coquelin
This patch adds runtime checks in unsafe Vhost async APIs, to ensure the access lock is taken. The detection won't work every time, as another thread could take the lock, but it would help to detect misuse of these unsafe API. Signed-off-by: Maxime Coquelin --- lib/vhost/vhost.c | 18 +

RE: [PATCH 2/2] net/bnxt: remove some dead code

2022-05-10 Thread Ruifeng Wang
> -Original Message- > From: Ruifeng Wang > Sent: Tuesday, May 10, 2022 2:31 PM > To: Ajit Khaparde (ajit.khapa...@broadcom.com) > ; somnath.ko...@broadcom.com > Cc: dev@dpdk.org; Honnappa Nagarahalli > ; nd ; Ruifeng Wang > ; Kathleen Capella > Subject: [PATCH 2/2] net/bnxt: remove some

[PATCH v2] net/i40e: fix max frame size config at port level

2022-05-10 Thread wenxuanx . wu
From: Wenxuan Wu Previously, max frame size can only be set when link is up, and the wait time is 1 sec. For media type of I40E_10G_BASET would consume longer time which is too short to up would result in error. Acctually, max frame size of media type I40E_MEDIA_TYPE_BASET can be set regardless

RE: [PATCH v4 2/2] config/arm: disable SVE ACLE for cn10k

2022-05-10 Thread Honnappa Nagarahalli
> > -Original Message- > > From: Rahul Bhansali > > Sent: Monday, May 9, 2022 6:20 PM > > To: dev@dpdk.org; Jan Viktorin ; Ruifeng Wang > > ; Bruce Richardson > > > Cc: jer...@marvell.com; Rahul Bhansali > > Subject: [PATCH v4 2/2] config/arm: disable SVE ACLE for cn10k > > > > This dis

RE: [PATCH v4 1/2] config/arm: add SVE ACLE control flag

2022-05-10 Thread Honnappa Nagarahalli
> > > > This add the control flag for SVE ACLE to enable or disable ^^^ typo? > > RTE_HAS_SVE_ACLE macro in the build. > > > > Signed-off-by: Rahul Bhansali > > --- > Acked-by: Ruifeng Wang

[PATCH v6 5/5] ethdev: format module EEPROM for SFF-8636

2022-05-10 Thread Robin Zhang
This patch implements format module EEPROM information for SFF-8636 Rev 2.7 Signed-off-by: Robin Zhang --- lib/ethdev/ethdev_sff_telemetry.c | 4 + lib/ethdev/meson.build| 1 + lib/ethdev/sff_8636.c | 775 ++ lib/ethdev/sff_8636.h

[PATCH v6 4/5] ethdev: format module EEPROM for SFF-8472

2022-05-10 Thread Robin Zhang
This patch implements format module EEPROM information for SFF-8472 Rev 12.0 Signed-off-by: Robin Zhang --- lib/ethdev/ethdev_sff_telemetry.c | 4 + lib/ethdev/meson.build| 1 + lib/ethdev/sff_8472.c | 287 ++ 3 files changed, 292 insertion

[PATCH v6 3/5] ethdev: format module EEPROM for SFF-8079

2022-05-10 Thread Robin Zhang
This patch implements format module EEPROM information for SFF-8079 Rev 1.7 Signed-off-by: Robin Zhang --- lib/ethdev/ethdev_sff_telemetry.c | 3 + lib/ethdev/meson.build| 1 + lib/ethdev/sff_8079.c | 406 ++ 3 files changed, 410 insertions

[PATCH v6 2/5] ethdev: common utilities for different SFF specs

2022-05-10 Thread Robin Zhang
This patch implements SFF-8024 Rev 4.0 of pluggable I/O configuration and some common utilities for SFF-8436/8636 and SFF-8472/8079. Signed-off-by: Robin Zhang --- lib/ethdev/meson.build | 1 + lib/ethdev/sff_common.c | 326 lib/ethdev/sff_common.h | 1

[PATCH v6 1/5] ethdev: add telemetry command for module EEPROM

2022-05-10 Thread Robin Zhang
Add a new telemetry command /ethdev/module_eeprom to dump the module EEPROM of each port. The format of module EEPROM information follows the SFF(Small Form Factor) Committee specifications. Signed-off-by: Robin Zhang --- lib/ethdev/ethdev_sff_telemetry.c | 138 ++ li

[PATCH v6 0/5] add telemetry command for show module EEPROM

2022-05-10 Thread Robin Zhang
Introduce a new telemetry command /ethdev/module_eeprom to show module EEPROM for each port. The format of module EEPROM information follows the SFF(Small Form Factor) Committee specifications. Current the format support SFP(Small Formfactor Pluggable)/SFP+/ QSFP+(Quad Small Formfactor Pluggable)/

[PATCH v2] net/i40e: fix max frame size config at port level

2022-05-10 Thread wenxuanx . wu
From: Wenxuan Wu Previously, max frame size can only be set when link is up, and the wait time is 1 sec. For media type of I40E_10G_BASET would consume longer time which is too short to up would result in error. Acctually, max frame size of media type I40E_MEDIA_TYPE_BASET can be set regardless

RE: [PATCH] vhost: add runtime locking check in unsafe APIs

2022-05-10 Thread Hu, Jiayu
> -Original Message- > From: Maxime Coquelin > Sent: Tuesday, May 10, 2022 5:14 PM > To: Hu, Jiayu ; dev@dpdk.org; Xia, Chenbo > ; Ding, Xuan ; Jiang, Cheng1 > ; Pai G, Sunil ; > david.march...@redhat.com > Subject: Re: [PATCH] vhost: add runtime locking check in unsafe APIs > > Hi Jiay

[PATCH] app/testpmd: perform SW IP checksum for GRO packets

2022-05-10 Thread Wenwu Ma
The GRO library doesn't re-calculate checksums for merged packets. If users want the merged packets to have correct IP checksums, they should select HW IP checksum calculation for the port which the merged packets are transmitted to. But if the port doesn't support HW IP checksum, users may perform

RE: [PATCH v4 2/2] config/arm: disable SVE ACLE for cn10k

2022-05-10 Thread Ruifeng Wang
> -Original Message- > From: Rahul Bhansali > Sent: Monday, May 9, 2022 6:20 PM > To: dev@dpdk.org; Jan Viktorin ; Ruifeng Wang > ; Bruce Richardson > Cc: jer...@marvell.com; Rahul Bhansali > Subject: [PATCH v4 2/2] config/arm: disable SVE ACLE for cn10k > > This disable the sve_acle fl

RE: [PATCH v4 1/2] config/arm: add SVE ACLE control flag

2022-05-10 Thread Ruifeng Wang
> -Original Message- > From: Rahul Bhansali > Sent: Monday, May 9, 2022 6:20 PM > To: dev@dpdk.org; Ruifeng Wang ; Jan Viktorin > ; Bruce Richardson > Cc: jer...@marvell.com; Rahul Bhansali > Subject: [PATCH v4 1/2] config/arm: add SVE ACLE control flag > > This add the control flag for

[PATCH v4] net/nfp: make sure MTU is never larger than mbufsize

2022-05-10 Thread Peng Zhang
Setting a MTU larger than mbufsize is not supported by the device but not prohibited by the driver. This change adds a restriction to the driver to prevent setting an MTU that is too large. While at it define the minimum MTU in the device information to describe the complete supported MTU range.

RE: [PATCH v7 12/12] net/ice: support DCF new VLAN capabilities

2022-05-10 Thread Zhang, Qi Z
> -Original Message- > From: Liu, KevinX > Sent: Friday, April 29, 2022 5:20 PM > To: dev@dpdk.org > Cc: Yang, Qiming ; Zhang, Qi Z > ; Yang, SteveX ; Alvin Zhang > ; Liu, KevinX > Subject: [PATCH v7 12/12] net/ice: support DCF new VLAN capabilities Refine the title as " complete VLAN

RE: [PATCH v2] net/iavf: fix mismatch between rx_pkt_burst and RX descriptor

2022-05-10 Thread Zhang, Qi Z
> -Original Message- > From: Zhang, Qi Z > Sent: Monday, May 9, 2022 10:05 AM > To: Zhou, YidingX ; dev@dpdk.org; Wu, Jingjing > ; Xing, Beilei > Cc: Yang, Qiming ; sta...@dpdk.org; Yeleswarapu, > Ramamani > Subject: RE: [PATCH v2] net/iavf: fix mismatch between rx_pkt_burst and RX >

RE: [PATCH 09/11] test/ring: disable problematic tests for RISC-V

2022-05-10 Thread Honnappa Nagarahalli
> > When compiling for RISC-V in debug mode the large amount of inlining in > test_ring_basic_ex() and test_ring_with_exact_size() (in test_ring.c) leads to > large loop bodies. This causes 'goto' and 'for' loop PC-relative jumps > generated > by the compiler to go beyond the architecture limit

RE: [PATCH 1/1] test/ring: remove excessive inlining

2022-05-10 Thread Honnappa Nagarahalli
+ Bruce, Stephen > > Forcing inlining in test_ring_enqueue and test_ring_dequeue can cause the > compiled code to grow extensively when compiled with no optimization > (-O0 or -Og). This is default in the meson's debug configuration. This can > collide > with compiler bugs and cause issues dur

RE: [PATCH v1 3/5] ethdev: add API for direct rearm mode

2022-05-10 Thread Honnappa Nagarahalli
> > > > On 4/20/22 11:16, Feifei Wang wrote: > > > Add API for enabling direct rearm mode and for mapping RX and TX > > > queues. Currently, the API supports 1:1(txq : rxq) mapping. > > > > > > Suggested-by: Honnappa Nagarahalli > > > Signed-off-by: Feifei Wang > > > Reviewed-by: Ruifeng Wang

RE: [PATCH 1/1] test/hash: report non HTM numbers for single r/w

2022-05-10 Thread Wang, Yipeng1
> -Original Message- > From: Stanislaw Kardach > Sent: Tuesday, May 10, 2022 4:58 AM > To: Wang, Yipeng1 > Cc: Stanislaw Kardach ; dev@dpdk.org; Frank Zhao > ; Sam Grove ; > m...@semihalf.com; upstr...@semihalf.com > Subject: [PATCH 1/1] test/hash: report non HTM numbers for single r/w >

RE: [PATCH v1 5/5] examples/l3fwd: enable direct rearm mode

2022-05-10 Thread Honnappa Nagarahalli
(apologies for the late response, this one slipped my mind) Appreciate if others could weigh their opinions. > > > From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com] > > Sent: Thursday, 21 April 2022 04.35 > > > > > > > From: Feifei Wang [mailto:feifei.wa...@arm.com] > > > > Sent:

Re: [PATCH v5 1/3] eal: add basic thread ID and current thread identifier API

2022-05-10 Thread Konstantin Ananyev
07/05/2022 20:47, Morten Brørup пишет: From: Konstantin Ananyev [mailto:konstantin.v.anan...@yandex.ru] Sent: Saturday, 7 May 2022 15.58 Hi Morten, From: Konstantin Ananyev [mailto:konstantin.v.anan...@yandex.ru] Sent: Friday, 6 May 2022 21.38 05/05/2022 08:11, Tyler Retzlaff пишет: On Wed,

Re: [PATCH v3 3/5] app/testpmd: fix port status of slave device

2022-05-10 Thread Konstantin Ananyev
Hi Ferruh, On 5/6/2022 9:16 AM, Min Hu (Connor) wrote: Hi, Konstantin, 在 2022/5/4 7:39, Konstantin Ananyev 写道: 03/05/2022 11:02, Min Hu (Connor) пишет: From: Huisong Li Starting or stopping a bonded port also starts or stops all active slaves under the bonded port. If this port is a bon

[PATCH 4/5] vhost: add statistics for IOTLB

2022-05-10 Thread Maxime Coquelin
This patch adds statistics for IOTLB hits and misses. Signed-off-by: Maxime Coquelin --- lib/vhost/vhost.c | 10 +- lib/vhost/vhost.h | 2 ++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/lib/vhost/vhost.c b/lib/vhost/vhost.c index fa708c1f9c..721b3a3247 100644 --- a/li

[PATCH 5/5] vhost: add statistics for in-flight packets

2022-05-10 Thread Maxime Coquelin
This patch adds statistics for packets in-flight submission and completion, when Vhost async mode is used. Signed-off-by: Maxime Coquelin --- lib/vhost/vhost.c | 2 ++ lib/vhost/vhost.h | 2 ++ lib/vhost/virtio_net.c | 6 ++ 3 files changed, 10 insertions(+) diff --git a/lib/vhost

[PATCH 3/5] vhost: add statistics for guest notifications

2022-05-10 Thread Maxime Coquelin
This patch adds a new virtqueue statistic for guest notifications. It is useful to deduce from hypervisor side whether the corresponding guest Virtio device is using Kernel Virtio-net driver or DPDK Virtio PMD. Signed-off-by: Maxime Coquelin Reviewed-by: Chenbo Xia --- lib/vhost/vhost.c | 1 +

[PATCH 2/5] net/vhost: move to Vhost library stats API

2022-05-10 Thread Maxime Coquelin
Now that we have Vhost statistics APIs, this patch replaces Vhost PMD extended statistics implementation with calls to the new API. It will enable getting more statistics for counters that cannot be implemented at the PMD level. Signed-off-by: Maxime Coquelin Reviewed-by: Chenbo Xia --- drivers

[PATCH 0/5] vhost: introduce per-virtqueue stats API

2022-05-10 Thread Maxime Coquelin
This series introduces a new Vhost API that provides per-virtqueue statistics to the application. It will be generally useful, but initial motivation for this series was to be able to get to get virtqueues stats when Virtio RSS feature will be supported in Vhost library. First patch introduces the

[PATCH 1/5] vhost: add per-virtqueue statistics support

2022-05-10 Thread Maxime Coquelin
This patch introduces new APIs for the application to query and reset per-virtqueue statistics. The patch also introduces generic counters. Signed-off-by: Maxime Coquelin --- doc/guides/prog_guide/vhost_lib.rst | 24 ++ lib/vhost/rte_vhost.h | 99 lib

Re: [dpdk-dev] [PATCH v3 6/7] app/proc-info: provide way to request info on owned ports

2022-05-10 Thread Stephen Hemminger
On Tue, 10 May 2022 14:39:05 +0530 Subendu Santra wrote: > Hi Stephen, Thomas, > > On a related note w.r.to commit 1dd6cffb6571f816d5a0d1fd620f43532240b40b > (app/procinfo: provide way to request info on owned ports), we see this > change: > > -static uint32_t enabled_port_mask; > > +static uns

Re: [PATCH v2 2/2] ci: build some job with ASan

2022-05-10 Thread Aaron Conole
David Marchand writes: > Enable ASan, this can greatly help identify leaks and buffer overflows. > Running unit tests relying on multiprocess is unreliable with ASan > enabled, so skip them. > > Signed-off-by: David Marchand > --- > Changes since v1: > - reinstated table_autotest in "ASan-safe"

[PATCH] net/ixgbe: Limit SDP3 check of TX_DISABLE to appropriate devices

2022-05-10 Thread Jeff Daly
1ca05831b9b added a check that SDP3 (used as a TX_DISABLE output to the SFP cage on these cards) is not asserted to avoid incorrectly reporting link up when the SFP's laser is turned off. ff8162cb957 limited this workaround to fiber ports This patch: * Adds devarg 'fiber_sdp3_no_tx_disable' not a

RE: [Patch v2] net/netvsc: report correct stats values

2022-05-10 Thread Long Li
> Subject: Re: [Patch v2] net/netvsc: report correct stats values > > On 5/10/2022 6:33 AM, Long Li wrote: > >> Subject: Re: [Patch v2] net/netvsc: report correct stats values > >> > >> On 5/5/2022 5:40 PM, Stephen Hemminger wrote: > >>> On Thu, 5 May 2022 17:28:38 +0100 > >>> Ferruh Yigit wrote:

RE: [PATCH] net/i40e: fix max frmame size config at port level

2022-05-10 Thread Zhang, Yuying
Hi Wenxuan, > -Original Message- > Date: Thu, 28 Apr 2022 11:12:24 + > From: wenxuanx...@intel.com > To: beilei.x...@intel.com,dev@dpdk.org > Cc: wenxuanx...@intel.com,yidingx.z...@intel.com, > sta...@dpdk.org > Subject: [PATCH] net/i40e: fix max frmame size config at por

Re: [PATCH v3 3/5] app/testpmd: fix port status of slave device

2022-05-10 Thread Ferruh Yigit
On 5/6/2022 9:16 AM, Min Hu (Connor) wrote: Hi, Konstantin, 在 2022/5/4 7:39, Konstantin Ananyev 写道: 03/05/2022 11:02, Min Hu (Connor) пишет: From: Huisong Li Starting or stopping a bonded port also starts or stops all active slaves under the bonded port. If this port is a bonded device, we

Re: [PATCH 1/4] net/dpaa2: update mc to 10.32

2022-05-10 Thread Ferruh Yigit
On 4/22/2022 5:57 AM, Gagandeep Singh wrote: From: Rohit Raj Updating the management complex to version 10.32 Signed-off-by: Rohit Raj Signed-off-by: Gagandeep Singh For series, Acked-by: Hemant Agrawal Series applied to dpdk-next-net/main, thanks.

Re: [PATCH 5/5] net/cxgbe: read firmware configuration file from filesystem

2022-05-10 Thread Thomas Monjalon
10/05/2022 17:05, Rahul Lakkireddy: > On Tuesday, May 05/10/22, 2022 at 16:30:59 +0200, Thomas Monjalon wrote: > > 10/05/2022 16:11, Rahul Lakkireddy: > > > On Tuesday, May 05/10/22, 2022 at 11:02:05 +0200, Thomas Monjalon wrote: > > > > 06/05/2022 13:36, Rahul Lakkireddy: > > > > > The Chelsio FW

Re: [PATCH v3 3/3] net/iavf: improve performance of Rx timestamp offload

2022-05-10 Thread Thomas Monjalon
28/04/2022 10:13, Simei Su: > In this patch, We use CPU ticks instead of HW register > to determine whether low 32 bits timestamp has turned > over. It can avoid requesting register value frequently > and improve receiving performance. > > Signed-off-by: Wenjun Wu It seems you've lost original a

RE: [EXT] Re: [PATCH] doc: update Linux core isolation guide

2022-05-10 Thread Pavan Nikhilesh Bhagavatula
> On Mon, 2 May 2022 12:54:14 +0530 > Pavan Nikhilesh wrote: > > > Update Linux core isolation guide to include isolation from > > timers, rcu processing and IRQs. > > > > Signed-off-by: Pavan Nikhilesh > > --- > > doc/guides/linux_gsg/enable_func.rst | 10 +- > > 1 file changed, 5 inse

[PATCH v3 8/8] ci: add RISCV64 cross compilation job

2022-05-10 Thread Stanislaw Kardach
Checks cross-compilation using Ubuntu 20.04 x86. Signed-off-by: David Marchand Signed-off-by: Stanislaw Kardach --- .ci/linux-build.sh | 4 .github/workflows/build.yml | 11 ++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.ci/linux-build.sh b/.ci/linux-

[PATCH v3 7/8] devtools: add RISC-V to test-meson-builds.sh

2022-05-10 Thread Stanislaw Kardach
Validate RISC-V compilation when test-meson-builds.sh is called. The check will be only performed if appropriate toolchain is present on the system (same as with other architectures). Sponsored-by: Frank Zhao Sponsored-by: Sam Grove Signed-off-by: Stanislaw Kardach --- devtools/test-meson-buil

[PATCH v3 6/8] test/cpuflags: add test for RISC-V cpu flag

2022-05-10 Thread Stanislaw Kardach
From: Michal Mazurek Add checks for all flag values defined in the RISC-V misa CSR register. Sponsored-by: Frank Zhao Sponsored-by: Sam Grove Signed-off-by: Michal Mazurek Signed-off-by: Stanislaw Kardach --- app/test/test_cpuflags.c | 81 1 file cha

[PATCH v3 5/8] examples/l3fwd: enable RISC-V operation

2022-05-10 Thread Stanislaw Kardach
Add missing em_mask_key() implementation and fix l3fwd_common.h inclusion in FIB lookup functions to enable the l3fwd to be run on RISC-V. Sponsored-by: Frank Zhao Sponsored-by: Sam Grove Signed-off-by: Stanislaw Kardach --- examples/l3fwd/l3fwd_em.c | 8 examples/l3fwd/l3fwd_fib.c |

[PATCH v3 4/8] net/tap: set BPF syscall ID for RISC-V

2022-05-10 Thread Stanislaw Kardach
Define the missing __NR_bpf syscall id to enable the tap PMD. Sponsored-by: Frank Zhao Sponsored-by: Sam Grove Signed-off-by: Stanislaw Kardach --- drivers/net/tap/meson.build | 5 - drivers/net/tap/tap_bpf.h | 2 ++ 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/

[PATCH v3 3/8] net/memif: set memfd syscall ID on RISC-V

2022-05-10 Thread Stanislaw Kardach
Define the missing __NR_memfd_create syscall id to enable the memif PMD. Sponsored-by: Frank Zhao Sponsored-by: Sam Grove Signed-off-by: Stanislaw Kardach --- drivers/net/memif/meson.build | 5 - drivers/net/memif/rte_eth_memif.h | 2 ++ 2 files changed, 2 insertions(+), 5 deletions(-)

[PATCH v3 2/8] net/ixgbe: enable vector stubs for RISC-V

2022-05-10 Thread Stanislaw Kardach
Re-use vector processing stubs in ixgbe PMD defined for PPC for RISC-V. This enables ixgbe PMD usage in scalar mode on this architecture. The ixgbe PMD driver was validated with Intel X520-DA2 NIC and the test-pmd application. Packet transfer checked using all UIO drivers available for non-IOMMU p

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

2022-05-10 Thread Stanislaw Kardach
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 build structure for 'riscv' architecture. RTE_ARCH_R

[PATCH v3 0/8] Introduce support for RISC-V architecture

2022-05-10 Thread Stanislaw Kardach
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 kernel). I have tested this codebase using DPD

Re: [PATCH v2 7/8] devtools: add RISC-V to test-meson-builds.sh

2022-05-10 Thread Stanisław Kardach
On Tue, May 10, 2022 at 5:08 PM Stanislaw Kardach wrote: > Validate RISC-V compilation when test-meson-builds.sh is called. The > check will be only performed if appropriate toolchain is present on the > system (same as with other architectures). > > Sponsored-by: Frank Zhao > Sponsored-by: Sam

[PATCH v2 8/8] ci: add RISCV64 cross compilation job

2022-05-10 Thread Stanislaw Kardach
Checks cross-compilation using Ubuntu 20.04 x86. Signed-off-by: David Marchand Signed-off-by: Stanislaw Kardach --- .ci/linux-build.sh | 4 .github/workflows/build.yml | 11 ++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.ci/linux-build.sh b/.ci/linux-

[PATCH v2 7/8] devtools: add RISC-V to test-meson-builds.sh

2022-05-10 Thread Stanislaw Kardach
Validate RISC-V compilation when test-meson-builds.sh is called. The check will be only performed if appropriate toolchain is present on the system (same as with other architectures). Sponsored-by: Frank Zhao Sponsored-by: Sam Grove Signed-off-by: Stanislaw Kardach --- devtools/test-meson-buil

[PATCH v2 6/8] test/cpuflags: add test for RISC-V cpu flag

2022-05-10 Thread Stanislaw Kardach
From: Michal Mazurek Add checks for all flag values defined in the RISC-V misa CSR register. Sponsored-by: Frank Zhao Sponsored-by: Sam Grove Signed-off-by: Michal Mazurek Signed-off-by: Stanislaw Kardach --- app/test/test_cpuflags.c | 81 1 file cha

[PATCH v2 5/8] examples/l3fwd: enable RISC-V operation

2022-05-10 Thread Stanislaw Kardach
Add missing em_mask_key() implementation and fix l3fwd_common.h inclusion in FIB lookup functions to enable the l3fwd to be run on RISC-V. Sponsored-by: Frank Zhao Sponsored-by: Sam Grove Signed-off-by: Stanislaw Kardach --- examples/l3fwd/l3fwd_em.c | 8 examples/l3fwd/l3fwd_fib.c |

[PATCH v2 4/8] net/tap: set BPF syscall ID for RISC-V

2022-05-10 Thread Stanislaw Kardach
Define the missing __NR_bpf syscall id to enable the tap PMD. Sponsored-by: Frank Zhao Sponsored-by: Sam Grove Signed-off-by: Stanislaw Kardach --- drivers/net/tap/meson.build | 5 - drivers/net/tap/tap_bpf.h | 2 ++ 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/

[PATCH v2 3/8] net/memif: set memfd syscall ID on RISC-V

2022-05-10 Thread Stanislaw Kardach
Define the missing __NR_memfd_create syscall id to enable the memif PMD. Sponsored-by: Frank Zhao Sponsored-by: Sam Grove Signed-off-by: Stanislaw Kardach --- drivers/net/memif/meson.build | 5 - drivers/net/memif/rte_eth_memif.h | 2 ++ 2 files changed, 2 insertions(+), 5 deletions(-)

[PATCH v2 2/8] net/ixgbe: enable vector stubs for RISC-V

2022-05-10 Thread Stanislaw Kardach
Re-use vector processing stubs in ixgbe PMD defined for PPC for RISC-V. This enables ixgbe PMD usage in scalar mode on this architecture. The ixgbe PMD driver was validated with Intel X520-DA2 NIC and the test-pmd application. Packet transfer checked using all UIO drivers available for non-IOMMU p

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

2022-05-10 Thread Stanislaw Kardach
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 build structure for 'riscv' architecture. RTE_ARCH_R

[PATCH v2 0/8] Introduce support for RISC-V architecture

2022-05-10 Thread Stanislaw Kardach
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 kernel). I have tested this codebase using DPD

[PATCH 1/1] drivers: define OPENSSL_API_COMPAT

2022-05-10 Thread Heinrich Schuchardt
The API of the OpenSSL library has changed with version 3.0. This results in a lot of compiler warnings like ../dpdk/drivers/crypto/ccp/ccp_crypto.c:182:9: warning: ‘SHA256_Transform’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] As many Linux distributions still use el

Re: [PATCH 5/5] net/cxgbe: read firmware configuration file from filesystem

2022-05-10 Thread Rahul Lakkireddy
On Tuesday, May 05/10/22, 2022 at 16:30:59 +0200, Thomas Monjalon wrote: > 10/05/2022 16:11, Rahul Lakkireddy: > > On Tuesday, May 05/10/22, 2022 at 11:02:05 +0200, Thomas Monjalon wrote: > > > 06/05/2022 13:36, Rahul Lakkireddy: > > > > The Chelsio FW config file contains a list of register=value

RE: [PATCH] crypto/qat: enable asymmetric crypto on gen4 device

2022-05-10 Thread Ji, Kai
Acked-by: Ji, Kai > -Original Message- > From: Arek Kusztal > Sent: Thursday, April 7, 2022 10:47 AM > To: dev@dpdk.org > Cc: gak...@marvell.com; Zhang, Roy Fan ; Kusztal, > ArkadiuszX > Subject: [PATCH] crypto/qat: enable asymmetric crypto on gen4 device > > This commit enables asymme

Re: [PATCH v2 5/5] baseband/acc100: add protection for some negative scenario

2022-05-10 Thread Thomas Monjalon
10/05/2022 14:11, Tom Rix: > On 5/9/22 2:45 PM, Chautru, Nicolas wrote: > > From: Tom Rix > >> On 4/27/22 11:17 AM, Nicolas Chautru wrote: > >>> Catch exception in PMD in case of invalid input parameter. > >> It is not clear if this is 1 fix or 2. > >> > >> But it does look like an acc100 fix so i

RE: OVS DPDK DMA-Dev library/Design Discussion

2022-05-10 Thread Van Haaren, Harry
> -Original Message- > From: Van Haaren, Harry > Sent: Tuesday, May 3, 2022 8:38 PM > To: Ilya Maximets ; Richardson, Bruce > > Cc: Mcnamara, John ; Hu, Jiayu ; > Maxime Coquelin ; Morten Brørup > ; Pai G, Sunil ; Stokes, > Ian > ; Ferriter, Cian ; ovs- > d...@openvswitch.org; dev@dpdk.or

Re: [PATCH] eventdev: fix telemetry Rx adapters stats reset

2022-05-10 Thread Jerin Jacob
On Fri, Mar 25, 2022 at 3:02 PM Jayatheerthan, Jay wrote: > > Looks good, thanks for posting this change. > > Acked-by: Jay Jayatheerthan Changed the subject as: ventdev/eth_rx: fix telemetry Rx adapters stats reset and Applied to dpdk-next-eventdev/for-main. Thanks. > > -Jay > > > > > -Or

Re: [PATCH v5 28/28] common/cnxk: add support for per-port RQ in inline device

2022-05-10 Thread Jerin Jacob
On Sun, May 8, 2022 at 1:22 PM Nithin Dabilpuram wrote: > > Add support for per port RQ in inline device thereby using > Aura/Pool attributes from that port specific first RQ. > When inline device is used with channel masking, it will > fallback to single RQ for all ethdev ports. > > Also remove c

Re: [PATCH 5/5] net/cxgbe: read firmware configuration file from filesystem

2022-05-10 Thread Thomas Monjalon
10/05/2022 16:11, Rahul Lakkireddy: > On Tuesday, May 05/10/22, 2022 at 11:02:05 +0200, Thomas Monjalon wrote: > > 06/05/2022 13:36, Rahul Lakkireddy: > > > The Chelsio FW config file contains a list of register=value pairs to > > > change configuration of the NIC before firmware is initialized. >

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

2022-05-10 Thread Thomas Monjalon
10/05/2022 16:00, Stanisław Kardach: > On Tue, May 10, 2022 at 2:32 PM Thomas Monjalon wrote: > > > 10/05/2022 13:21, Stanisław Kardach: > > > > > > Using "Sponsored by:" does not trigger checks above (still feels like a > > > hack). > > > > Agree it is a hack, > > and not having the hyphen break

Re: [PATCH v2 5/5] vhost: add statistics for IOTLB

2022-05-10 Thread Maxime Coquelin
On 4/25/22 14:10, Xia, Chenbo wrote: Hi Maxime, -Original Message- From: Maxime Coquelin Sent: Thursday, March 24, 2022 8:47 PM To: dev@dpdk.org; Xia, Chenbo ; david.march...@redhat.com; i.maxim...@ovn.org Cc: Maxime Coquelin Subject: [PATCH v2 5/5] vhost: add statistics for IOTLB

Re: [PATCH 5/5] net/cxgbe: read firmware configuration file from filesystem

2022-05-10 Thread Rahul Lakkireddy
On Tuesday, May 05/10/22, 2022 at 11:02:05 +0200, Thomas Monjalon wrote: > 06/05/2022 13:36, Rahul Lakkireddy: > > The Chelsio FW config file contains a list of register=value pairs to > > change configuration of the NIC before firmware is initialized. > > It closely resembles the INI file format.

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

2022-05-10 Thread Stanisław Kardach
On Tue, May 10, 2022 at 2:32 PM Thomas Monjalon wrote: > 10/05/2022 13:21, Stanisław Kardach: > > > > Using "Sponsored by:" does not trigger checks above (still feels like a > > hack). > > Agree it is a hack, > and not having the hyphen breaks my Vim colouring :) > > We can ignore this checkpatch

[PATCH] app/procinfo: show all non-owned ports

2022-05-10 Thread Subendu Santra
Show all non-owned ports when no port mask is specified Fixes: 1dd6cffb6571 ("app/procinfo: provide way to request info on owned ports") Cc: step...@networkplumber.org Signed-off-by: Subendu Santra --- app/proc-info/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/

RE: [PATCH 1/4] net/dpaa2: update mc to 10.32

2022-05-10 Thread Hemant Agrawal
Hi Ferruh, I am ok for it. You can add: Acked-by: Hemant Agrawal > -Original Message- > From: Ferruh Yigit > Sent: Tuesday, May 10, 2022 6:22 PM > To: Gagandeep Singh ; dev@dpdk.org; Hemant Agrawal > ; Sachin Saxena (OSS) > > Cc: Rohit Raj > Subject: Re: [PATCH 1/4] net/dpaa2

Re: [PATCH 1/4] net/dpaa2: update mc to 10.32

2022-05-10 Thread Ferruh Yigit
On 4/22/2022 5:57 AM, Gagandeep Singh wrote: From: Rohit Raj Updating the management complex to version 10.32 Signed-off-by: Rohit Raj Signed-off-by: Gagandeep Singh Hi Hemant, Sachin, The set looks good to me, do you have any comment/review?

Re: [PATCH v2] net/nfp: update how MAX MTU is read

2022-05-10 Thread Ferruh Yigit
On 4/20/2022 2:46 PM, Walter Heymans wrote: The 'max_rx_pktlen' value was previously read from hardware, which was set by the running firmware. This caused confusion due to different meanings of 'MAX_MTU'. This patch updates the 'max_rx_pktlen' to the maximum value that the NFP NIC can support. T

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

2022-05-10 Thread Thomas Monjalon
10/05/2022 13:21, Stanisław Kardach: > On Mon, May 9, 2022 at 4:31 PM David Marchand > wrote: > > >> About the new "Sponsored-by" tag, it should not raise warnings in the > > >> CI if we agree on its addition. > > > > > > I'll modify it in V2 to be in form of: > > > Sponsored by: StarFive Techno

Re: [PATCH v2 5/5] baseband/acc100: add protection for some negative scenario

2022-05-10 Thread Tom Rix
On 5/9/22 2:45 PM, Chautru, Nicolas wrote: Hi Tom, -Original Message- From: Tom Rix Sent: Sunday, May 8, 2022 6:56 AM To: Chautru, Nicolas ; dev@dpdk.org; gak...@marvell.com Cc: tho...@monjalon.net; Kinsella, Ray ; Richardson, Bruce ; hemant.agra...@nxp.com; Zhang, Mingshan ; david.m

Re: [PATCH v2 3/5] baseband/acc100: configuration of ACC101 from PF

2022-05-10 Thread Tom Rix
On 5/9/22 2:36 PM, Chautru, Nicolas wrote: -Original Message- From: Tom Rix Sent: Sunday, May 8, 2022 6:38 AM To: Chautru, Nicolas ; dev@dpdk.org; gak...@marvell.com Cc: tho...@monjalon.net; Kinsella, Ray ; Richardson, Bruce ; hemant.agra...@nxp.com; Zhang, Mingshan ; david.march...@

[PATCH 1/1] examples/l3fwd: fix scalar LPM compilation

2022-05-10 Thread Stanislaw Kardach
The lpm_process_event_pkt() can either process a packet using an architecture specific (defined for X86/SSE, ARM/Neon and PPC64/Altivec) path or a scalar one. The choice is however done using an ifdef pre-processor macro. Because of that the scalar version was apparently not widely excersized/compi

[PATCH 1/1] lpm: add a scalar version of lookupx4 function

2022-05-10 Thread Stanislaw Kardach
From: Michal Mazurek Add an implementation of the rte_lpm_lookupx4() function for platforms without support for vector operations. This will be useful in the upcoming RISC-V port as well as any platform which may want to start with a basic level of LPM support. Signed-off-by: Michal Mazurek Si

[PATCH 1/1] test/ring: remove excessive inlining

2022-05-10 Thread Stanislaw Kardach
Forcing inlining in test_ring_enqueue and test_ring_dequeue can cause the compiled code to grow extensively when compiled with no optimization (-O0 or -Og). This is default in the meson's debug configuration. This can collide with compiler bugs and cause issues during linking of unit tests where th

[PATCH 1/1] test/hash: report non HTM numbers for single r/w

2022-05-10 Thread Stanislaw Kardach
In hash_readwrite_perf_autotest a single read and write operation is benchmarked for both HTM and non HTM cases. However the result summary only shows the HTM value. Therefore add the non HTM value for completeness. Fixes: 0eb3726ebcf1 ("test/hash: add test for read/write concurrency") Signed-off

Re: [PATCH v2 1/5] baseband/acc100: introduce PMD for ACC101

2022-05-10 Thread Tom Rix
On 5/9/22 2:23 PM, Chautru, Nicolas wrote: Hi Tom, -Original Message- From: Tom Rix Sent: Sunday, May 8, 2022 6:03 AM To: Chautru, Nicolas ; dev@dpdk.org; gak...@marvell.com Cc: tho...@monjalon.net; Kinsella, Ray ; Richardson, Bruce ; hemant.agra...@nxp.com; Zhang, Mingshan ; david.m

[PATCH] test/crypto-perf: allow auth generate followed by encryption

2022-05-10 Thread Tejasree Kondoj
Allowing auth generation followed by encryption mode. --optype auth-then-cipher can take cipher-op as encrypt and auth-op as generate now. Signed-off-by: Tejasree Kondoj --- app/test-crypto-perf/cperf_ops.c | 4 +++ app/test-crypto-perf/cperf_options_parsing.c | 30 ++---

Re: [Patch v2] net/netvsc: report correct stats values

2022-05-10 Thread Ferruh Yigit
On 5/10/2022 6:33 AM, Long Li wrote: Subject: Re: [Patch v2] net/netvsc: report correct stats values On 5/5/2022 5:40 PM, Stephen Hemminger wrote: On Thu, 5 May 2022 17:28:38 +0100 Ferruh Yigit wrote: On 5/4/2022 7:38 PM, Long Li wrote: Subject: Re: [Patch v2] net/netvsc: report correct sta

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

2022-05-10 Thread Stanisław Kardach
On Mon, May 9, 2022 at 4:31 PM David Marchand wrote: > On Mon, May 9, 2022 at 2:24 PM Stanisław Kardach wrote: > >> Testing all riscv configs in test-meson-buils.sh seems too much to me. > >> Is there a real value to test both current targets? > > > > It's for sanity and compilation coverage tes

RE: [PATCH v2 0/2] crypto/qat: add secp384r1 curve support

2022-05-10 Thread Zhang, Roy Fan
> -Original Message- > From: Kusztal, ArkadiuszX > Sent: Friday, April 22, 2022 10:34 AM > To: dev@dpdk.org > Cc: gak...@marvell.com; Zhang, Roy Fan ; Kusztal, > ArkadiuszX > Subject: [PATCH v2 0/2] crypto/qat: add secp384r1 curve support > > This patchset adds secp384r1 (P-384) elliptic

RE: [PATCH v2 2/2] crypto/qat: add secp384r1 curve

2022-05-10 Thread Zhang, Roy Fan
> -Original Message- > From: Kusztal, ArkadiuszX > Sent: Friday, April 22, 2022 10:34 AM > To: dev@dpdk.org > Cc: gak...@marvell.com; Zhang, Roy Fan ; Kusztal, > ArkadiuszX > Subject: [PATCH v2 2/2] crypto/qat: add secp384r1 curve > > This commit adds secp384r1 (P-384) elliptic > curve t

RE: [PATCH v2 1/2] crypto/qat: refactor asym algorithm macros and logs

2022-05-10 Thread Zhang, Roy Fan
> -Original Message- > From: Kusztal, ArkadiuszX > Sent: Friday, April 22, 2022 10:34 AM > To: dev@dpdk.org > Cc: gak...@marvell.com; Zhang, Roy Fan ; Kusztal, > ArkadiuszX > Subject: [PATCH v2 1/2] crypto/qat: refactor asym algorithm macros and logs > > This commit unifies macros for as

RE: [PATCH v2] cryptodev: add elliptic curve diffie hellman

2022-05-10 Thread Zhang, Roy Fan
> -Original Message- > From: Kusztal, ArkadiuszX > Sent: Wednesday, April 27, 2022 10:55 AM > To: dev@dpdk.org > Cc: gak...@marvell.com; Zhang, Roy Fan ; Kusztal, > ArkadiuszX > Subject: [PATCH v2] cryptodev: add elliptic curve diffie hellman > > This commit adds Elliptic Curve Diffie-He

[Bug 1006] [dpdk-22.03] [asan] coremask/individual_coremask: AddressSanitizer DEADLYSIGNAL

2022-05-10 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1006 Jiale Song (songx.ji...@intel.com) changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

RE: [PATCH v4 0/3] cryptodev: move dh type from xform to dh op

2022-05-10 Thread Ji, Kai
Series-acked-by: Kai Ji > -Original Message- > From: Arek Kusztal > Sent: Wednesday, April 27, 2022 8:44 AM > To: dev@dpdk.org > Cc: gak...@marvell.com; Zhang, Roy Fan ; Kusztal, > ArkadiuszX > Subject: [PATCH v4 0/3] cryptodev: move dh type from xform to dh op > > Operation type (PUBL

Re: [PATCH] maintainers: update for Intel i40e

2022-05-10 Thread Thomas Monjalon
> > From: Beilei Xing > > > > Add Yuying as Intel i40e maintainer. > > > > Signed-off-by: Beilei Xing > > Acked-by: Yuying Zhang Applied, thanks.

RE: [PATCH v4 1/3] cryptodev: move dh type from xform to dh op

2022-05-10 Thread Ji, Kai
Acked-by: Kai Ji > -Original Message- > From: Arek Kusztal > Sent: Wednesday, April 27, 2022 8:44 AM > To: dev@dpdk.org > Cc: gak...@marvell.com; Zhang, Roy Fan ; Kusztal, > ArkadiuszX > Subject: [PATCH v4 1/3] cryptodev: move dh type from xform to dh op > > Operation type (PUBLIC_KEY_

Re: [PATCH v1 1/3] maintainers: update for Intel e1000

2022-05-10 Thread Thomas Monjalon
08/04/2022 07:58, Haiyue Wang: > Simei and Wenjun have been appointed the new maintainers for the e1000 > PMD. Update the MAINTAINERS file to reflect this. > > Signed-off-by: Haiyue Wang Series applied, thanks for your good work Haiyue.

Re: [PATCH] vhost: add runtime locking check in unsafe APIs

2022-05-10 Thread Maxime Coquelin
Hi Jiayu, On 5/10/22 11:00, Hu, Jiayu wrote: Hi Maxime, This is a good idea to add the lock check below. But I have two questions: First, rte_vhost_clear_queue_thread_unsafe() is thread unsafe. Why doesn't add the check for it? Yes, I missed it. Thanks for spotting that! Second, dev->notify

RE: [PATCH v3] sched: enable/disable TC OV at runtime

2022-05-10 Thread Dumitrescu, Cristian
Hi Megha, > -Original Message- > From: Ajmera, Megha > Sent: Tuesday, May 10, 2022 7:41 AM > To: Dumitrescu, Cristian ; Danilewicz, MarcinX > ; dev@dpdk.org; Singh, Jasvinder > > Cc: Thakur, Sham Singh > Subject: RE: [PATCH v3] sched: enable/disable TC OV at runtime > > Hi Cristian, Ma

Re: [PATCH] maintainers: update for vmxnet3 driver

2022-05-10 Thread Thomas Monjalon
06/05/2022 23:13, Yong Wang: > > On May 6, 2022, at 1:07 PM, Jochen Behrens wrote: > > > > Make Jochen Behrens the maintainer of the net/vmxnet3 device > > driver as Yong Wang is not working on vmxnet3 any more. > > > > Signed-off-by: Jochen Behrens > > Acked-by: yongw...@vmware.com Applied

  1   2   >