[PATCH] net/idpf: cancel alarm when fail to init adapter

2023-03-20 Thread beilei . xing
From: Beilei Xing Cancel alarm if failing to allocate vports memory during adapter_ext initialization. Otherwise, there'll be segmentation fault when fail to initialize adapter_ext. Fixes: b2f9d4788d5c ("common/idpf: introduce adapter init/deinit") Cc: sta...@dpdk.org Signed-off-by: Beilei Xing

[PATCH v2] net/idpf: cancel alarm when fail to init adapter

2023-03-20 Thread beilei . xing
From: Beilei Xing Cancel alarm if failing to allocate vports memory during adapter_ext initialization. Otherwise, there'll be segmentation fault when fail to initialize adapter_ext. Fixes: b2f9d4788d5c ("common/idpf: introduce adapter init/deinit") Cc: sta...@dpdk.org Signed-off-by: Beilei Xing

RE: [PATCH v1] bus/ifpga: add fpga bus cleanup

2023-03-20 Thread Zhang, Tianfei
> -Original Message- > From: Huang, Wei > Sent: Friday, March 17, 2023 4:45 AM > To: dev@dpdk.org; tho...@monjalon.net; david.march...@redhat.com > Cc: sta...@dpdk.org; Xu, Rosen ; Zhang, Tianfei > ; Zhang, Qi Z ; Huang, Wei > > Subject: [PATCH v1] bus/ifpga: add fpga bus cleanup > >

[PATCH] net/cpfl: cancel alarm when fail to init adapter

2023-03-20 Thread beilei . xing
From: Beilei Xing Cancel alarm if failing to allocate vports memory during adapter_ext initialization. Otherwise, there'll be segmentation fault when fail to initialize adapter_ext. Fixes: 2d823ecd671c ("net/cpfl: support device initialization") Signed-off-by: Beilei Xing --- drivers/net/cpfl

Re: [PATCH v6 03/10] dts: add dpdk build on sut

