[PATCH] net/bonding: fix bond startup failure when NUMA is -1

2023-06-16 Thread Chaoyong He
From: Zerun Fu After the mainline Linux kernel commit "fe205d984e7730f4d21f6f8ebc60f0698404ac31" (ACPI: Remove side effect of partly creating a node in acpi_map_pxm_to_online_node) by Jonathan Cameron. When the system does not support NUMA architecture, the "socket_id" is expected to be -1. The v

[PATCH v3] build: select optional libraries

2023-06-16 Thread David Marchand
There is currently no way to know which libraries are optional. Introduce a enable_libs option (close to what we have for drivers) so that packagers or projects consuming DPDK can more easily select the optional libraries that matter to them and disable other optional libraries. Deprecated librari

[PATCH v3] net/bonding: fix bond startup failure when NUMA is -1

2023-06-16 Thread Chaoyong He
From: Zerun Fu After the mainline Linux kernel commit "fe205d984e7730f4d21f6f8ebc60f0698404ac31" (ACPI: Remove side effect of partly creating a node in acpi_map_pxm_to_online_node) by Jonathan Cameron. When the system does not support NUMA architecture, the "socket_id" is expected to be -1. The v

RE: [EXT] [PATCH] crypto/openssl: fix SM2 for older openssl version

2023-06-16 Thread Akhil Goyal
> Currently when configuring the session for SM2 asym on OpenSSL PMD using > an older OpenSSL version than 3.0, an error returns, > showing a failure status for tests. > > This should skip tests, as the SM2 support is for OpenSSL version 3.0+. > > Fixes: 3b7d638fb11f ("crypto/openssl: support asy

Re: [PATCH v1 1/1] doc: announce change in bbdev api related to operation extension

2023-06-16 Thread Maxime Coquelin
On 6/15/23 21:30, Chautru, Nicolas wrote: Hi Maxime, -Original Message- From: Maxime Coquelin On 6/14/23 20:18, Chautru, Nicolas wrote: Hi Maxime, -Original Message- From: Maxime Coquelin Hi, On 6/13/23 19:16, Chautru, Nicolas wrote: Hi Maxime, -Original Message

[PATCH v2 0/3] Add event dispatcher

2023-06-16 Thread Mattias Rönnblom
The purpose of the event dispatcher is to decouple different parts of an application (e.g., processing pipeline stages), sharing the same underlying event device. The event dispatcher replaces the conditional logic (often, a switch statement) that typically follows an event device dequeue operatio

[PATCH v2 1/3] eventdev: introduce event dispatcher

2023-06-16 Thread Mattias Rönnblom
The purpose of the event dispatcher is to help reduce coupling in an Eventdev-based DPDK application. In addition, the event dispatcher also provides a convenient and flexible way for the application to use service cores for application-level processing. Signed-off-by: Mattias Rönnblom Tested-by

[PATCH v2 2/3] test: add event dispatcher test suite

2023-06-16 Thread Mattias Rönnblom
Add unit tests for the event dispatcher. -- PATCH v2: o Test finalize callback functionality. o Test handler and finalizer count upper limits. o Add statistics reset test. o Make sure dispatcher supply the proper event dev id and port id back to the application. PATCH: o Extend test to co

[PATCH v2 3/3] doc: add event dispatcher programming guide

2023-06-16 Thread Mattias Rönnblom
Provide programming guide the for the event dispatcher. Signed-off-by: Mattias Rönnblom -- PATCH: o Improve grammar and spelling. RFC v4: o Extend event matching section of the programming guide. o Improve grammar and spelling. --- doc/api/doxy-api-index.md | 1 + doc/gui

[PATCH] net/nfp: break out function to initialize device information

2023-06-16 Thread Chaoyong He
From: Peng Zhang The basic logic is the same for PF, VF and representor port. Split out the initializing device information logics into a helper function to reduce code duplication. Signed-off-by: Peng Zhang Reviewed-by: Chaoyong He Reviewed by: Long Wu --- drivers/net/nfp/flower/nfp_flower

RE: [PATCH] config/arm: add AMD CDX

2023-06-16 Thread Ruifeng Wang
> -Original Message- > From: Nipun Gupta > Sent: Friday, June 16, 2023 12:19 AM > To: dev@dpdk.org; tho...@monjalon.net; david.march...@redhat.com > Cc: ferruh.yi...@amd.com; nikhil.agar...@amd.com; Ruifeng Wang > ; > Honnappa Nagarahalli ; Nipun Gupta > > Subject: [PATCH] config/arm: a

Minutes of Technical Board Meeting 2023-06-14

2023-06-16 Thread Richardson, Bruce
Attendees -- * Aaron * Bruce * Hemant * Honnappa * Jerin * Kevin * Maxime * Thomas * Morten * Tyler * Nathan * Akhil * David M. * Dave Y. NOTES: * Next meeting on 2023-06-28 will be chaired by Hemant General Updates Documentation Rework ~ * Dave You

RE: [PATCH] net/cpfl: fix fail to re-configure RSS

2023-06-16 Thread Wu, Jingjing
> -Original Message- > From: Xing, Beilei > Sent: Friday, June 16, 2023 8:00 PM > To: Wu, Jingjing ; Zhang, Yuying > > Cc: dev@dpdk.org; Xing, Beilei > Subject: [PATCH] net/cpfl: fix fail to re-configure RSS > > From: Beilei Xing > > Currently, if launch testpmd with multiple queu

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

2023-06-16 Thread Jiang, Cheng1
Hi Anoob, Replies are inline. Thanks, Cheng > -Original Message- > From: Anoob Joseph > Sent: Friday, June 16, 2023 2:32 PM > To: Jiang, Cheng1 > Cc: dev@dpdk.org; Hu, Jiayu ; Ding, Xuan > ; tho...@monjalon.net; Richardson, Bruce > ; m...@smartsharesystems.com; Xia, Chenbo > ; Amit Pra

[PATCH] net/nfp: fix the address always related with PF ID 0

2023-06-16 Thread Chaoyong He
From: Peng Zhang Now the PCIE configure bar address is always related with PF ID 0. For the NIC with multiple PCI device, this will lead the host crash. Fix this problem by make the PCIE configure bar address related with the PF ID. Fixes: c7e9729da6b5 ("net/nfp: support CPP") Cc: sta...@dpdk.or

RE: [PATCH v3] crypto/qat: add SM3 HMAC to gen4 devices

2023-06-16 Thread Power, Ciara
Hi Arek, > -Original Message- > From: Kusztal, ArkadiuszX > Sent: Wednesday 14 June 2023 18:56 > To: dev@dpdk.org > Cc: gak...@marvell.com; Ji, Kai ; Power, Ciara > ; Kusztal, ArkadiuszX > > Subject: [PATCH v3] crypto/qat: add SM3 HMAC to gen4 devices > > This commit adds SM3 HMAC to In

RE: [EXT] Re: [PATCH v2 8/8] crypto/ipsec_mb: set and use session ID

2023-06-16 Thread De Lara Guarch, Pablo
> -Original Message- > From: Akhil Goyal > Sent: Thursday, June 15, 2023 5:47 AM > To: Fangming Fang ; tho...@monjalon.net; > Power, Ciara ; Honnappa Nagarahalli > ; Ji, Kai ; De Lara Guarch, > Pablo ; Ruifeng Wang > ; Mcnamara, John > Cc: dev@dpdk.org; david.march...@redhat.com; Jerin

RE: [EXT] Re: [PATCH v2 8/8] crypto/ipsec_mb: set and use session ID

2023-06-16 Thread Akhil Goyal
> > > > > > > > > > For info, this does not compile with > > > > > https://urldefense.proofpoint.com/v2/url?u=https- > 3A__git.gitlab.arm.com_arm-2Dreference-2Dsolutions_ipsec- > 2Dmb&d=DwIFAg&c=nKjWec2b6R0mOyPaz7xtfQ&r=DnL7Si2wl_PRwpZ9TWey3e > u68gBzn7DkPwuqhd6WNyo&m=g7xU0Pucoh3ZqU7RUlw8mhb- > zlR

Re: [PATCH v3] build: select optional libraries

2023-06-16 Thread Bruce Richardson
On Fri, Jun 16, 2023 at 09:14:50AM +0200, David Marchand wrote: > There is currently no way to know which libraries are optional. > Introduce a enable_libs option (close to what we have for drivers) so > that packagers or projects consuming DPDK can more easily select the > optional libraries that

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

2023-06-16 Thread Anoob Joseph
Hi Cheng, > [Cheng] sure, no problem. Feel free to contact me if you have any more > questions. No further comments from my side. Can you submit next version? Top level, I think you may need to add a doc file for the new app. Few issues that we are also checking in our end, 1. The app is havin

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

2023-06-16 Thread Anoob Joseph
Hi Cheng, I think there is a bug in EAL parsing. Please check the below diff and see if we should do something similar. diff --git a/app/test-dma-perf/main.c b/app/test-dma-perf/main.c index d65655b87b..7fcaa5acf6 100644 --- a/app/test-dma-perf/main.c +++ b/app/test-dma-perf/main.c @@ -432,7 +43

[PATCH] lib: fix coverity for unused variable

2023-06-16 Thread Amit Prakash Shukla
Removed variable "rc" that stored a return value from a function rte_lpm6_lookup_bulk_func. Coverity issue: 385595 Fixes: 20365d793e45 ("node: add IPv6 lookup node") Signed-off-by: Amit Prakash Shukla --- lib/node/ip6_lookup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/

Re: [PATCH] net/bonding: fix bond startup failure when NUMA is -1

2023-06-16 Thread humin (Q)
在 2023/6/16 14:08, Chaoyong He 写道: 在 2023/6/16 11:20, Chaoyong He 写道: From: Zerun Fu After the mainline Linux kernel commit "fe205d984e7730f4d21f6f8ebc60f0698404ac31" (ACPI: Remove side effect of partly creating a node in acpi_map_pxm_to_online_node) by Jonathan Cameron. When the system do

Re: [PATCH v3] net/bonding: fix bond startup failure when NUMA is -1

2023-06-16 Thread humin (Q)
Hi, 在 2023/6/16 15:20, Chaoyong He 写道: From: Zerun Fu After the mainline Linux kernel commit "fe205d984e7730f4d21f6f8ebc60f0698404ac31" (ACPI: Remove side effect of partly creating a node in acpi_map_pxm_to_online_node) by Jonathan Cameron. When the system does not support NUMA architecture, t

[PATCH v2 0/3] bus/cdx: fix coverity issue

2023-06-16 Thread Abhijit Gangurde
This series fixes coverity issues 385379, 385381, 385377 v2: - Merged coverity fix patches into series - Updated commit message Abhijit Gangurde (3): bus/cdx: remove ineffective code statement bus/cdx: move debug print before unmapping resource bus/cdx: fix resource leak drivers/bus/cdx/c

[PATCH v2 1/3] bus/cdx: remove ineffective code statement

2023-06-16 Thread Abhijit Gangurde
Remove ineffective code statement ret = 0 since it is overwritten in a loop. Coverity issue: 385379 Fixes: 45ef232af515 ("bus/cdx: introduce AMD CDX bus") Signed-off-by: Abhijit Gangurde Acked-by: Nipun Gupta --- v2: - Updated commit message drivers/bus/cdx/cdx.c | 1 - 1 file changed, 1 del

[PATCH v2 2/3] bus/cdx: move debug print before unmapping resource

2023-06-16 Thread Abhijit Gangurde
Move debug print before unmapping requested address to fix use after free coverity issue. Coverity issue: 385381 Fixes: 45ef232af515 ("bus/cdx: introduce AMD CDX bus") Signed-off-by: Abhijit Gangurde --- v2: - Updated commit message drivers/bus/cdx/cdx.c | 3 ++- 1 file changed, 2 insertions(

[PATCH v2 3/3] bus/cdx: fix resource leak

2023-06-16 Thread Abhijit Gangurde
Free the allocated device memory and interrupt handler on error scenarios. Coverity issue: 385377 Fixes: f29fb5caa135 ("bus/cdx: support MSI") Signed-off-by: Abhijit Gangurde --- v2: - Updated commit message drivers/bus/cdx/cdx.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-

Re: [PATCH v2 4/4] ci: build examples externally

2023-06-16 Thread Aaron Conole
David Marchand writes: > Enhance our CI coverage by building examples against an installed DPDK. > > Signed-off-by: David Marchand > Acked-by: Bruce Richardson > --- Acked-by: Aaron Conole

[PATCH v7 1/3] common/qat: fix qat_dev_cmd_param corruption

2023-06-16 Thread Vikash Poddar
Adding fix to address the memory corruption issue for qat_dev_cmd_param structure on QAT GEN3. This fix aligns the storage where it stores the value on 4 byte unsigned integer data type after reading slice configuration of QAT capabilities. Fixes: b3cbbcdffa4f ("common/qat: read HW slice configur

[PATCH v7 2/3] crypto/qat: support to enable insecure algorithms

2023-06-16 Thread Vikash Poddar
All the insecure algorithms are default disable from cryptodev Gen 1,2,3 and 4. use qat_legacy_capa to enable all the legacy algorithms. These change effects both sym and asym insecure crypto algorithms. Signed-off-by: Vikash Poddar Acked-by: Ciara Power --- v7: patch is splitted, new patch is c

[PATCH v7 3/3] test/crypto: skip asym test for insecure algorithms

2023-06-16 Thread Vikash Poddar
Added support to skip the insecure asym algorithms Signed-off-by: Vikash Poddar Acked-by: Ciara Power --- v7: splitted from "support to enable insecure algorithms" patch --- app/test/test_cryptodev_asym.c | 28 +--- 1 file changed, 21 insertions(+), 7 deletions(-) diff

RE: [PATCH v2] common/qat: fix qat_dev_cmd_param corruption

2023-06-16 Thread Poddar, Vikash ChandraX
This patch can be abandon. Since these changes are linked with "crypto/qat: support to enable insecure algorithms" commit. New patch series is https://patchwork.dpdk.org/project/dpdk/list/?series=28560 -Original Message- From: Poddar, Vikash ChandraX Sent: Thursday, May 25, 2023 9:09

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

2023-06-16 Thread Jiang, Cheng1
Hi Anoob, Replies are inline. Thanks, Cheng > -Original Message- > From: Anoob Joseph > Sent: Friday, June 16, 2023 6:53 PM > To: Jiang, Cheng1 > Cc: dev@dpdk.org; Hu, Jiayu ; Ding, Xuan > ; tho...@monjalon.net; Richardson, Bruce > ; m...@smartsharesystems.com; Xia, Chenbo > ; Amit Pra

RE: [PATCH v1 1/1] doc: announce change in bbdev api related to operation extension

2023-06-16 Thread Chautru, Nicolas
Hi Maxime, Hermant, Hermant can I have your view on this topic below. > -Original Message- > From: Maxime Coquelin > On 6/15/23 21:30, Chautru, Nicolas wrote: > > Hi Maxime, > > > >> -Original Message- > >> From: Maxime Coquelin > >> > >> On 6/14/23 20:18, Chautru, Nicolas wro

[PATCH v6] crypto/qat: default to IPsec MB for computations

2023-06-16 Thread Brian Dooley
Pre and post computations currently use the OpenSSL library by default. This patch changes the default option to Intel IPsec MB library version 1.4 for the required computations. If this version of IPsec is not met it will fallback to use OpenSSL. ARM will always default to using OpenSSL as ARM IPs

Re: [PATCH v6] hash: add XOR32 hash function

2023-06-16 Thread Bili Dong
Thanks Vladimir for your suggestion! Indeed your version looks cleaner. I will make the changes (including the new test case you mentioned) and prepare a new version this weekend. Regards, Bili On Thu, Jun 15, 2023 at 10:15 AM Vladimir Medvedkin wrote: > Hi Bili, > > The rte_hash_xor32() imple

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

2023-06-16 Thread Jiang, Cheng1
Hi Anoob, I have a question about the doc. Do you think I should add a folder in the doc/guides/ just like doc/guides/dma_perf? Thanks, Cheng > -Original Message- > From: Jiang, Cheng1 > Sent: Friday, June 16, 2023 11:16 PM > To: Anoob Joseph > Cc: dev@dpdk.org; Hu, Jiayu ; Ding, Xua