Re: memif driver segfault memory corruption.

2022-07-18 Thread Ferruh Yigit
On 7/16/2022 1:15 AM, John Weston wrote: Hi, I have been working on the dpdk memif driver and encountered the following issues. Please consider these patches for review. Firstly, the zero copy code in drivers/net/memif/rte_eth_memif.c can readilly overflow the ring buffer for mbufs. This pat

[PATCH v3 0/1] crypto/openssl: add aes cmac support

2022-07-18 Thread Ashwin Sekhar T K
Add support for aes cmac operations. v2: * Added support for openssl 3.0 v3: * Fixed checkpatch warnings. Ashwin Sekhar T K (1): crypto/openssl: support aes cmac operations drivers/crypto/openssl/openssl_pmd_private.h | 14 ++ drivers/crypto/openssl/rte_openssl_pmd.c | 142

[PATCH v3 1/1] crypto/openssl: support aes cmac operations

2022-07-18 Thread Ashwin Sekhar T K
Extend openssl crypto PMD to support AES CMAC operations. Signed-off-by: Ashwin Sekhar T K --- drivers/crypto/openssl/openssl_pmd_private.h | 14 ++ drivers/crypto/openssl/rte_openssl_pmd.c | 142 ++- drivers/crypto/openssl/rte_openssl_pmd_ops.c | 20 +++ 3 files changed, 1

[PATCH v4 0/1] crypto/openssl: add aes cmac support

2022-07-18 Thread Ashwin Sekhar T K
Add support for aes cmac operations. v2: * Added support for openssl 3.0 v3: * Fixed checkpatch warnings. v4: * Fixed more checkpatch warnings. Ashwin Sekhar T K (1): crypto/openssl: support aes cmac operations drivers/crypto/openssl/openssl_pmd_private.h | 14 ++ drivers/crypto/openssl/r

[PATCH v4 1/1] crypto/openssl: support aes cmac operations

2022-07-18 Thread Ashwin Sekhar T K
Extend openssl crypto PMD to support AES CMAC operations. Signed-off-by: Ashwin Sekhar T K --- drivers/crypto/openssl/openssl_pmd_private.h | 14 ++ drivers/crypto/openssl/rte_openssl_pmd.c | 142 ++- drivers/crypto/openssl/rte_openssl_pmd_ops.c | 20 +++ 3 files changed, 1

Re: [PATCH v1 1/2] eal: add lcore busyness telemetry

2022-07-18 Thread Burakov, Anatoly
On 17-Jul-22 10:56 AM, Morten Brørup wrote: From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com] Sent: Sunday, 17 July 2022 05.10 Subject: RE: [PATCH v1 1/2] eal: add lcore busyness telemetry From: Anatoly Burakov [mailto:anatoly.bura...@intel.com] Sent: Friday, 15 July 2022 15.

21.11.2 patches review and test

2022-07-18 Thread luca . boccassi
Hi all, Here is a list of patches targeted for stable release 21.11.2. The planned date for the final release is August 29th. Please help with testing and validation of your use cases and report any issues/results with reply-all to this mail. For the final release the fixes and reported validati

[PATCH] version: 22.11-rc0

2022-07-18 Thread David Marchand
Start a new release cycle with empty release notes. The ABI version becomes 23.0. The map files are updated to the new ABI major number (23). The ABI exceptions are dropped and CI ABI checks are disabled because compatibility is not preserved. Special handling of removed drivers is also dropped in

19.11.13 patches review and test

2022-07-18 Thread christian . ehrhardt
Hi all, Here is a list of patches targeted for stable release 19.11.13. The planned date for the final release is August 29th. Please help with testing and validation of your use cases and report any issues/results with reply-all to this mail. For the final release the fixes and reported validat

RE: [PATCH v1 1/2] eal: add lcore busyness telemetry