2023-03-20 Thread David Marchand
Hi Juraj, On Fri, Mar 3, 2023 at 11:25 AM Juraj Linkeš wrote: > +class MesonArgs(object): > +""" > +Aggregate the arguments needed to build DPDK: > +default_library: Default library type, Meson allows "shared", "static" > and "both". > + Defaults to None, in which case

[Bug 1181] [DPDK-23.03]loopback_virtio_user_server_mode_cbdma: testpmd can't loop packets after start dpdk-pdump app Immediately

2023-03-20 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1181 lingwei (weix.l...@intel.com) changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIR

[PATCH v2 00/44] fix segment fault when parse args

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. It may leads to segment fault when parse args with 'only key', this patchset fixes rest of them. Chengwen

[PATCH v2 01/44] app/pdump: fix segment fault when parse args

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse --pdump args with 'only keys' (e.g. 'port,queue=*'). Fixes: caa7

[PATCH v2 02/44] ethdev: fix segment fault when parse args

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse args with 'only keys' (e.g. 'mac,representor'). Fixes: c10cdce18

[PATCH v2 05/44] net/ring: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 61934c0956d4 ("ring: convert

[PATCH v2 07/44] net/af_xdp: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: f1debd77efaf ("net/af_xdp: i

[PATCH v2 04/44] net/pcap: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 4c173302c307 ("pcap: add new

[PATCH v2 06/44] net/sfc: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 9e7fc8b8f3be ("net/sfc: add

[PATCH v2 11/44] net/dpaa2: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 536db938a444 ("net/cxgbe: ad

[PATCH v2 14/44] net/fm10k: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 7958b1310d5e ("fm10k: enable

[PATCH v2 13/44] net/enic: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 93fb21fdbe23 ("net/enic: ena

[PATCH v2 10/44] net/cxgbe: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: cda260a4ac1a ("net/cxgbe: ad

[PATCH v2 12/44] net/ena: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: cc0c5d251928 ("net/ena: make

[PATCH v2 03/44] net/memif: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 09c7e63a71f9 ("net/memif: in

[PATCH v2 08/44] net/ark: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 1502d443d885 ("net/ark: repl

[PATCH v2 09/44] net/cnxk: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 7eabd6c63773 ("net/cnxk: sup

[PATCH v2 15/44] net/i40e: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 79f2248219c0 ("net/i40e: add

[PATCH v2 16/44] net/iavf: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: b14e8a57b9fe ("net/iavf: sup

[PATCH v2 17/44] net/ice: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 9e984bc53bc9 ("net/ice: add

[PATCH v2 18/44] net/idpf: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 549343c25db8 ("net/idpf: sup

[PATCH v2 19/44] net/ionic: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 9de21005e201 ("net/ionic: ad

[PATCH v2 20/44] net/mana: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 517ed6e2d590 ("net/mana: add

[PATCH v2 21/44] net/mlx4: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 001a520e419f ("net/mlx4: add

[PATCH v2 22/44] net/mvneta: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 4ccc8d770d3b ("net/mvneta: a

[PATCH v2 25/44] net/octeontx: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: f7be70e5130e ("net/octeontx:

[PATCH v2 23/44] net/mvpp2: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 0ddc9b815b11 ("net/mrvl: add

[PATCH v2 24/44] net/netvsc: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: a25d39a3eb69 ("net/netvsc: a

[PATCH v2 28/44] baseband/la12xx: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 915cdc075dba ("baseband/la12

[PATCH v2 27/44] net/qede: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: f64b91b0eb5d ("net/qede: rep

[PATCH v2 29/44] bus/pci: fix segment fault when parse args

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 4410c1b0c0a2 ("bus/pci: add

[PATCH v2 30/44] common/mlx5: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: ad435d320473 ("common/mlx5:

[PATCH v2 32/44] crypto/dpaa_sec: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: b1bbf222bef1 ("crypto/dpaa_s

[PATCH v2 33/44] crypto/dpaa2_sec: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 4562de326d30 ("crypto/dpaa2_

[PATCH v2 36/44] dma/dpaa2: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 9e2f8ca6c224 ("dma/dpaa2: su

[PATCH v2 34/44] crypto/mvsam: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 25b05a1c806b ("crypto/mvsam:

[PATCH v2 35/44] crypto/scheduler: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 503e9c5afb38 ("crypto/schedu

[PATCH v2 31/44] crypto/cnxk: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 135e0b71fa30 ("crypto/cnxk:

[PATCH v2 26/44] net/pfe: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 67fc3ff97c39 ("net/pfe: intr

[PATCH v2 39/44] event/dpaa: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 77b5311d0ece ("event/dpaa: s

[PATCH v2 38/44] event/dlb2: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 8d1d9070bbe9 ("event/dlb2: o

[PATCH v2 37/44] event/cnxk: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 38c2e3240ba8 ("event/cnxk: a

[PATCH v2 41/44] event/opdl: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 3c7f3dcfb099 ("event/opdl: a

[PATCH v2 40/44] event/octeontx: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 3516327e00fd ("event/octeont

[PATCH v2 43/44] mempool/cnxk: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 0a50a5aad299 ("mempool/cnxk:

[PATCH v2 42/44] event/sw: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: aaa4a221da26 ("event/sw: add

[PATCH v2 44/44] raw/cnxk_gpio: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: d0b8a4e19131 ("raw/cnxk_gpio

[PATCH] test/crypto: fix errors for test stats testcase

2023-03-20 Thread Saoirse O'Donovan
The test stats testcase was printing the same error message for multiple errors in the test stats testcase. This is now replaced with descriptive error messages, which match the cause of the failure. Fixes: 202d375 ("app/test: add cryptodev unit and performance tests") Cc: sta...@dpdk.org Cc: decl

cryptodev API question with out of order support

2023-03-20 Thread Suanming Mou
Hi Declan, While reading the cryptodev API and define docs, I don't see some places mention the out of order support. Does current crypto enqueue and dequeue function support out of order mode? Or should we add a hint capability flag for that? Not sure if such topics have been discussed before,

RE: [EXT] [PATCH v2 34/44] crypto/mvsam: fix segment fault when parse devargs

2023-03-20 Thread Liron Himi
Acked-by: Liron Himi -Original Message- From: Chengwen Feng Sent: Monday, 20 March 2023 11:21 To: tho...@monjalon.net; ferruh.yi...@amd.com; Michael Shamis ; Liron Himi ; Pablo de Lara ; Tomasz Duszynski Cc: dev@dpdk.org Subject: [EXT] [PATCH v2 34/44] crypto/mvsam: fix segment fault

RE: [EXT] [PATCH v2 23/44] net/mvpp2: fix segment fault when parse devargs

2023-03-20 Thread Liron Himi
Acked-by: Liron Himi -Original Message- From: Chengwen Feng Sent: Monday, 20 March 2023 11:21 To: tho...@monjalon.net; ferruh.yi...@amd.com; Liron Himi ; Tomasz Duszynski ; Jacek Siuda Cc: dev@dpdk.org Subject: [EXT] [PATCH v2 23/44] net/mvpp2: fix segment fault when parse devargs Ex

RE: [EXT] [PATCH v2 22/44] net/mvneta: fix segment fault when parse devargs

2023-03-20 Thread Liron Himi
Acked-by: Liron Himi -Original Message- From: Chengwen Feng Sent: Monday, 20 March 2023 11:21 To: tho...@monjalon.net; ferruh.yi...@amd.com; Zyta Szpak ; Liron Himi ; Dmitri Epshtein ; Natalie Samsonov ; Andrzej Ostruszka ; Yelena Krivosheev Cc: dev@dpdk.org Subject: [EXT] [PATCH v2

RE: [PATCH] test/crypto: fix errors for test stats testcase

2023-03-20 Thread Power, Ciara
Hi Saoirse, > -Original Message- > From: Saoirse O'Donovan > Sent: Monday 20 March 2023 09:30 > To: Thomas Monjalon ; Akhil Goyal > ; Fan Zhang > Cc: dev@dpdk.org; O'Donovan, Saoirse ; > sta...@dpdk.org; Doherty, Declan > Subject: [PATCH] test/crypto: fix errors for test stats testcase

[PATCH v5] net/ice: fix ice dcf control thread crash

2023-03-20 Thread Mingjin Ye
The control thread accesses the hardware resources after the resources were released, which results in a segment error. The 'ice-reset' threads are detached, so thread resources cannot be reclaimed by `pthread_join` calls. This commit synchronizes the number of 'ice-reset' threads by adding two v

[Bug 1192] [dpdk-22.03][asan][mlx5]: detected memory leaks when detach and attach device

2023-03-20 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1192 Bug ID: 1192 Summary: [dpdk-22.03][asan][mlx5]: detected memory leaks when detach and attach device Product: DPDK Version: 23.03 Hardware: x86 OS: Linux

RE: [PATCH v2 00/16] replace __atomic operations returning new value

2023-03-20 Thread Ruifeng Wang
> -Original Message- > From: Tyler Retzlaff > Sent: Thursday, March 16, 2023 5:15 AM > To: dev@dpdk.org > Cc: Honnappa Nagarahalli ; Ruifeng Wang > ; tho...@monjalon.net; Tyler Retzlaff > > Subject: [PATCH v2 00/16] replace __atomic operations returning new value > > This series replace

[PATCH 1/2] app/mldev: fix build with debug

2023-03-20 Thread David Marchand
Compiling with -O0 and -g triggers these warnings: ../app/test-mldev/test_inference_common.c: In function ‘ml_request_finish’: ../app/test-mldev/test_inference_common.c:946:51: error: ‘.q.’ directive output may be truncated writing 3 bytes into a region of size between 0 an

[PATCH 2/2] ci: test compilation with debug

2023-03-20 Thread David Marchand
We often miss compilation issues with -O0 -g. Add a test in GHA. Signed-off-by: David Marchand --- .ci/linux-build.sh | 8 +++- .github/workflows/build.yml | 4 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh index ab099438

Re: [PATCH 1/2] app/mldev: fix build with debug

2023-03-20 Thread David Marchand
On Mon, Mar 20, 2023 at 11:26 AM David Marchand wrote: > ../app/test-mldev/test_inference_common.c:952:48: note: using the range > [-2147483648, 2147483647] for directive argument > 952 | snprintf(str, sizeof(str) - 1, "%s.%d", > |

RE: [EXT] Re: [PATCH 1/2] app/mldev: fix build with debug

2023-03-20 Thread Srikanth Yalavarthi
> -Original Message- > From: David Marchand > Sent: 20 March 2023 16:11 > To: dev@dpdk.org > Cc: Srikanth Yalavarthi ; Anup Prabhu > > Subject: [EXT] Re: [PATCH 1/2] app/mldev: fix build with debug > > External Email > > --

回复: af_packet can't send packet more than framecnt

2023-03-20 Thread hfli
Hi, The issue has been resolved when I patched new code from dpdk 22.12, my dpdk version is 19.11 Index: rte_eth_af_packet.c === --- rte_eth_af_packet.c (版本 44115) +++ rte_eth_af_packet.c (版本 44128) @@ -169,6 +169,29 @@ } /* + *

Re: [EXT] Re: [PATCH] MAINTAINERS: update maintainers list for qede

2023-03-20 Thread Thomas Monjalon
13/03/2023 12:37, Alok Prasad: > From: Thomas Monjalon > > 09/03/2023 14:51, Devendra Singh Rawat: > > > Add new maintainer and remove old one from list for qede PMD. > > > > > > Signed-off-by: Devendra Singh Rawat > > > --- > > > Marvell QLogic qede PMD > > > -M: Rasesh Mody > > > M: Devendra

Re: [PATCH v5] lib/bpf: Rename bpf function names to avoid potential conflict with libpcap

2023-03-20 Thread Thomas Monjalon
16/03/2023 01:58, Konstantin Ananyev: > 14/03/2023 14:20, J.J. Martzki пишет: > > The library libpcap has their function 'bpf_validate' either so there would > > be a multiple definition issue when linking with librte_bpf.a and libpcap.a > > statically (Same as http://dpdk.org/patch/52631). So just

Re: cryptodev API question with out of order support

2023-03-20 Thread Doherty, Declan
Hey Suanming, I haven't been actively involved in the development of DPDK in a number of years but as far as I'm aware (and I don't believe this has changed recently), out of order processing from the cryptodev API user perspective is not supported, and for most scenarios I'm aware of (for sy

RE: [PATCH v2 42/44] event/sw: fix segment fault when parse devargs

2023-03-20 Thread Van Haaren, Harry
> -Original Message- > From: Chengwen Feng > Sent: Monday, March 20, 2023 9:21 AM > To: tho...@monjalon.net; ferruh.yi...@amd.com; Van Haaren, Harry > ; Richardson, Bruce > ; Jerin Jacob ; > Nicolau, Radu > Cc: dev@dpdk.org > Subject: [PATCH v2 42/44] event/sw: fix segment fault when pars

RE: cryptodev API question with out of order support

2023-03-20 Thread Suanming Mou
Hi Declan, I see, thank you very much for the clear clarification. BR, Suanming > -Original Message- > From: Doherty, Declan > Sent: Monday, March 20, 2023 7:58 PM > To: Suanming Mou > Cc: dev@dpdk.org > Subject: Re: cryptodev API question with out of order support > > Hey Suanming, >

Re: [PATCH] kni: fix build with Linux 6.3

2023-03-20 Thread David Marchand
On Tue, Feb 28, 2023 at 9:45 PM David Marchand wrote: > > On Tue, Feb 28, 2023 at 6:29 PM Ferruh Yigit wrote: > > > > KNI calls `get_user_pages_remote()` API which is using `FOLL_TOUCH` > > flag, but `FOLL_TOUCH` is no more in public headers since v6.3, > > causing a build error. > > Something lo

[PATCH v2 1/2] app/mldev: fix build with debug

2023-03-20 Thread David Marchand
Compiling with -O0 and -g triggers these warnings: ../app/test-mldev/test_inference_common.c: In function ‘ml_request_finish’: ../app/test-mldev/test_inference_common.c:946:51: error: ‘.q.’ directive output may be truncated writing 3 bytes into a region of size between 0 an

[PATCH v2 2/2] ci: test compilation with debug in GHA

2023-03-20 Thread David Marchand
We often miss compilation issues with -O0 -g. Switch to debug in GHA for the gcc job. Signed-off-by: David Marchand --- Changes since v1: - rather than introduce a new job, updated the ABI check job to build with debug, --- .ci/linux-build.sh | 8 +++- .github/workflows/build.yml

RE: [PATCH v5] net/ice: fix ice dcf control thread crash

2023-03-20 Thread Zhang, Qi Z
> -Original Message- > From: Ye, MingjinX > Sent: Monday, March 20, 2023 5:41 PM > To: dev@dpdk.org > Cc: Yang, Qiming ; sta...@dpdk.org; Zhou, YidingX > ; Ye, MingjinX ; Zhang, > Ke1X ; Zhang, Qi Z > Subject: [PATCH v5] net/ice: fix ice dcf control thread crash > > The control thread

RE: [PATCH v1] raw/ifpga: remove virtual device unplug operation

2023-03-20 Thread Zhang, Qi Z
> -Original Message- > From: Xu, Rosen > Sent: Monday, March 20, 2023 2:52 PM > To: Huang, Wei ; dev@dpdk.org; > tho...@monjalon.net; david.march...@redhat.com > Cc: sta...@dpdk.org; Zhang, Tianfei ; Zhang, Qi Z > > Subject: RE: [PATCH v1] raw/ifpga: remove virtual device unplug operat

RE: [PATCH v1] raw/ifpga: remove virtual device unplug operation

2023-03-20 Thread Zhang, Qi Z
> -Original Message- > From: Zhang, Qi Z > Sent: Monday, March 20, 2023 8:59 PM > To: Xu, Rosen ; Huang, Wei ; > dev@dpdk.org; tho...@monjalon.net; david.march...@redhat.com > Cc: sta...@dpdk.org; Zhang, Tianfei > Subject: RE: [PATCH v1] raw/ifpga: remove virtual device unplug operation

Re: [PATCH] kni: fix build with Linux 6.3

2023-03-20 Thread David Marchand
On Mon, Mar 20, 2023 at 1:10 PM David Marchand wrote: > > On Tue, Feb 28, 2023 at 9:45 PM David Marchand > wrote: > > > > On Tue, Feb 28, 2023 at 6:29 PM Ferruh Yigit wrote: > > > > > > KNI calls `get_user_pages_remote()` API which is using `FOLL_TOUCH` > > > flag, but `FOLL_TOUCH` is no more in

RE: [PATCH v1] net/ipn3ke: fix thread exit issue

2023-03-20 Thread Zhang, Qi Z
> -Original Message- > From: Xu, Rosen > Sent: Monday, March 20, 2023 2:54 PM > To: Huang, Wei ; dev@dpdk.org; > tho...@monjalon.net; david.march...@redhat.com > Cc: sta...@dpdk.org; Zhang, Tianfei ; Zhang, Qi Z > > Subject: RE: [PATCH v1] net/ipn3ke: fix thread exit issue > > Hi, >

RE: [PATCH v1] net/ipn3ke: fix representor name

2023-03-20 Thread Zhang, Qi Z
> -Original Message- > From: Xu, Rosen > Sent: Monday, March 20, 2023 2:53 PM > To: Huang, Wei ; dev@dpdk.org; > tho...@monjalon.net; david.march...@redhat.com > Cc: sta...@dpdk.org; Zhang, Tianfei ; Zhang, Qi Z > > Subject: RE: [PATCH v1] net/ipn3ke: fix representor name > > Hi, > >

Re: [PATCH v6 03/10] dts: add dpdk build on sut

2023-03-20 Thread Juraj Linkeš
On Mon, Mar 20, 2023 at 9:30 AM David Marchand wrote: > > Hi Juraj, > > On Fri, Mar 3, 2023 at 11:25 AM Juraj Linkeš > wrote: > > +class MesonArgs(object): > > +""" > > +Aggregate the arguments needed to build DPDK: > > +default_library: Default library type, Meson allows "shared", "

