[PATCH v2] eal: add notes to SMP memory barrier APIs

2023-06-26 Thread Ruifeng Wang
The rte_smp_xx() APIs are deprecated. But it is not mentioned in the function header. Added notes in function header for clarification. Signed-off-by: Ruifeng Wang --- v2: Made the notes more specific. lib/eal/include/generic/rte_atomic.h | 19 +++ 1 file changed, 19 insertions(

Re: [PATCH] regex/cn9k: remove rule compiler

2023-06-26 Thread Thomas Monjalon
25/06/2023 22:57, Stephen Hemminger: > On Wed, 21 Jun 2023 21:03:00 +0530 > Jerin Jacob wrote: > > > On Wed, Jun 21, 2023 at 7:36 PM Thomas Monjalon wrote: > > > > > > Nobody knows how to build the feature. > > > When the dependency "rxp_compiler" is found, > > > the header file is not available

[PATCH] app/test-pipeline: relax RSS hash requirement

2023-06-26 Thread Feifei Wang
For some drivers which can not support the configured RSS hash functions, the thread reports 'invalid rss_hf' when doing device configure. For example, i40e driver can not support 'RTE_ETH_RSS_IPV4', 'RTE_ETH_RSS_IPV6' and 'RTE_ETH_RSS_NONFRAG_IPV6_OTHER', thus it can not run successfully in test-

[PATCH v1] maintainers: update maintainer for DLB Driver

2023-06-26 Thread Abdullah Sevincer
Abdullah Sevincer is now maintainer for DLB Driver. Signed-off-by: Abdullah Sevincer --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index fda0b55513..58ef06dd74 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1334,7 +1334,7 @@ M: Pava

Re: [PATCH] crypto/openssl: do not build useless workaround

2023-06-26 Thread Didier Pallard
HI, not sure to understand how it is possible. If build OPENSSL_VERSION_NUMBER < 0x1010L, linker should link binary with libcrypto.so.1.0.0. libcrypto.so.1.1 if build for 0x1010L and libcrypto.so.3 for 0x3000L loader should not allow to link with a library different from the one used

Re: [PATCH v4] app/testpmd: fix primary process not polling all queues

2023-06-26 Thread Jie Hai
On 2023/6/23 0:40, Ali Alnubani wrote: -Original Message- From: Jie Hai Sent: Friday, June 9, 2023 12:04 PM To: Aman Singh ; Yuying Zhang ; Anatoly Burakov ; Matan Azrad ; Dmitry Kozlyuk Cc: dev@dpdk.org; liudongdo...@huawei.com; shiyangx...@intel.com; ferruh.yi...@amd.com Subject: [PAT

RE: [EXT] [PATCH v8] app/dma-perf: introduce dma-perf application

2023-06-26 Thread Jiang, Cheng1
Hi Anoob, Replies are inline. Thanks, Cheng > -Original Message- > From: Anoob Joseph > Sent: Monday, June 26, 2023 1:42 PM > To: Jiang, Cheng1 ; tho...@monjalon.net; > Richardson, Bruce ; > m...@smartsharesystems.com; Xia, Chenbo ; Amit > Prakash Shukla ; huangdeng...@huawei.com; > Laa

Re: [PATCH] crypto/openssl: do not build useless workaround

2023-06-26 Thread Thomas Monjalon
26/06/2023 11:13, Didier Pallard: > HI, > not sure to understand how it is possible. > If build OPENSSL_VERSION_NUMBER < 0x1010L, linker should link binary > with libcrypto.so.1.0.0. > libcrypto.so.1.1 if build for 0x1010L and libcrypto.so.3 for > 0x3000L > loader should not allow to

[PATCH v9] app/dma-perf: introduce dma-perf application

2023-06-26 Thread Cheng Jiang
There are many high-performance DMA devices supported in DPDK now, and these DMA devices can also be integrated into other modules of DPDK as accelerators, such as Vhost. Before integrating DMA into applications, developers need to know the performance of these DMA devices in various scenarios and

Re: DPDK22 issue: Unable to set more than 4 queues in Azure

2023-06-26 Thread Nageswara Rao
Yes, we are using vdev_netvsc. Native netvsc PMD we are observing issues in enabling multiple queues. Though we have 6 DPDK cores, unable to configure more than 4 queues. On Mon, Jun 26, 2023 at 12:18 AM Stephen Hemminger < step...@networkplumber.org> wrote: > On Thu, 22 Jun 2023 22:06:10 +0530 >

[PATCH] devtools: fix mailmap check for parentheses

2023-06-26 Thread Thomas Monjalon
When checking names having parentheses, the grep matching was failing. It is fixed by escaping the open parenthesis. Also, the mailmap path was relative to the root directory. The path is made absolute. Fixes: e83d41f0694d ("mailmap: add list of contributors") Fixes: 83812de4f2f3 ("devtools: move

Re: [PATCH] crypto/openssl: do not build useless workaround

2023-06-26 Thread Didier Pallard
On Mon, Jun 26, 2023 at 12:04 PM Thomas Monjalon wrote: > 26/06/2023 11:13, Didier Pallard: > > HI, > > not sure to understand how it is possible. > > If build OPENSSL_VERSION_NUMBER < 0x1010L, linker should link > binary > > with libcrypto.so.1.0.0. > > libcrypto.so.1.1 if build for 0x1010

[PATCH] bus/cdx: provide driver flag for optional resource mapping

2023-06-26 Thread Abhijit Gangurde
Provide driver flag which gives an option to map the cdx device resource before probing the device driver. Also, make rte_cdx_map_device() API as public to map device resource separately. Signed-off-by: Abhijit Gangurde --- drivers/bus/cdx/bus_cdx_driver.h | 26 ++--- drivers/bus/cdx

[PATCH] app/testpmd: add trace dump command

2023-06-26 Thread Viacheslav Ovsiienko
The "dump_trace" CLI command is added to trigger saving the trace dumps to the trace directory. The tracing data are saved according to the EAL configuration (explicit --trace-dir EAL command line parameter alters the target folder to save). The result dump folder gets the name like rte--MM-DD

[PATCH v3] app/testpmd: add trace dump command

2023-06-26 Thread Viacheslav Ovsiienko
The "dump_trace" CLI command is added to trigger saving the trace dumps to the trace directory. The tracing data are saved according to the EAL configuration (explicit --trace-dir EAL command line parameter alters the target folder to save). The result dump folder gets the name like rte--MM-DD

[PATCH v3] common/qat: fix detach QAT crypto compress build

2023-06-26 Thread Vikash Poddar
qat_qp.c is a common file for QAT crypto and compress. Moved compress function from common file to compress QAT file qat_comp.c Bugzilla ID: 1237 Fixes: 2ca75c65af4c ("common/qat: build drivers from common folder") Cc: bruce.richard...@intel.com Cc: sta...@dpdk.org Signed-off-by: Vikash Poddar -

[PATCH v4] app/testpmd: add trace dump command

2023-06-26 Thread Viacheslav Ovsiienko
The "dump_trace" CLI command is added to trigger saving the trace dumps to the trace directory. The tracing data are saved according to the EAL configuration (explicit --trace-dir EAL command line parameter alters the target folder to save). The result dump folder gets the name like rte--MM-DD

[PATCH] config/arm: add HiSilicon hip10

2023-06-26 Thread Dongdong Liu
Adding support for HiSilicon hip10 platform. Signed-off-by: Dongdong Liu --- config/arm/arm64_hip10_linux_gcc | 16 config/arm/meson.build | 19 +++ 2 files changed, 35 insertions(+) create mode 100644 config/arm/arm64_hip10_linux_gcc diff --git a/con

[PATCH 2/2] net/hns3: add FDIR VLAN match mode runtime config

2023-06-26 Thread Dongdong Liu
From: Huisong Li The VLAN number in FDIR meta data is used to enable that hardware bases on VLAN number to strictly match the input flow. And it is enabled by default. For the following two rules: rule0: pattern: eth type is 0x0806 actions: queue index 3 rule1: pattern: eth typ

[PATCH 1/2] net/hns3: delete duplicate macro definition

2023-06-26 Thread Dongdong Liu
From: Huisong Li This patch delete some duplicate macro definitions. Fixes: a4c7152d0581 ("net/hns3: extract common code to its own file") Cc: sta...@dpdk.org Signed-off-by: Huisong Li Signed-off-by: Dongdong Liu --- drivers/net/hns3/hns3_ethdev.h | 7 --- 1 file changed, 7 deletions(-)

[PATCH 0/2] net/hns3: add FDIR VLAN match mode runtime config

2023-06-26 Thread Dongdong Liu
This patchset contains two patches: The first one is to delete duplicate macro definition for hns3. The second one is to add FDIR VLAN match mode runtime config for hns3. Huisong Li (2): net/hns3: delete duplicate macro definition net/hns3: add FDIR VLAN match mode runtime config doc/guides/

RE: [PATCH v4 0/3] Replace obsolote test cases.

2023-06-26 Thread Power, Ciara
> -Original Message- > From: Kusztal, ArkadiuszX > Sent: Tuesday 20 June 2023 11:33 > To: dev@dpdk.org > Cc: gak...@marvell.com; Ji, Kai ; Power, Ciara > ; Kusztal, ArkadiuszX > Subject: [PATCH v4 0/3] Replace obsolote test cases. > > This patchset removes obsolete test cases for RSA,

Re: [PATCH v4 23/34] common/sfc_efx/base: match on conntrack mark in action rules

2023-06-26 Thread Thomas Monjalon
07/06/2023 15:02, Ivan Malov: > EF100 match-action engine (MAE) has conntrack assistance > table. A hit in this table can provide a mark value for > the following lookup stage, which is action rule lookup. > > Provide support for setting match on conntrack mark. What happened Ivan? This commit me

DPDK Summit in Dublin - September 12-13

2023-06-26 Thread Thomas Monjalon
Hello all, You probably saw already the CfP for our next DPDK Summit. In case you missed it, here are the main information: Date: 12-13 September 2023 City: Dublin, Ireland Venue: Gibson Hotel You can propose a talk at https://linuxfoundation.smapply.io/prog/dpdk_summit_2023_ CfP deadline: end

Re: [dpdk-dev] [PATCH v7] eal: add manual probing option

2023-06-26 Thread Gaëtan Rivet
On Wed, Jun 14, 2023, at 21:33, Stephen Hemminger wrote: > On Thu, 23 Jan 2020 10:58:13 +0100 > Gaetan Rivet wrote: > >> Add a new EAL option enabling manual probing in the EAL. >> This command line option will configure the EAL so that buses >> will not trigger their probe step on their own. >>

Re: [PATCH] regex/cn9k: remove rule compiler

2023-06-26 Thread Stephen Hemminger
On Mon, 26 Jun 2023 09:16:32 +0200 Thomas Monjalon wrote: > 25/06/2023 22:57, Stephen Hemminger: > > On Wed, 21 Jun 2023 21:03:00 +0530 > > Jerin Jacob wrote: > > > > > On Wed, Jun 21, 2023 at 7:36 PM Thomas Monjalon > > > wrote: > > > > > > > > Nobody knows how to build the feature. > >

Re: DPDK22 issue: Unable to set more than 4 queues in Azure

2023-06-26 Thread Stephen Hemminger
On Mon, 26 Jun 2023 15:53:12 +0530 Nageswara Rao wrote: > Yes, we are using vdev_netvsc. Native netvsc PMD we are observing issues in > enabling multiple queues. > Though we have 6 DPDK cores, unable to configure more than 4 queues. Check with Long who now maintains the netvsc driver. For tap,

Re: DPDK22 issue: Unable to set more than 4 queues in Azure

2023-06-26 Thread Nageswara Rao
Issue is because of tap_mp_req_on_rxtx() sending msg.num_fds more than RTE_MP_MAX_FD_NUM fds for queues > 4. Looks like these tap driver changes are added as part of the below patch http://patches.dpdk.org/project/dpdk/patch/20220121042944.23929-1-kumaraparames...@gmail.com/ On Mon, Jun 26, 2023

Re: [PATCH] regex/cn9k: remove rule compiler

2023-06-26 Thread Thomas Monjalon
26/06/2023 18:22, Stephen Hemminger: > On Mon, 26 Jun 2023 09:16:32 +0200 > Thomas Monjalon wrote: > > > 25/06/2023 22:57, Stephen Hemminger: > > > On Wed, 21 Jun 2023 21:03:00 +0530 > > > Jerin Jacob wrote: > > > > > > > On Wed, Jun 21, 2023 at 7:36 PM Thomas Monjalon > > > > wrote: > >

[Bug 1251] PPC64le: 23.07 RC1 build failed for power10 on RHEL 9.0

2023-06-26 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1251 David Christensen (d...@linux.vnet.ibm.com) changed: What|Removed |Added Status|IN_PROGRESS |RESOLVED Re

CFP submission reminder

2023-06-26 Thread Nathan Southern
Good afternoon DPDK Community, I would remind everyone again that the deadline for CFP submissions is* this Friday at 11:59pm Pacific. *If you haven't yet submitted a proposal for a live or virtual talk in Dublin (Sep. 12-13) and are interested in being considered for this, please go ahead and sub

RE: [PATCH v2] crypto/qat: fix NULL algorithm digest placement

2023-06-26 Thread Kusztal, ArkadiuszX
> -Original Message- > From: Ciara Power > Sent: Friday, June 23, 2023 3:51 PM > To: dev@dpdk.org > Cc: Power, Ciara ; Ji, Kai > Subject: [PATCH v2] crypto/qat: fix NULL algorithm digest placement > > QAT HW generates bytes of 0x00 digest, even when a digest of len 0 is > requested fo

[PATCH v4 0/5] Logging related patchs

2023-06-26 Thread Stephen Hemminger
This patch set rebases and extends some earlier work on logging. Stephen Hemminger (5): eal: unify logging code for FreeBsd and Linux eal: turn off getopt_long error message during eal_log_level eal: skip stdio on console logging eal: move logging initialization earlier eal: add option t

[PATCH v4 1/5] eal: unify logging code for FreeBsd and Linux

2023-06-26 Thread Stephen Hemminger
FreeBSD logging code was not using syslog and did not have the same options as Linux. Move the log writing code to common source tree. Signed-off-by: Stephen Hemminger --- .../freebsd_gsg/freebsd_eal_parameters.rst| 27 +++ lib/eal/freebsd/eal.c | 7 +

[PATCH v4 2/5] eal: turn off getopt_long error message during eal_log_level

2023-06-26 Thread Stephen Hemminger
If DPDK application is given a bogus option, the error message would get printed twice. Once during scan for log level and again during parsing of arguments. Example: # ./build/app/dpdk-testpmd --bogus ./build/app/dpdk-testpmd: unrecognized option '--bogus' EAL: Detected CP

[PATCH v4 3/5] eal: skip stdio on console logging

2023-06-26 Thread Stephen Hemminger
There is no need to use stdio when logging to console. Using the write system call directly avoids unnecessary copy to stdio output buffer. Signed-off-by: Stephen Hemminger --- lib/eal/unix/eal_log.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/eal/unix/eal_log.c b

[PATCH v4 4/5] eal: move logging initialization earlier

2023-06-26 Thread Stephen Hemminger
The log stream should be setup before any messages. This ensures that any startup problems are captured on the syslog output, not only shown on the stderr. Signed-off-by: Stephen Hemminger --- lib/eal/freebsd/eal.c | 40 +++ lib/eal/linux/eal.c | 44

[PATCH v4 5/5] eal: add option to put timestamp on console output

2023-06-26 Thread Stephen Hemminger
When debugging driver or startup issues, it is useful to have a timestamp on each message printed. The messages in syslog already have a timestamp, but often syslog is not available during testing. The timestamp format is chosen to look like the default Linux dmesg timestamp. Example: $ dpdk-testp

Re: [PATCH v1] net/mlx5: add test for hot upgrade

2023-06-26 Thread Thomas Monjalon
16/05/2023 07:41, Rongwei Liu: > This patch adds testpmd app a runtime function to test the hot > upgrade API. > > testpmd> mlx5 set flow_engine <0|1> (flag) > 0 stands for active mode while 1 for standby mode. > > Signed-off-by: Rongwei Liu > Acked-by: Viacheslav Ovsiienko > --- > --- a/do

[PATCH] doc: announce QAT support on aarch64

2023-06-26 Thread Dharmik Thakkar
Update release notes with added support for QAT on Ampere Altra. Signed-off-by: Dharmik Thakkar Reviewed-by: Ruifeng Wang --- doc/guides/rel_notes/release_23_07.rst | 4 1 file changed, 4 insertions(+) diff --git a/doc/guides/rel_notes/release_23_07.rst b/doc/guides/rel_notes/release_23_

Re: [RFC 2/5] common/mlx5: introduce tracepoints for mlx5 drivers

2023-06-26 Thread Thomas Monjalon
13/06/2023 18:01, Jerin Jacob: > On Tue, Jun 13, 2023 at 9:29 PM Slava Ovsiienko > wrote: > > From: Jerin Jacob > > > On Tue, Jun 13, 2023 at 9:20 PM Slava Ovsiienko > > > wrote: > > > > > > > > Hi, > > > > > > > > <..snip..> > > > > > > > > > > > > mlx5_os_interrupt_handler_create; # W

Re: [PATCH v2 0/5] net/mlx5: introduce Tx datapath tracing

2023-06-26 Thread Thomas Monjalon
20/06/2023 14:00, Raslan Darawsheh: > Hi, > > > -Original Message- > > From: Viacheslav Ovsiienko > > Sent: Tuesday, June 13, 2023 7:59 PM > > To: dev@dpdk.org > > Subject: [PATCH v2 0/5] net/mlx5: introduce Tx datapath tracing > > > > The mlx5 provides the send scheduling on specific mo

RE: [PATCH] config/arm: add HiSilicon hip10

2023-06-26 Thread Ruifeng Wang
> -Original Message- > From: Dongdong Liu > Sent: Monday, June 26, 2023 8:43 PM > To: dev@dpdk.org; ferruh.yi...@amd.com; tho...@monjalon.net; Ruifeng Wang > > Subject: [PATCH] config/arm: add HiSilicon hip10 > > Adding support for HiSilicon hip10 platform. > > Signed-off-by: Dongdong L