2022-07-18 Thread Morten Brørup
> From: Burakov, Anatoly [mailto:anatoly.bura...@intel.com] > Sent: Monday, 18 July 2022 11.44 > > On 17-Jul-22 10:56 AM, Morten Brørup wrote: > >> From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com] > >> Sent: Sunday, 17 July 2022 05.10 > >> > >> > >> > >>> Subject: RE: [PATCH v1 1/

RE: DPDK 19.11.3 with multi processes and external physical memory: unable to receive traffic in the secondary processes

2022-07-18 Thread Asaf Sinai
Hi Anatoly, DPDK runs as root, and secondary processes have all the info. The problem was as follows: The external memory regions are not managed by the Linux OS (by using "memmap=x" in 'grub.conf'). Therefore, the kernel cannot supply their physical addresses. So, we added these addresses

Re: [PATCH] version: 22.11-rc0

2022-07-18 Thread David Marchand
Hello CI guys, On Mon, Jul 18, 2022 at 12:10 PM David Marchand wrote: > > Start a new release cycle with empty release notes. > > The ABI version becomes 23.0. > The map files are updated to the new ABI major number (23). > The ABI exceptions are dropped and CI ABI checks are disabled because > c

[PATCH] pipeline: fix code generation for the recirculation ID instruction

2022-07-18 Thread Cristian Dumitrescu
The "offset" and "n_bits" fields were generated incorrectly, hence the output C file was producing compilation errors when the "recircid" instruction was used. Fixes: 5ec76d29dc6 ("pipeline: support packet recirculation") Cc: sta...@dpdk.org Signed-off-by: Cristian Dumitrescu --- lib/pipeline/r

Re: [PATCH v4 3/7] bbdev: add device info on queue topology

2022-07-18 Thread Tom Rix
On 7/7/22 10:13 AM, Chautru, Nicolas wrote: Hi Tom, -Original Message- From: Tom Rix Sent: Thursday, July 7, 2022 6:34 AM To: Chautru, Nicolas ; dev@dpdk.org; tho...@monjalon.net; gak...@marvell.com; hemant.agra...@nxp.com Cc: maxime.coque...@redhat.com; m...@ashroe.eu; Richardson, B

[PATCH 1/9] pipeline: move specification data structures to internal header

2022-07-18 Thread Cristian Dumitrescu
Move all the pipeline object specification data structures to an internal header file. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- lib/pipeline/rte_swx_pipeline_spec.c | 126 +-- lib/pipeline/rte_swx_pipeline_spec.h | 176 +++ 2

[PATCH 2/9] pipeline: add pipeline specification data structure

2022-07-18 Thread Cristian Dumitrescu
Add specification data structure for the entire pipeline. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- lib/pipeline/rte_swx_pipeline_spec.c | 21 ++ lib/pipeline/rte_swx_pipeline_spec.h | 32 2 files changed, 53 insertions(+)

[PATCH 3/9] pipeline: rework the specification file-based pipeline build

2022-07-18 Thread Cristian Dumitrescu
Rework the specification file-based pipeline build operation to first parse the specification file into the previously introduced pipeline specification data structure, then use this structure to configure and build the pipeline. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R.

[PATCH 4/9] pipeline: generate the code for pipeline specification structure

2022-07-18 Thread Cristian Dumitrescu
Add support to export the pipeline specification data structure to a C source code file. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- lib/pipeline/rte_swx_pipeline_spec.c | 621 +++ lib/pipeline/rte_swx_pipeline_spec.h | 5 + 2 files changed, 6

[PATCH 5/9] pipeline: add API for pipeline code generation

2022-07-18 Thread Cristian Dumitrescu
Previously, the C code generation for the pipeline was hidden under the hood; now, we make this an explicit API operation. Besides the functions for the pipeline actions and the pipeline instructions, the generated C source code now includes the pipeline specification structure required for the pip

[PATCH 6/9] pipeline: add API for shared library-based pipeline build

2022-07-18 Thread Cristian Dumitrescu
Previously, the pipeline build operation was done based on the specification file (typically produced by the P4 compiler), then the C code with optimized functions for the pipeline actions and instructions was generated, built into a shared object library, loaded and installed into the pipeline in

[PATCH 7/9] examples/pipeline: add CLI command for pipeline code generation

2022-07-18 Thread Cristian Dumitrescu
Add CLI command for the pipeline code generation operation. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- examples/pipeline/cli.c | 61 + 1 file changed, 61 insertions(+) diff --git a/examples/pipeline/cli.c b/examples/pipeline/cl

[PATCH 8/9] examples/pipeline: add CLI command for shared library build

2022-07-18 Thread Cristian Dumitrescu
Add CLI command for the shared object library build operation. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- examples/pipeline/cli.c | 147 ++-- 1 file changed, 143 insertions(+), 4 deletions(-) diff --git a/examples/pipeline/cli.c b/

[PATCH 9/9] examples/pipeline: call CLI commands for code generation and build

2022-07-18 Thread Cristian Dumitrescu
Update the example CLI scripts with the commands for code generation and shared object library build. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- examples/pipeline/examples/fib.cli | 8 +++- examples/pipeline/examples/hash_func.cli | 8 +++

Re: [PATCH v4 2/7] bbdev: add device status info

2022-07-18 Thread Tom Rix
On 7/7/22 10:15 AM, Chautru, Nicolas wrote: Hi Tom, -Original Message- From: Tom Rix Sent: Thursday, July 7, 2022 6:37 AM To: Chautru, Nicolas ; dev@dpdk.org; tho...@monjalon.net; gak...@marvell.com; hemant.agra...@nxp.com Cc: maxime.coque...@redhat.com; m...@ashroe.eu; Richardson, B

Re: [PATCH v4 4/7] drivers/baseband: update PMDs to expose queue per operation

2022-07-18 Thread Tom Rix
On 7/7/22 10:19 AM, Chautru, Nicolas wrote: Hi Tom, -Original Message- From: Tom Rix Sent: Thursday, July 7, 2022 6:21 AM To: Chautru, Nicolas ; dev@dpdk.org; tho...@monjalon.net; gak...@marvell.com; hemant.agra...@nxp.com Cc: maxime.coque...@redhat.com; m...@ashroe.eu; Richardson, B

[PATCH V2 1/9] pipeline: move specification data structures to internal header

2022-07-18 Thread Cristian Dumitrescu
Move all the pipeline object specification data structures to an internal header file. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- lib/pipeline/rte_swx_pipeline_spec.c | 126 +-- lib/pipeline/rte_swx_pipeline_spec.h | 176 +++ 2

[PATCH V2 2/9] pipeline: add pipeline specification data structure

2022-07-18 Thread Cristian Dumitrescu
Add specification data structure for the entire pipeline. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- lib/pipeline/rte_swx_pipeline_spec.c | 21 ++ lib/pipeline/rte_swx_pipeline_spec.h | 32 2 files changed, 53 insertions(+)

[PATCH V2 3/9] pipeline: rework the specification file-based pipeline build

2022-07-18 Thread Cristian Dumitrescu
Rework the specification file-based pipeline build operation to first parse the specification file into the previously introduced pipeline specification data structure, then use this structure to configure and build the pipeline. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R.

[PATCH V2 4/9] pipeline: generate the code for pipeline specification structure

2022-07-18 Thread Cristian Dumitrescu
Add support to export the pipeline specification data structure to a C source code file. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- lib/pipeline/rte_swx_pipeline_spec.c | 622 +++ lib/pipeline/rte_swx_pipeline_spec.h | 5 + 2 files changed, 6

[PATCH V2 5/9] pipeline: add API for pipeline code generation

2022-07-18 Thread Cristian Dumitrescu
Previously, the C code generation for the pipeline was hidden under the hood; now, we make this an explicit API operation. Besides the functions for the pipeline actions and the pipeline instructions, the generated C source code now includes the pipeline specification structure required for the pip

[PATCH V2 7/9] examples/pipeline: add CLI command for pipeline code generation

2022-07-18 Thread Cristian Dumitrescu
Add CLI command for the pipeline code generation operation. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- examples/pipeline/cli.c | 61 + 1 file changed, 61 insertions(+) diff --git a/examples/pipeline/cli.c b/examples/pipeline/cl

[PATCH V2 6/9] pipeline: add API for shared library-based pipeline build

2022-07-18 Thread Cristian Dumitrescu
Previously, the pipeline build operation was done based on the specification file (typically produced by the P4 compiler), then the C code with optimized functions for the pipeline actions and instructions was generated, built into a shared object library, loaded and installed into the pipeline in

[PATCH V2 8/9] examples/pipeline: add CLI command for shared library build

2022-07-18 Thread Cristian Dumitrescu
Add CLI command for the shared object library build operation. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- examples/pipeline/cli.c | 147 ++-- 1 file changed, 143 insertions(+), 4 deletions(-) diff --git a/examples/pipeline/cli.c b/

[PATCH V2 9/9] examples/pipeline: call CLI commands for code generation and build

2022-07-18 Thread Cristian Dumitrescu
Update the example CLI scripts with the commands for code generation and shared object library build. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R. --- examples/pipeline/examples/fib.cli | 8 +++- examples/pipeline/examples/hash_func.cli | 8 +++

RE: [PATCH v4 0/1] crypto/openssl: add aes cmac support

2022-07-18 Thread Ji, Kai
Hi Ashwin, There is duplication of OPENSSL_VERSION_NUMBER check in v4, right before process_openssl_auth_mac(). Are you planning to enable CMAC unit test case in cryptodev_openssl_autotest ? Regards Kai > -Original Message- > From: Ashwin Sekhar T K > Sent: Monday, July 18, 2022 1

Re: [PATCH] examples/l3fwd: fix issue with MTU set on event mode

2022-07-18 Thread Nithin Kumar Dabilpuram
Ping. On 2022-06-02 1:15 PM, Jerin Jacob wrote: On Thu, Apr 21, 2022 at 7:47 PM Nithin Dabilpuram wrote: MTU configuration is missing for ethdev when using eventmode when user provides it via "--max-pkt-len" config. It is only done in poll mode setup. Fix the event mode setup code to do the s

[PATCH] net/af_xdp: improve documentation

2022-07-18 Thread Shibin Koikkara Reeny
From: Ciara Loftus Instead of a one-liner describing each vdev argument, add a description and example for each. Move the information describing preferred busy polling from the "Limitations" section to the "Options" section where it is better placed. Also make general grammer improvements. Signe

Re: [PATCH v1 1/2] eal: add lcore busyness telemetry

2022-07-18 Thread Stephen Hemminger
On Mon, 18 Jul 2022 10:43:52 +0100 "Burakov, Anatoly" wrote: > >>> This is an "alternative fact"! Only run-to-completion applications > >> polls for RX. > >>> Pipelined applications do not poll for packets in every pipeline > >> stage. > >> I guess you meant, poll for packets from NIC. They

RE: [PATCH v4 0/1] crypto/openssl: add aes cmac support

2022-07-18 Thread Ashwin Sekhar Thalakalath Kottilveetil
Hi Kai, Will fix the is duplication of OPENSSL_VERSION_NUMBER check. Some CMAC tests are already present. The number of successful tests in cryptodev_openssl_autotest increases by 4 with this change. I am not planning to add more. Regards, Ashwin Sekhar T K > -Original Message- > Fro

Re: [PATCH] version: 22.11-rc0

2022-07-18 Thread Lincoln Lavoie
HI All, With the 22.07 release, I think we can now disable the ABI for the dpdk main, until the next LTS release, correct? Cheers, Lincoln On Mon, Jul 18, 2022 at 8:34 AM David Marchand wrote: > Hello CI guys, > > On Mon, Jul 18, 2022 at 12:10 PM David Marchand > wrote: > > > > Start a new re

[PATCH v5 0/1] crypto/openssl: add aes cmac support

2022-07-18 Thread Ashwin Sekhar T K
Add support for aes cmac operations. v2: * Added support for openssl 3.0 v3: * Fixed checkpatch warnings. v4: * Fixed further checkpatch warnings. v5: * Fixed duplicated preprocessor checks. Ashwin Sekhar T K (1): crypto/openssl: support aes cmac operations drivers/crypto/openssl/openssl_

[PATCH v5 1/1] crypto/openssl: support aes cmac operations

2022-07-18 Thread Ashwin Sekhar T K
Extend openssl crypto PMD to support AES CMAC operations. Signed-off-by: Ashwin Sekhar T K --- drivers/crypto/openssl/openssl_pmd_private.h | 14 ++ drivers/crypto/openssl/rte_openssl_pmd.c | 138 ++- drivers/crypto/openssl/rte_openssl_pmd_ops.c | 20 +++ 3 files changed, 1

RE: [PATCH v5 1/1] crypto/openssl: support aes cmac operations

2022-07-18 Thread Ji, Kai
> -Original Message- > From: Ashwin Sekhar T K > Sent: Monday, July 18, 2022 5:25 PM > To: asek...@marvell.com > Cc: ano...@marvell.com; dev@dpdk.org; gak...@marvell.com; > hka...@marvell.com; jer...@marvell.com; kirankum...@marvell.com; > ndabilpu...@marvell.com; pbhagavat...@marvell.c

Re: [RFC PATCH 00/29] cover letter for net/qdma PMD

2022-07-18 Thread aman . kumar
On 07/07/22 7:49 pm, Hemant Agrawal wrote: On 7/7/2022 7:45 PM, Thomas Monjalon wrote: > 07/07/2022 15:55, Aman Kumar: >> On 07/07/22 12:27 pm, Thomas Monjalon wrote: >>> 06/07/2022 09:51, Aman Kumar: This patch series provides net PMD for VVDN's NR(5G) Hi-PHY solution over T1 t

Re: [PATCH] config: set pkgconfig for ppc64le

2022-07-18 Thread Thinh Tran
On 7/14/2022 1:58 AM, Ali Alnubani wrote: -Original Message- From: Thinh Tran Sent: Wednesday, July 13, 2022 10:50 PM To: Ali Alnubani ; NBU-Contact-Thomas Monjalon (EXTERNAL) Cc: dev@dpdk.org; David Christensen Subject: Re: [PATCH] config: set pkgconfig for ppc64le Hi, On 7/13/20

Re: [dpdk-dev] [PATCH v2] doc: propose correction rte_{bsf, fls} inline functions type use

2022-07-18 Thread Tyler Retzlaff
Hi Thomas, I will see if i can carve out some time budget for it, it's a pretty old patch so it could take some time to review. On Wed, Jul 13, 2022 at 12:13:20PM +0200, Thomas Monjalon wrote: > Tyler, there was no progress on this topic during the past year. > Please could you send the patch to

Re: [PATCH v4 5/7] bbdev: add new operation for FFT processing

2022-07-18 Thread Tom Rix
On 7/7/22 9:57 AM, Chautru, Nicolas wrote: Hi Tom, -Original Message- From: Tom Rix Nic, Not all my comments were addressed. The one I am most interested in is the default type / size and how it interacts with fp16. My bad, I had replied to all that (and fixed some of them in the

Re: 21.11.2 patches review and test

2022-07-18 Thread Pei Zhang
cc Yanghang Liu (yangh...@redhat.com). Yanghang is from the RedHat QE team and will finish this dpdk testing with our test cases. Hello Luca, Could you also cc Yanghang in the future once there are new testing requests :)? Thanks. Best regards, Pei On Mon, Jul 18, 2022 at 5:59 PM wrote: > Hi

Re: 19.11.13 patches review and test

2022-07-18 Thread Pei Zhang
cc Yanghang Liu (yangh...@redhat.com). Yanghang is from the RedHat QE team and will finish this dpdk testing with our test cases. Hello Christian, Could you also cc Yanghang in the future once there are new testing requests :)? Thanks. Best regards, Pei On Mon, Jul 18, 2022 at 6:19 PM wrote:

Re: 19.11.13 patches review and test

2022-07-18 Thread Christian Ehrhardt
On Tue, Jul 19, 2022 at 4:43 AM Pei Zhang wrote: > > cc Yanghang Liu (yangh...@redhat.com). Yanghang is from the RedHat QE team > and will finish this dpdk testing with our test cases. > > Hello Christian, > > Could you also cc Yanghang in the future once there are new testing requests > :)? Tha