[PATCH] net/iavf: support no data path polling mode

2023-08-10 Thread Mingjin Ye
Currently, during a PF to VF reset due to an action such as changing trust settings on a VF, the DPDK application running with iavf PMD loses connectivity, and the only solution is to reset the DPDK application. Instead of forcing a reset of the DPDK application to restore connectivity, the iavf P

[PATCH v2 1/2] test/cpuflags: removed test for NUMFLAGS

2023-08-10 Thread Sivaprasad Tummala
This patch removes RTE_CPUFLAG_NUMFLAGS to allow new CPU features without breaking ABI each time. Signed-off-by: Sivaprasad Tummala --- app/test/test_cpuflags.c | 9 - 1 file changed, 9 deletions(-) diff --git a/app/test/test_cpuflags.c b/app/test/test_cpuflags.c index a0e342ae48..2b856

[PATCH v2 2/2] eal: remove NUMFLAGS enumeration

2023-08-10 Thread Sivaprasad Tummala
This patch removes RTE_CPUFLAG_NUMFLAGS to allow new CPU features without breaking ABI each time. Signed-off-by: Sivaprasad Tummala --- lib/eal/arm/include/rte_cpuflags_32.h| 1 - lib/eal/arm/include/rte_cpuflags_64.h| 1 - lib/eal/arm/rte_cpuflags.c | 7 +-- lib/eal/lo

RE: [PATCH 1/2] eal: remove RTE_CPUFLAG_NUMFLAGS