Re: [PATCH v2 1/3] examples/l3fwd: validate ptype only for type of traffic sent

2023-03-20 Thread Thomas Monjalon
06/03/2023 17:25, Kamalakshitha Aligeri: > The check_ptype function is not considering the ptype of the incoming > traffic. --parse-ptype flag must be provided only when the NIC does not > support parsing the ptype of the incoming traffic > > Suggested-by: Nathan Brown > Signed-off-by: Kamalakshi

Re: [PATCH v6 03/10] dts: add dpdk build on sut

2023-03-20 Thread David Marchand
On Mon, Mar 20, 2023 at 2:12 PM Juraj Linkeš wrote: > On Mon, Mar 20, 2023 at 9:30 AM David Marchand > wrote: > > On Fri, Mar 3, 2023 at 11:25 AM Juraj Linkeš > > wrote: > > > +class MesonArgs(object): > > > +""" > > > +Aggregate the arguments needed to build DPDK: > > > +default_li

MLX5 : Having RTE_FLOW_ACTION_TYPE_PORT_ID flow entry and RTE_FLOW_ACTION_TYPE_QUEUE flow entry in same flow group

2023-03-20 Thread Krishna, Parameswaran
Hi Experts, I'm using DPDK 21.08 with Mlx5 NIC. I'm trying to configure rte-flows with multiple groups. I'm observing that under certain circumstances, jump-group action from Group-0 to Group-1 is not working. I installed a flow rule in group 0 with Attribute Transfer=1, matching src-mac ce:25

Re: [PATCH v2 2/2] ci: test compilation with debug in GHA

2023-03-20 Thread Thomas Monjalon
20/03/2023 13:18, David Marchand: > We often miss compilation issues with -O0 -g. > Switch to debug in GHA for the gcc job. > > Signed-off-by: David Marchand Series applied, thanks.

[v1 1/3] net/mlx5/hws: support dest root table action

2023-03-20 Thread Hamdan Igbaria
Add support for dest root table action creation. This support will allow to redirect the packets to the kernel from non root tables. Signed-off-by: Hamdan Igbaria Reviewed-by: Alex Vesker --- drivers/common/mlx5/linux/meson.build | 2 + drivers/common/mlx5/linux/mlx5_glue.c | 28 + dri

[v1 2/3] net/mlx5/hws: dump FT icm addresses

2023-03-20 Thread Hamdan Igbaria
Add the support for query FT command. Use the query FT command to dump the ICM addresses of table start anchor and matcher end anchor. Signed-off-by: Hamdan Igbaria Reviewed-by: Alex Vesker --- drivers/common/mlx5/mlx5_prm.h | 50 --- drivers/net/mlx5/hws/mlx5dr_cmd.c

[v1 3/3] net/mlx5/hws: Enhance forward table and FTE creation

2023-03-20 Thread Hamdan Igbaria
Changed FW FT and FTE creation to allow dynamic creation. Till now only FTE with vport destination action was supported. Also enhanced forward table creation to be generic. Signed-off-by: Hamdan Igbaria Reviewed-by: Alex Vesker --- drivers/common/mlx5/mlx5_prm.h | 20 +++-- drivers/net

[PATCH 1/4] net/mlx5/hws: fix bug in pattern creation

2023-03-20 Thread Erez Shitrit
When creating a new pattern the data area should be clean, otherwise when the data will come from the arg object it will do OR operation on the data part in the pattern. Fixes: f8c8a6d8440d ("net/mlx5/hws: add action object") Reviewed-by: Alex Vesker Signed-off-by: Erez Shitrit --- drivers/ne

[PATCH 2/4] net/mlx5/hws: shared context uses defaults from local context

2023-03-20 Thread Erez Shitrit
Fix default miss behavior for shared resources, the problem could happen in two cases: When the table created, the default miss should go to the alias ft that will direct it back to local context. When the rule is without specific hit address and we are in a shared RTC from here it should be red

[PATCH 4/4] net/mlx5/hws: add check for modify-header actions

2023-03-20 Thread Erez Shitrit
Allow only actions that are currently supported. Fixes: f8c8a6d8440d ("net/mlx5/hws: add action object") Reviewed-by: Alex Vesker Signed-off-by: Erez Shitrit --- drivers/common/mlx5/mlx5_prm.h| 1 + drivers/net/mlx5/hws/mlx5dr_action.c | 6 ++ drivers/net/mlx5/hws/mlx5dr_pat_ar

[PATCH 3/4] net/mlx5/hws: keep all jumbo tag for deletion

2023-03-20 Thread Erez Shitrit
In cases with more than one STE we didn't update the whole tag of the match jumbo STE, the ste_attr that keeps that indication was not updated at the last iteration. Now we indicate it is a jumbo frame before saving the tag for coming deletion of it. Fixes: 405242c52dd5 ("net/mlx5/hws: add rule

Re: [PATCH v1] bus/ifpga: fix issue of accessing null address

2023-03-20 Thread Thomas Monjalon
> > In function ifpga_scan_one(), variable 'path' is NULL if device argument > > 'afu_bts' is > > not set, subsequent string copy with 'path' would lead to segmentation > > fault. > > > > Fixes: 6fa4aa2b3645 ("bus/ifpga: fix forcing optional devargs") > > Cc: sta...@dpdk.org > > > > Signed-off-

Re: [PATCH v1] bus/ifpga: add fpga bus cleanup

2023-03-20 Thread Thomas Monjalon
> > In this patch, cleanup method is implemented for FPGA bus which will be > > called during eal_bus_cleanup(). > > > > Signed-off-by: Wei Huang > > Acked-by: Rosen Xu It looks to be simple enough to go in -rc3. Applied, thanks.

RE: MLX5 : Having RTE_FLOW_ACTION_TYPE_PORT_ID flow entry and RTE_FLOW_ACTION_TYPE_QUEUE flow entry in same flow group

2023-03-20 Thread Raslan Darawsheh
Hi Krishna, You have two types of tables: 1. FDB (those are the ones with the transfer attribute being set to 1) 2. NIC ( those are the ones with the ingress attribute only being set to 1) When you do jump from one group to another on FDB it will not reach the NIC groups It will jump to

Re: [PATCH v1] raw/ifpga: remove virtual device unplug operation

2023-03-20 Thread Thomas Monjalon
16/03/2023 21:44, Wei Huang: > VDEV bus has implemented cleanup() function to perform cleanup for > devices on the bus during eal_cleanup(), so there is no need for > ifpga driver to record virtual devices and unplug them. Why no need? If the application wants to explicitly remove a device, what h

Re: [PATCH] config/arm: enable rcpc feature on neoverse n1

2023-03-20 Thread Thomas Monjalon
20/03/2023 04:26, Joyce Kong: > Enable rcpc meson configuration for Neoverse N1 platform. Please could you explain what it is in the commit message? > -'march_features': ['crypto'], > +'march_features': ['crypto', 'rcpc'],

[PATCH] devtools: stop compiler atomics with no C11 equivalent

2023-03-20 Thread Tyler Retzlaff
Refrain from using compiler __atomic_{add,and,nand,or,sub,xor}_fetch() to ease future adoption of C11 standard atomics. Signed-off-by: Tyler Retzlaff --- devtools/checkpatches.sh | 8 1 file changed, 8 insertions(+) diff --git a/devtools/checkpatches.sh b/devtools/checkpatches.sh index

RE: [EXT] [PATCH v3 2/2] crypto/qat: add cipher-crc offload support

2023-03-20 Thread O'Sullivan, Kevin
Hi Akhil Comments below Best regards Kevin > -Original Message- > From: Akhil Goyal > Sent: Thursday 16 March 2023 19:15 > To: O'Sullivan, Kevin ; dev@dpdk.org > Cc: Ji, Kai ; Coyle, David > Subject: RE: [EXT] [PATCH v3 2/2] crypto/qat: add cipher-crc offload support > > > Subject: [

release candidate 23.03-rc3

2023-03-20 Thread Thomas Monjalon
A new DPDK release candidate is ready for testing: https://git.dpdk.org/dpdk/tag/?id=v23.03-rc3 There are 110 new patches in this snapshot. Release notes: https://doc.dpdk.org/guides/rel_notes/release_23_03.html Few major additions arrived in this -rc3: - test application

[PATCH] net/mlx5/hws: fix bug in pattern creation

2023-03-20 Thread Erez Shitrit
When creating a new pattern the data area should be clean, otherwise when the data will come from the arg object it will do OR operation on the data part in the pattern. Fixes: f8c8a6d8440d ("net/mlx5/hws: add action object") Reviewed-by: Alex Vesker Signed-off-by: Erez Shitrit --- drivers/ne

  1   2   >