2023-08-10 Thread Tummala, Sivaprasad
[AMD Official Use Only - General] ``` From: Stanisław Kardach Sent: Thursday, August 3, 2023 5:20 AM To: Tummala, Sivaprasad Cc: Ruifeng Wang ; Min Zhou ; David Christensen ; Bruce Richardson ; Konstantin Ananyev ; dev Subject: Re: [PATCH 1/2] eal: remove RTE_CPUFLAG_NUMFLAGS Caution: This

Re: 20.11.9 patches review and test

2023-08-10 Thread YangHang Liu
Hi, Luca RedHat QE did not find any new issues about 20.11.9 rc dpdk during the tests. I tested below 18 scenarios and all got PASS on RHEL9: - Guest with device assignment(PF) throughput testing(1G hugepage size): PASS - Guest with device assignment(PF) throughput testing(2M hugepage s

[PATCH v2] net/iavf: add devargs to enable vf auto-reset

2023-08-10 Thread Shiyang He
Originally, the iavf PMD does not perform special actions when it receives a PF-to-VF reset event, resulting in vf being offline and unavailable. This patch enables vf auto-reset by setting 'watchdog_period' devargs to true. The iavf PMD will perform an automatic reset to bring the vf back online

[PATCH] dma/idxd: add reset in the init routine

2023-08-10 Thread Frank Du
Fix for windows, no one reset the dev to a clear status. In Linux, kernel driver will reset during the prob. Signed-off-by: Frank Du --- drivers/dma/idxd/idxd_pci.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/dma/idxd/idxd_pci.c b/drivers/dma/idxd/idxd_pci.c index 3696c7f

[PATCH 6/6] devtools: forbid new direct use of GCC atomic builtins

2023-08-10 Thread Tyler Retzlaff
Refrain from using compiler __atomic_xxx builtins DPDK now requires the use of rte_atomic__explicit macros when operating on DPDK atomic variables. Signed-off-by: Tyler Retzlaff Acked-by: Morten Brørup --- devtools/checkpatches.sh | 8 1 file changed, 8 insertions(+) diff --git a/devt

[PATCH 5/6] bpf: adapt for EAL optional atomics API changes

2023-08-10 Thread Tyler Retzlaff
Adapt bpf for EAL optional atomics API changes Signed-off-by: Tyler Retzlaff --- lib/bpf/bpf_pkt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/bpf/bpf_pkt.c b/lib/bpf/bpf_pkt.c index ffd2db7..b300447 100644 --- a/lib/bpf/bpf_pkt.c +++ b/lib/bpf/bpf_pkt.c @@ -25,

[PATCH 3/6] eal: add rte atomic qualifier with casts

2023-08-10 Thread Tyler Retzlaff
Introduce __rte_atomic qualifying casts in rte_optional atomics inline functions to prevent cascading the need to pass __rte_atomic qualified arguments. Warning, this is really implementation dependent and being done temporarily to avoid having to convert more of the libraries and tests in DPDK in

[PATCH 2/6] eal: adapt EAL to present rte optional atomics API

2023-08-10 Thread Tyler Retzlaff
Adapt the EAL public headers to use rte optional atomics API instead of directly using and exposing toolchain specific atomic builtin intrinsics. Signed-off-by: Tyler Retzlaff --- app/test/test_mcslock.c| 6 ++-- lib/eal/arm/include/rte_atomic_64.h| 32 +++---

[PATCH 1/6] eal: provide rte stdatomics optional atomics API

2023-08-10 Thread Tyler Retzlaff
Provide API for atomic operations in the rte namespace that may optionally be configured to use C11 atomics with meson option enable_stdatomics=true Signed-off-by: Tyler Retzlaff --- config/meson.build | 1 + config/rte_config.h | 1 + lib/eal/include/meson.build

[PATCH 4/6] distributor: adapt for EAL optional atomics API changes

2023-08-10 Thread Tyler Retzlaff
Adapt distributor for EAL optional atomics API changes Signed-off-by: Tyler Retzlaff --- lib/distributor/distributor_private.h| 2 +- lib/distributor/rte_distributor_single.c | 44 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/lib/distribu

[PATCH 0/6] RFC optional rte optional stdatomics API

2023-08-10 Thread Tyler Retzlaff
This series introduces API additions prefixed in the rte namespace that allow the optional use of stdatomics.h from C11 using enable_stdatomics=true for targets where enable_stdatomics=false no functional change is intended. Be aware this does not contain all changes to use stdatomics across the D

Re: [PATCH v5] build: update DPDK to use C11 standard

2023-08-10 Thread Tyler Retzlaff
On Thu, Aug 10, 2023 at 08:17:23PM +0200, Morten Brørup wrote: > > From: Stephen Hemminger [mailto:step...@networkplumber.org] > > Sent: Thursday, 10 August 2023 19.03 > > > > On Thu, 10 Aug 2023 18:49:09 +0200 > > Thomas Monjalon wrote: > > > > > 10/08/2023 18:35, Bruce Richardson: > > > > On T

DPDK Release Status Meeting 2023-08-10

2023-08-10 Thread Mcnamara, John
Release status meeting minutes 2023-08-10 = Agenda: * Release Dates * Subtrees * Roadmaps * LTS * Defects * Opens Participants: * AMD [No] * ARM * Debian/Microsoft * Intel * Marvell * Nvidia * Red Hat Release Dates - The following are the prop

[RFC] net/sfc: support packet replay in transfer flows

2023-08-10 Thread Ivan Malov
Packet replay enables users to leverage multiple counters in one flow and allows to request delivery to multiple ports. A given flow rule may use either one inline count action and multiple indirect counters or just multiple indirect counters. The inline count action (if any) must come before the

RE: [RFC PATCH v2] dmadev: offload to free source buffer

2023-08-10 Thread Morten Brørup
> From: Amit Prakash Shukla [mailto:amitpraka...@marvell.com] > Sent: Thursday, 10 August 2023 18.53 > > This changeset adds support in DMA library to free source DMA buffer by > hardware. On a supported hardware, application can pass on the mempool > information as part of vchan config when the D

RE: [PATCH v5] build: update DPDK to use C11 standard

2023-08-10 Thread Morten Brørup
> From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Thursday, 10 August 2023 19.03 > > On Thu, 10 Aug 2023 18:49:09 +0200 > Thomas Monjalon wrote: > > > 10/08/2023 18:35, Bruce Richardson: > > > On Thu, Aug 10, 2023 at 07:48:39AM -0700, Stephen Hemminger wrote: > > > > On Thu,

[PATCH 1/2] net/sfc: offer indirect VXLAN encap action in transfer flows

2023-08-10 Thread Ivan Malov
Parsing inline action VXLAN_ENCAP repeating in many flows is expensive, so offer support for its indirect version. Query operation is not supported for this action. The next patch will add a means to update the encapsulation header data. Signed-off-by: Ivan Malov Reviewed-by: Andy Moreton --- .

[PATCH 2/2] net/sfc: support updating indirect VXLAN encap action

2023-08-10 Thread Ivan Malov
Such updates are helpful as they let applications avoid costly flow re-insertions when the header data changes. Signed-off-by: Ivan Malov Reviewed-by: Andy Moreton --- drivers/common/sfc_efx/base/efx.h | 9 +++ drivers/common/sfc_efx/base/efx_mae.c | 80 drivers/co

[PATCH] graph: mark API's as stable

2023-08-10 Thread Stephen Hemminger
The graph library has been marked experimental since initial release in 2020. Time to take the training wheels off. Signed-off-by: Stephen Hemminger --- MAINTAINERS| 2 +- lib/graph/rte_graph.h | 34 -- lib/graph/rte_graph

[PATCH 1/1] net/sfc: add missing error code indication to MAE init path

2023-08-10 Thread Ivan Malov
A failure to allocate a bounce buffer for encap. header parsing results in falling to the error path but does not set an appropriate error code. Fix this. Fixes: 1bbd1ec2348a ("net/sfc: support action VXLAN encap in MAE backend") Cc: sta...@dpdk.org Signed-off-by: Ivan Malov Reviewed-by: Andy Mo

Re: [PATCH v5] build: update DPDK to use C11 standard

2023-08-10 Thread Stephen Hemminger
On Thu, 10 Aug 2023 18:49:09 +0200 Thomas Monjalon wrote: > 10/08/2023 18:35, Bruce Richardson: > > On Thu, Aug 10, 2023 at 07:48:39AM -0700, Stephen Hemminger wrote: > > > On Thu, 10 Aug 2023 15:34:43 +0200 > > > Thomas Monjalon wrote: > > > > > > > 03/08/2023 15:36, David Marchand: > >

[RFC PATCH v2] dmadev: offload to free source buffer

2023-08-10 Thread Amit Prakash Shukla
This changeset adds support in DMA library to free source DMA buffer by hardware. On a supported hardware, application can pass on the mempool information as part of vchan config when the DMA transfer direction is configured as RTE_DMA_DIR_MEM_TO_DEV. Signed-off-by: Amit Prakash Shukla --- v2: -

Re: [PATCH v5] build: update DPDK to use C11 standard

2023-08-10 Thread Thomas Monjalon
10/08/2023 18:35, Bruce Richardson: > On Thu, Aug 10, 2023 at 07:48:39AM -0700, Stephen Hemminger wrote: > > On Thu, 10 Aug 2023 15:34:43 +0200 > > Thomas Monjalon wrote: > > > > > 03/08/2023 15:36, David Marchand: > > > > On Wed, Aug 2, 2023 at 2:32 PM Bruce Richardson > > > > wrote: > > > >

Re: [PATCH v5] build: update DPDK to use C11 standard

2023-08-10 Thread Bruce Richardson
On Thu, Aug 10, 2023 at 07:48:39AM -0700, Stephen Hemminger wrote: > On Thu, 10 Aug 2023 15:34:43 +0200 > Thomas Monjalon wrote: > > > 03/08/2023 15:36, David Marchand: > > > On Wed, Aug 2, 2023 at 2:32 PM Bruce Richardson > > > wrote: > > > > > > > > As previously announced, DPDK 23.11 will r

[PATCH] ethdev: add packet type matching item

2023-08-10 Thread Alexander Kozyrev
Add RTE_FLOW_ITEM_TYPE_PTYPE to allow matching on L2/L3/L4 and tunnel information as defined in mbuf. Signed-off-by: Alexander Kozyrev --- app/test-pmd/cmdline_flow.c | 27 + doc/guides/nics/features/default.ini| 1 + doc/guides/prog_guide/rte_flow.rs

RE: [PATCH] mbuf: add ESP packet type

2023-08-10 Thread Morten Brørup
> From: Alexander Kozyrev [mailto:akozy...@nvidia.com] > Sent: Thursday, 10 August 2023 17.54 > > Support the IP Encapsulating Security Payload (ESP) in transport mode. > > Signed-off-by: Alexander Kozyrev > --- > lib/mbuf/rte_mbuf_ptype.h | 23 +++ > 1 file changed, 23 inse

[PATCH] mbuf: add ESP packet type

2023-08-10 Thread Alexander Kozyrev
Support the IP Encapsulating Security Payload (ESP) in transport mode. Signed-off-by: Alexander Kozyrev --- lib/mbuf/rte_mbuf_ptype.h | 23 +++ 1 file changed, 23 insertions(+) diff --git a/lib/mbuf/rte_mbuf_ptype.h b/lib/mbuf/rte_mbuf_ptype.h index 17a2dd3576..7cb7da 10

Re: [dpdk-dev] [PATCH RFC] net/ena: Add Windows support.

2023-08-10 Thread Stephen Hemminger
On Thu, 23 Mar 2023 17:19:55 +0300 Dmitry Kozlyuk wrote: > > >> This is a very old thread, but still in the patchwork, I wonder if is > > >> there any update on the issue? > > > > > > Hi Ferruh, > > > > > > sorry for the late reply - nothing new from my side. > > > > > > I'm not sure what'

RE: [PATCH] build: deprecate enable_kmods option

2023-08-10 Thread Morten Brørup
> From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Thursday, 10 August 2023 15.18 > > With the removal of the kni kernel driver, there are no longer any > Linux kernel modules in our repository, leaving only modules for FreeBSD > present. Since: > > * BSD has no issues with out-

Re: [PATCH v5 14/14] bus/vmbus: update MAINTAINERS and docs

2023-08-10 Thread Stephen Hemminger
On Sat, 23 Apr 2022 09:58:49 +0530 Srikanth Kaka wrote: > updated MAINTAINERS and doc files for FreeBSD support > > Signed-off-by: Srikanth Kaka > Signed-off-by: Vag Singh > Signed-off-by: Anand Thulasiram > --- > MAINTAINERS| 2 ++ > doc/guides/nics/netvsc.rst | 11

RE: [PUB] Re: [PATCH] app: fix silent enqueue fail in test_mbuf test_refcnt_iter

2023-08-10 Thread Julien Hascoet
Yes, just did it. Thanks ! De : Stephen Hemminger Envoyé : jeudi 10 août 2023 17:33 À : jhascoet Cc : david.march...@redhat.com ; dev@dpdk.org Objet : [PUB] Re: [PATCH] app: fix silent enqueue fail in test_mbuf test_refcnt_iter On Thu, 10 Aug 2023 08:00:30 +02

Re: [PATCH] app: fix silent enqueue fail in test_mbuf test_refcnt_iter

2023-08-10 Thread Stephen Hemminger
On Thu, 10 Aug 2023 08:00:30 +0200 jhascoet wrote: > diff --git a/app/test/test_mbuf.c b/app/test/test_mbuf.c > index efac01806b..be114e3302 100644 > --- a/app/test/test_mbuf.c > +++ b/app/test/test_mbuf.c > @@ -1033,12 +1033,17 @@ test_refcnt_iter(unsigned int lcore, unsigned int > iter, >

[PATCH] app: fix silent enqueue fail in test_mbuf test_refcnt_iter

2023-08-10 Thread jhascoet
From: Julien Hascoet In case of ring full state, we retry the enqueue operation in order to avoid mbuf loss. Fixes: af75078fece ("first public release") Signed-off-by: Julien Hascoet --- app/test/test_mbuf.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/app/t

Re: [PATCH v5] build: update DPDK to use C11 standard

2023-08-10 Thread Stephen Hemminger
On Thu, 10 Aug 2023 15:34:43 +0200 Thomas Monjalon wrote: > 03/08/2023 15:36, David Marchand: > > On Wed, Aug 2, 2023 at 2:32 PM Bruce Richardson > > wrote: > > > > > > As previously announced, DPDK 23.11 will require a C11 supporting > > > compiler and will use the C11 standard in all builds.

Re: [PATCH v5] build: update DPDK to use C11 standard

2023-08-10 Thread Thomas Monjalon
03/08/2023 15:36, David Marchand: > On Wed, Aug 2, 2023 at 2:32 PM Bruce Richardson > wrote: > > > > As previously announced, DPDK 23.11 will require a C11 supporting > > compiler and will use the C11 standard in all builds. > > > > Forcing use of the C standard, rather than the standard with > >

[PATCH] build: deprecate enable_kmods option

2023-08-10 Thread Bruce Richardson
With the removal of the kni kernel driver, there are no longer any Linux kernel modules in our repository, leaving only modules for FreeBSD present. Since: * BSD has no issues with out-of-tree modules and * There are no in-tree equivalents for those modules in BSD there is no point in building fo

Re: [PATCH v2] eventdev/eth_rx: update adapter create APIs

2023-08-10 Thread Jerin Jacob
On Thu, Aug 10, 2023 at 5:28 PM Naga Harish K, S V wrote: > > Hi Jerin, > Thinking of another approach for this patch. > Instead of changing all create APIs, update > rte_event_eth_rx_adapter_create_ext() alone with additional parameters. > rte_event_eth_rx_adapter_create() and > rte_event

[PATCH] app/test: validate shorter private key in ECDSA P521 test

2023-08-10 Thread Gowrishankar Muthukrishnan
Update test vector of ECDSA P521 curve for validating private key of length shorter than prime length. As prime length of this test is not aligned by 8 bytes, this new test vector could test any alignment issue along with the sign validation. Signed-off-by: Gowrishankar Muthukrishnan --- app/tes

[PATCH v3 2/2] app/dma-perf: add SG copy support

2023-08-10 Thread Gowrishankar Muthukrishnan
Add SG copy support. Signed-off-by: Gowrishankar Muthukrishnan --- app/test-dma-perf/benchmark.c | 204 +- app/test-dma-perf/config.ini | 17 +++ app/test-dma-perf/main.c | 35 +- app/test-dma-perf/main.h | 5 +- 4 files changed, 231 insertions(

[PATCH v3 1/2] app/dma-perf: validate copied memory

2023-08-10 Thread Gowrishankar Muthukrishnan
Validate copied memory to ensure DMA copy did not fail. Fixes: 623dc9364dc ("app/dma-perf: introduce DMA performance test") Signed-off-by: Gowrishankar Muthukrishnan --- app/test-dma-perf/benchmark.c | 23 +-- app/test-dma-perf/main.c | 16 +++- app/test-dma

[PATCH v3 0/2] app/dma-perf: add SG copy support

2023-08-10 Thread Gowrishankar Muthukrishnan
Add SG copy support in dma-perf application. v3: - Combined patch that does copy validation along with this patch, which means better validation for SG. Gowrishankar Muthukrishnan (2): app/dma-perf: validate copied memory app/dma-perf: add SG copy support app/test-dma-perf/benchmark.c |

[PATCH v2 3/3] test/dma: add SG copy tests

2023-08-10 Thread Gowrishankar Muthukrishnan
Add scatter-gather copy tests. Signed-off-by: Vidya Sagar Velumuri Signed-off-by: Gowrishankar Muthukrishnan --- app/test/test_dmadev.c | 124 +++- app/test/test_dmadev_api.c | 163 ++--- app/test/test_dmadev_api.h | 2 + 3 files cha

[PATCH v2 2/3] test/dma: test vchan reconfiguration

2023-08-10 Thread Gowrishankar Muthukrishnan
Reconfigure vchan count and validate if new count is effective. Signed-off-by: Gowrishankar Muthukrishnan --- app/test/test_dmadev_api.c | 51 ++ 1 file changed, 51 insertions(+) diff --git a/app/test/test_dmadev_api.c b/app/test/test_dmadev_api.c index a1646

[PATCH v2 1/3] test/dma: add test skip status

2023-08-10 Thread Gowrishankar Muthukrishnan
Add status on skipped tests. Signed-off-by: Gowrishankar Muthukrishnan --- app/test/test_dmadev_api.c | 26 +++--- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/app/test/test_dmadev_api.c b/app/test/test_dmadev_api.c index 4a181af90a..a1646472b0 100644 --- a/

[PATCH v2 0/3] test/dma: add vchan reconfig and SG tests

2023-08-10 Thread Gowrishankar Muthukrishnan
This patch series adds vchan reconfiguration and SG tests. v2: - combined individual test patches with 1/3 as tests can be skipped unless supported by PMD. Gowrishankar Muthukrishnan (3): test/dma: add test skip status test/dma: test vchan reconfiguration test/dma: add SG copy tests a

[PATCH 4/4] test/dma: enable cnxk tests

2023-08-10 Thread Gowrishankar Muthukrishnan
Enable DMA tests for CNXK driver. Signed-off-by: Gowrishankar Muthukrishnan --- app/test/meson.build | 1 + app/test/test_dmadev.c | 9 + 2 files changed, 10 insertions(+) diff --git a/app/test/meson.build b/app/test/meson.build index de671b665f..fa5987f3a2 100644 --- a/app/test/meson

[PATCH 2/4] test/dma: run tests according to PMD

2023-08-10 Thread Gowrishankar Muthukrishnan
Run tests according to PMD configured. Signed-off-by: Gowrishankar Muthukrishnan --- app/test/meson.build | 7 +++- app/test/test_dmadev.c | 87 +++--- 2 files changed, 71 insertions(+), 23 deletions(-) diff --git a/app/test/meson.build b/app/test/meson.bu

[PATCH 3/4] dma/cnxk: update PCI driver name

2023-08-10 Thread Gowrishankar Muthukrishnan
Follow PCI driver naming convention standard across drivers. Signed-off-by: Gowrishankar Muthukrishnan --- drivers/dma/cnxk/cnxk_dmadev.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/dma/cnxk/cnxk_dmadev.c b/drivers/dma/cnxk/cnxk_dmadev.c index a6f4a31e0e..

[PATCH 1/4] dmadev: add function to get list of device identifiers

2023-08-10 Thread Gowrishankar Muthukrishnan
Add a function to get list of device identifiers for a given driver name. Signed-off-by: Gowrishankar Muthukrishnan --- lib/dmadev/rte_dmadev.c | 20 lib/dmadev/rte_dmadev.h | 21 + lib/dmadev/version.map | 1 + 3 files changed, 42 insertions(+) diff -

[PATCH 0/4] test/dma: run tests as per configured pmd

2023-08-10 Thread Gowrishankar Muthukrishnan
This series enables dmadev tests to run as per configured PMDs, similar to other subsystem like cryptodev. Gowrishankar Muthukrishnan (4): dmadev: add function to get list of device identifiers test/dma: run tests according to PMD dma/cnxk: update PCI driver name test/dma: enable cnxk test

RE: [RFC PATCH] dmadev: offload to free source buffer

2023-08-10 Thread Amit Prakash Shukla
> > > > > > > > No. DMA hardware would determine the pointer to the mbuf using > > > > iova address and mempool. Hardware will free the buffer, on > > > > completion of > > > data transfer. > > > > > > OK. If there are any requirements to the mempool, it needs to be > > > documented in the source

[PATCH] test/dma: add SG copy tests

2023-08-10 Thread Gowrishankar Muthukrishnan
Add scatter-gather copy tests. Signed-off-by: Vidya Sagar Velumuri Signed-off-by: Gowrishankar Muthukrishnan --- app/test/test_dmadev.c | 124 +++- app/test/test_dmadev_api.c | 163 ++--- app/test/test_dmadev_api.h | 2 + 3 files cha

[PATCH] test/dma: test vchan reconfiguration

2023-08-10 Thread Gowrishankar Muthukrishnan
Reconfigure vchan count and validate if new count is effective. Signed-off-by: Gowrishankar Muthukrishnan --- app/test/test_dmadev_api.c | 51 ++ 1 file changed, 51 insertions(+) diff --git a/app/test/test_dmadev_api.c b/app/test/test_dmadev_api.c index a1646

[PATCH] test/dma: add test skip status

2023-08-10 Thread Gowrishankar Muthukrishnan
Add status on skipped tests. Signed-off-by: Gowrishankar Muthukrishnan --- app/test/test_dmadev_api.c | 26 +++--- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/app/test/test_dmadev_api.c b/app/test/test_dmadev_api.c index 4a181af90a..a1646472b0 100644 --- a/

RE: [PATCH v2] eventdev/eth_rx: update adapter create APIs

2023-08-10 Thread Naga Harish K, S V
Hi Jerin, Thinking of another approach for this patch. Instead of changing all create APIs, update rte_event_eth_rx_adapter_create_ext() alone with additional parameters. rte_event_eth_rx_adapter_create() and rte_event_eth_rx_adapter_create_with_params() APIs will be untouched. How about t

RE: [RFC PATCH] dmadev: offload to free source buffer

2023-08-10 Thread Morten Brørup
> From: Amit Prakash Shukla [mailto:amitpraka...@marvell.com] > Sent: Thursday, 10 August 2023 12.28 > > > From: Morten Brørup > > Sent: Thursday, August 10, 2023 3:03 PM > > > > > From: Amit Prakash Shukla [mailto:amitpraka...@marvell.com] > > > Sent: Wednesday, 9 August 2023 20.12 > > > > > > >

[PATCH v2] app/dma-perf: add SG copy support

2023-08-10 Thread Gowrishankar Muthukrishnan
Add SG copy support. Signed-off-by: Gowrishankar Muthukrishnan --- v2: - patch issue fixed. --- app/test-dma-perf/benchmark.c | 204 +- app/test-dma-perf/config.ini | 17 +++ app/test-dma-perf/main.c | 35 +- app/test-dma-perf/main.h | 5 +- 4

[PATCH] app/dma-perf: validate copied memory

2023-08-10 Thread Gowrishankar Muthukrishnan
Validate copied memory to ensure DMA copy did not fail. Fixes: 623dc9364dc ("app/dma-perf: introduce DMA performance test") Signed-off-by: Gowrishankar Muthukrishnan --- v2: - patch issue fixed. --- app/test-dma-perf/benchmark.c | 23 +-- app/test-dma-perf/main.c | 16

RE: [RFC PATCH] dmadev: offload to free source buffer

2023-08-10 Thread Amit Prakash Shukla
> -Original Message- > From: Morten Brørup > Sent: Thursday, August 10, 2023 3:03 PM > To: Amit Prakash Shukla ; Chengwen Feng > ; Kevin Laatz ; Bruce > Richardson > Cc: dev@dpdk.org; Jerin Jacob Kollanukkaran ; > conor.wa...@intel.com; Vamsi Krishna Attunuru ; > g.si...@nxp.com; sachi

[PATCH] app/dma-perf: add SG copy support

2023-08-10 Thread Gowrishankar Muthukrishnan
Add SG copy support. Signed-off-by: Gowrishankar Muthukrishnan Change-Id: I17c736bec5c8309b4c9cbe9fb1eafa5b5a00a3fe --- app/test-dma-perf/benchmark.c | 204 +- app/test-dma-perf/config.ini | 17 +++ app/test-dma-perf/main.c | 35 +- app/test-dma-perf/m

[PATCH] app/dma-perf: validate copied memory

2023-08-10 Thread Gowrishankar Muthukrishnan
Validate copied memory to ensure DMA copy did not fail. Signed-off-by: Gowrishankar Muthukrishnan Change-Id: I9f888c061f3d077f6b7b2d8a66c6a7cb7e5f2437 --- app/test-dma-perf/benchmark.c | 23 +-- app/test-dma-perf/main.c | 16 +++- app/test-dma-perf/main.h

[v1 6/6] crypto/cnxk: add SM2 support

2023-08-10 Thread Gowrishankar Muthukrishnan
Add SM2 asymmetric algorithm support in cnxk PMD. Signed-off-by: Gowrishankar Muthukrishnan --- doc/guides/cryptodevs/features/cn10k.ini | 1 + doc/guides/rel_notes/release_23_11.rst| 4 + drivers/common/cnxk/hw/cpt.h | 3 +- drivers/common/cnxk/roc_ae.c

[v1 5/6] app/test: check asymmetric capabilities in SM2 test

2023-08-10 Thread Gowrishankar Muthukrishnan
Check asymmetric capabilities such as SM3 hash support and internal RNG and accordingly choose op params for SM2 test. Signed-off-by: Gowrishankar Muthukrishnan --- app/test/test_cryptodev_asym.c | 127 ++--- app/test/test_cryptodev_sm2_test_vectors.h | 28 +++-- 2 f

[v1 4/6] cryptodev: use generic EC xform params for SM2

2023-08-10 Thread Gowrishankar Muthukrishnan
Now, generic EC xform parameters include hash algorithm field. Hence, SM2 curve can use this generic struct for setting hash algorithm, which would also require SM2 curve ID enumerated along with other curves, as listed in: https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml Signe

[v1 3/6] cryptodev: add hash support in asymmetric capability

2023-08-10 Thread Gowrishankar Muthukrishnan
Most of the asymmetric operations start with hash of the input. Add a new field in asymmetric capability to declare support for hash operations that PMD can support for the asymmetric operations. Application can skip computing hash if PMD already supports it. Signed-off-by: Gowrishankar Muthukrish

[v1 2/6] cryptodev: add RNG capability in EC based xform

2023-08-10 Thread Gowrishankar Muthukrishnan
Elliptic curve based asymmetric operations use cryptographically secure random number in its computation. If PMD supports RNG for such ops, the application could skip computing on its own. This patch adds new field in asymmetric capability to declare this capability. Signed-off-by: Gowrishankar Mu

[v1 1/6] crypto/openssl: include SM2 in asymmetric capabilities

2023-08-10 Thread Gowrishankar Muthukrishnan
Include SM2 algorithm in the asymmetric capabilities supported by OpenSSL PMD. Fixes: 3b7d638fb11f ("crypto/openssl: support asymmetric SM2") Signed-off-by: Gowrishankar Muthukrishnan --- drivers/crypto/openssl/rte_openssl_pmd_ops.c | 14 ++ 1 file changed, 14 insertions(+) diff --

[v1 0/6] cryptodev: support digest message in SM2

2023-08-10 Thread Gowrishankar Muthukrishnan
This patch series fixes SM2 algorithm implementation to support digest message as input along with plain message as today. Gowrishankar Muthukrishnan (6): crypto/openssl: include SM2 in asymmetric capabilities cryptodev: add RNG capability in EC based xform cryptodev: add hash support in asy

RE: [RFC PATCH] dmadev: offload to free source buffer

2023-08-10 Thread Morten Brørup
> From: Amit Prakash Shukla [mailto:amitpraka...@marvell.com] > Sent: Wednesday, 9 August 2023 20.12 > > > From: Morten Brørup > > Sent: Wednesday, August 9, 2023 8:19 PM > > > > > From: Amit Prakash Shukla [mailto:amitpraka...@marvell.com] > > > Sent: Wednesday, 9 August 2023 16.27 > > > > > > >

RE: [PATCH 06/15] eal: make rte_service_lcore_may_be_active stable

2023-08-10 Thread Van Haaren, Harry
> -Original Message- > From: Stephen Hemminger > Sent: Wednesday, August 9, 2023 5:43 PM > To: dev@dpdk.org > Cc: Stephen Hemminger ; Van Haaren, Harry > > Subject: [PATCH 06/15] eal: make rte_service_lcore_may_be_active stable > > This API was added in 2020. > > Signed-off-by: Stephen

Re: [PATCH 04/15] eal: make rte_version_XXX API's stable

2023-08-10 Thread Bruce Richardson
On Wed, Aug 09, 2023 at 09:42:56AM -0700, Stephen Hemminger wrote: > The subparts of rte_version were added in 2020 and > can now be marked stable. > > Signed-off-by: Stephen Hemminger > --- Acked-by: Bruce Richardson

Re: [PATCH v2] eventdev/eth_rx: update adapter create APIs

2023-08-10 Thread Jerin Jacob
On Thu, Aug 10, 2023 at 1:09 PM Naga Harish K, S V wrote: > > Hi Jerin, > As per DPDK Guidelines, API changes or ABI breakage is allowed during > LTS releases > > (https://doc.dpdk.org/guides/contributing/abi_policy.html#abi-breakages) Yes. Provided if depreciation notice has sent

RE: [PATCH v2] eventdev/eth_rx: update adapter create APIs

2023-08-10 Thread Naga Harish K, S V
Hi Jerin, As per DPDK Guidelines, API changes or ABI breakage is allowed during LTS releases (https://doc.dpdk.org/guides/contributing/abi_policy.html#abi-breakages) Also, there are previous instances where API changes happened, some of them are mentioned below. In DPDK 22.11,