Re: [PATCH v3 4/4] mldev: update release notes for 23.11

2023-09-28 Thread Jerin Jacob
On Thu, Sep 28, 2023 at 3:01 PM Srikanth Yalavarthi wrote: > > Updated 23.11 release notes for mldev spec. > > Signed-off-by: Srikanth Yalavarthi Squash the doc changes to relevant patches where respective source code change has been made.

[PATCH v3 9/9] net/nfp: destroy security session

2023-09-28 Thread Chaoyong He
From: Shihong Wang Delete SA from NIC and destroy security session. Signed-off-by: Shihong Wang Reviewed-by: Chaoyong He --- drivers/net/nfp/nfp_ipsec.c | 53 + 1 file changed, 53 insertions(+) diff --git a/drivers/net/nfp/nfp_ipsec.c b/drivers/net/nfp/nfp

[PATCH v3 8/9] net/nfp: support IPsec Rx and Tx offload

2023-09-28 Thread Chaoyong He
From: Shihong Wang The Rx path checks the ipsec metadata and base on the crypto status sets ol_flags in the rte_mbuf. The Tx path write IPsec message to mbuf metadata based on mbuf dynamic field. Signed-off-by: Shihong Wang Signed-off-by: Chang Miao Reviewed-by: Chaoyong He --- doc/guides/n

[PATCH v3 7/9] net/nfp: update security session

2023-09-28 Thread Chaoyong He
From: Shihong Wang Update the configuration information in priv_session when the configuration parameters of sess_conf change. Signed-off-by: Shihong Wang Reviewed-by: Chaoyong He --- drivers/net/nfp/nfp_ipsec.c | 25 + 1 file changed, 25 insertions(+) diff --git a/dr

[PATCH v3 6/9] net/nfp: create security session

2023-09-28 Thread Chaoyong He
From: Chang Miao Create security session to manage IPsec protocol specific message and crypto parameters. This session support full protocol offload and inline crypto operation with NIC devices. Signed-off-by: Chang Miao Signed-off-by: Shihong Wang Reviewed-by: Chaoyong He --- drivers/net/nf

[PATCH v3 5/9] net/nfp: get IPsec Rx/Tx packet statistics

2023-09-28 Thread Chaoyong He
From: Shihong Wang IPsec packet processing is mostly carried out in hardware. The hardware statistics on successful packets and discarded packets. The driver can obtain these statistics by Mailbox. Signed-off-by: Shihong Wang Reviewed-by: Chaoyong He --- drivers/net/nfp/nfp_ipsec.c | 149

[PATCH v3 4/9] net/nfp: get security capabilities and session size

2023-09-28 Thread Chaoyong He
From: Shihong Wang Add full protocol offload as well as inline crypto IPsec capabilities and return these for rte_security. Return size of security session for rte_security. Signed-off-by: Shihong Wang Reviewed-by: Chaoyong He --- drivers/net/nfp/nfp_ipsec.c | 357 +++

[PATCH v3 3/9] net/nfp: initialize IPsec related content

2023-09-28 Thread Chaoyong He
From: Chang Miao If enable IPsec capability bit, driver need to Initialize IPsec. Set security context and security offload capabilities in datapath. Define private session and add SA array for each PF to save all SA data in driver. Add internal mbuf dynamic flag and field to save IPsec related d

[PATCH v3 2/9] net/nfp: add mailbox to support IPsec offload

2023-09-28 Thread Chaoyong He
From: Shihong Wang Add general use per-vNIC mailbox area and use it for IPsec SA offload support and get Rx/Tx packet statistics. Signed-off-by: Shihong Wang Signed-off-by: Chang Miao Reviewed-by: Chaoyong He --- drivers/net/nfp/nfp_common.c | 41 drivers

[PATCH v3 1/9] net/nfp: add TLVs capability parsing

2023-09-28 Thread Chaoyong He
From: Shihong Wang Add TLV capabilities to the BAR, TLVs is fit for expressing capabilities of applications running on programmable hardware. The TVL capabilities is needed for the upcoming mailbox channel. Also add contributor entries to .mailmap file. Signed-off-by: Shihong Wang Signed-off-by

[PATCH v3 0/9] add the support of ipsec offload

2023-09-28 Thread Chaoyong He
This patch series add the support of ipsec offload feature, includes: * Implement the communication channel between PMD and firmware through mailbox. * Implement the ipsec offload related APIs based the security framework. * Implement the ipsec packets process logics in the data path. --- v3: *

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

2023-09-28 Thread Pavan Nikhilesh Bhagavatula
> -Original Message- > From: Gowrishankar Muthukrishnan > Sent: Sunday, September 24, 2023 3:02 PM > To: dev@dpdk.org > Cc: Anoob Joseph ; Cheng Jiang > ; Kevin Laatz ; Bruce > Richardson ; Pavan Nikhilesh Bhagavatula > ; Gowrishankar Muthukrishnan > > Subject: [PATCH v4 2/2] app/dma-p

[PATCH] ethdev: clarify device queue state after start and stop

2023-09-28 Thread Ferruh Yigit
Drivers start/stop device queues on port start/stop, but not all drivers update queue state accordingly. This becomes more visible if a specific queue stopped explicitly and port stopped/started later, in this case although all queues are started, the state of that specific queue is stopped and it

RE: [PATCH v2 4/7] baseband/acc: allocate FCW memory separately

2023-09-28 Thread Chautru, Nicolas
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Wednesday, September 27, 2023 1:28 AM > To: Chautru, Nicolas ; dev@dpdk.org > Cc: hemant.agra...@nxp.com; david.march...@redhat.com; Vargas, Hernan > > Subject: Re: [PATCH v2 4/7] baseband/acc: allocate FCW memory separatel

Re: [RFC] ethdev: clarify device queue state after start and stop

2023-09-28 Thread Ferruh Yigit
On 7/24/2023 2:43 AM, lihuisong (C) wrote: > > 在 2023/7/22 0:04, Ferruh Yigit 写道: >> Drivers start/stop device queues on port start/stop, but not all drivers >> update queue state accordingly. >> >> This becomes more visible if a specific queue stopped explicitly and >> port stopped/started later,

Re: [PATCH] net/mana: add support to update MTU

2023-09-28 Thread Ferruh Yigit
On 7/25/2023 10:16 PM, lon...@linuxonhyperv.com wrote: > From: Long Li > > Add support for updating MTU for MANA. MTU is updated in kernel through > socket interface. > > Signed-off-by: Long Li > Applied to dpdk-next-net/main, thanks.

Re: [PATCH] net/mana: use %m for fscanf to read mac address

2023-09-28 Thread Ferruh Yigit
On 7/25/2023 10:16 PM, lon...@linuxonhyperv.com wrote: > From: Long Li > > Use %m through fscanf to allocate mac dynamically is safer than using > mac[20], this guarantees there is no overflow on mac[]. > > Signed-off-by: Long Li > Acked-by: Ferruh Yigit Applied to dpdk-next-net/main, thank

Re: [PATCH] net/netvsc: increase VSP response timeout to 60 seconds

2023-09-28 Thread Ferruh Yigit
On 7/26/2023 11:29 PM, lon...@linuxonhyperv.com wrote: > From: Long Li > > The current timeout is set to 5 seconds. In Azure, tests show that it may > take up to 15 seconds for VSP to respond on busy nodes. The VSP schedules > unbounded work to process VSC resquest, there is no upper limit on how

Re: [PATCH v2] app/testpmd: add flush multicast MAC address command

2023-09-28 Thread Ferruh Yigit
On 8/2/2023 7:23 AM, Dengdui Huang wrote: > Add command to flush multicast MAC address > Usage: > mcast_addr flush : > flush multicast MAC address on port_id > > Signed-off-by: Dengdui Huang > --- > app/test-pmd/cmdline.c | 43 + > app/test-pmd/c

[PATCH v3 6/7] crypto/cnxk: add SM2 support

2023-09-28 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| 6 + drivers/common/cnxk/hw/cpt.h | 3 +- drivers/common/cnxk/roc_ae.c

[PATCH v3 7/7] app/test: check asymmetric capabilities in SM2 test

2023-09-28 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 Acked-by: Arkadiusz Kusztal --- app/test/test_cryptodev_asym.c | 77 +++--- app/test/test_cryptodev_sm2_te

[PATCH v3 5/7] cryptodev: add RNG capability in EC based xform

2023-09-28 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

[PATCH v3 4/7] cryptodev: set private and public keys in EC session

2023-09-28 Thread Gowrishankar Muthukrishnan
Set EC private and public keys into xform so that, it can be maintained per session. Signed-off-by: Gowrishankar Muthukrishnan Change-Id: Ib8251987c805bc304f819bf13f94f310f225a0e3 --- app/test/test_cryptodev_asym.c | 60 ++-- drivers/common/cnxk/roc_ae.h

[PATCH v3 3/7] cryptodev: use generic EC xform params for SM2

2023-09-28 Thread Gowrishankar Muthukrishnan
SM2 curve could use generic EC xform as it is yet another EC. This would also require SM2 curve ID enumerated along with other curves, as listed in: https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml Signed-off-by: Gowrishankar Muthukrishnan Acked-by: Arkadiusz Kusztal --- app

[PATCH v3 2/7] cryptodev: add hash algorithms in asymmetric capability

2023-09-28 Thread Gowrishankar Muthukrishnan
Most of the asymmetric operations start with hash of the input. But a PMD might also support only plain input (eg openssl). 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

[PATCH v3 1/7] crypto/openssl: include SM2 in asymmetric capabilities

2023-09-28 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 Acked-by: Arkadiusz Kusztal --- drivers/crypto/openssl/rte_openssl_pmd_ops.c | 14 ++ 1 file chang

[PATCH v3 0/7] cryptodev: support digest message in SM2

2023-09-28 Thread Gowrishankar Muthukrishnan
This patch series fixes SM2 algorithm implementation to support digest message as input along with plain message as today. v3: - fixed minor issues in code rebase Gowrishankar Muthukrishnan (7): crypto/openssl: include SM2 in asymmetric capabilities cryptodev: add hash algorithms in asymmetr

Re: [PATCH] doc: add note about VMXNET3 on AMD with ESXI.

2023-09-28 Thread Ferruh Yigit
On 8/14/2023 12:55 PM, Igor de Paula wrote: > This patch notes the requirements for ESXI version 7.0.1 > or higher when using IOVA as VA. > > Signed-off-by: Igor de Paula > Thanks Igor for the contribution. Reviewed-by: Ferruh Yigit Applied to dpdk-next-net/main, thanks.

[PATCH v6 12/12] app/test: add event DMA adapter auto-test

2023-09-28 Thread Amit Prakash Shukla
Added testsuite to test the dma adapter functionality. The testsuite detects event and DMA device capability and accordingly dma adapter is configured and modes are tested. Test command: /app/test/dpdk-test event_dma_adapter_autotest Signed-off-by: Amit Prakash Shukla --- MAINTAINERS

[PATCH v6 11/12] eventdev/dma: support adapter event port get

2023-09-28 Thread Amit Prakash Shukla
Added support for DMA adapter event port get. Signed-off-by: Amit Prakash Shukla --- lib/eventdev/rte_event_dma_adapter.c | 16 1 file changed, 16 insertions(+) diff --git a/lib/eventdev/rte_event_dma_adapter.c b/lib/eventdev/rte_event_dma_adapter.c index bca2be2731..4899bc5d0

[PATCH v6 10/12] eventdev/dma: support adapter enqueue

2023-09-28 Thread Amit Prakash Shukla
Added API support to enqueue a DMA operation to the DMA driver. Signed-off-by: Amit Prakash Shukla --- lib/eventdev/rte_event_dma_adapter.c | 13 + 1 file changed, 13 insertions(+) diff --git a/lib/eventdev/rte_event_dma_adapter.c b/lib/eventdev/rte_event_dma_adapter.c index 842fb7

[PATCH v6 09/12] eventdev/dma: support adapter stats

2023-09-28 Thread Amit Prakash Shukla
Added DMA adapter stats API support to get and reset stats. DMA SW adapter stats and eventdev driver supported stats for enqueue and dequeue are reported by get API. Signed-off-by: Amit Prakash Shukla --- lib/eventdev/rte_event_dma_adapter.c | 95 1 file changed, 95

[PATCH v6 08/12] eventdev/dma: support adapter runtime params

2023-09-28 Thread Amit Prakash Shukla
Added support to set and get runtime params for DMA adapter. The parameters that can be set/get are defined in struct rte_event_dma_adapter_runtime_params. Signed-off-by: Amit Prakash Shukla --- lib/eventdev/rte_event_dma_adapter.c | 93 1 file changed, 93 insertions

[PATCH v6 07/12] eventdev/dma: support adapter service ID get

2023-09-28 Thread Amit Prakash Shukla
Added API support to get DMA adapter service ID. Service id returned in the variable by the API call shall be used by application to map a service core. Signed-off-by: Amit Prakash Shukla --- lib/eventdev/rte_event_dma_adapter.c | 17 + 1 file changed, 17 insertions(+) diff --gi

[PATCH v6 06/12] eventdev/dma: support adapter start and stop

2023-09-28 Thread Amit Prakash Shukla
Added API support to start and stop DMA adapter. Signed-off-by: Amit Prakash Shukla --- lib/eventdev/rte_event_dma_adapter.c | 69 1 file changed, 69 insertions(+) diff --git a/lib/eventdev/rte_event_dma_adapter.c b/lib/eventdev/rte_event_dma_adapter.c index b0845e

[PATCH v6 05/12] eventdev/dma: support adapter service function

2023-09-28 Thread Amit Prakash Shukla
Added support for DMA adapter service function for event devices. Enqueue and dequeue of event from eventdev and DMA device are done based on the adapter mode and the supported HW capabilities. Signed-off-by: Amit Prakash Shukla --- lib/eventdev/rte_event_dma_adapter.c | 588

[PATCH v6 04/12] eventdev/dma: support vchan add and delete

2023-09-28 Thread Amit Prakash Shukla
Added API support to add and delete vchan's from the DMA adapter. DMA devid and vchan are added to the addapter instance by calling rte_event_dma_adapter_vchan_add and deleted using rte_event_dma_adapter_vchan_del. Signed-off-by: Amit Prakash Shukla --- lib/eventdev/rte_event_dma_adapter.c | 204

[PATCH v6 03/12] eventdev/dma: support adapter create and free

2023-09-28 Thread Amit Prakash Shukla
Added API support to create and free DMA adapter. Create function shall be called with event device to be associated with the adapter and port configuration to setup an event port. Signed-off-by: Amit Prakash Shukla --- config/rte_config.h | 1 + lib/eventdev/meson.build

[PATCH v6 02/12] eventdev/dma: support adapter capabilities get

2023-09-28 Thread Amit Prakash Shukla
Added a new eventdev API rte_event_dma_adapter_caps_get(), to get DMA adapter capabilities supported by the driver. Signed-off-by: Amit Prakash Shukla --- lib/eventdev/meson.build| 2 +- lib/eventdev/rte_eventdev.c | 23 +++ 2 files changed, 24 insertions(+), 1 deletion(

[PATCH v6 01/12] eventdev/dma: introduce DMA adapter

2023-09-28 Thread Amit Prakash Shukla
Introduce event dma adapter interface to transfer packets between dma device and event device. Signed-off-by: Amit Prakash Shukla Acked-by: Jerin Jacob --- MAINTAINERS |6 + doc/api/doxy-api-index.md |1 + doc/guides/eventdevs/featur

[PATCH v6 00/12] event DMA adapter library support

2023-09-28 Thread Amit Prakash Shukla
This series adds support for event DMA adapter library. API's defined as part of this library can be used by the application for DMA transfer of data using event based mechanism. v6: - Resolved review comments. - Updated git commit message. v5: - Resolved review comments. v4: - Fixed compilation

RE: [PATCH v1 1/7] bbdev: add FFT version member in driver info

2023-09-28 Thread Chautru, Nicolas
HI Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Thursday, September 28, 2023 1:27 AM > To: Chautru, Nicolas ; hemant.agra...@nxp.com; > dev@dpdk.org > Cc: david.march...@redhat.com; Vargas, Hernan > Subject: Re: [PATCH v1 1/7] bbdev: add FFT version member in driver inf

Re: [PATCH v9 0/9] add rte flow support for cpfl

2023-09-28 Thread Stephen Hemminger
On Thu, 28 Sep 2023 08:44:49 + yuying.zh...@intel.com wrote: > From: Yuying Zhang > > This patchset add rte flow support for cpfl driver. > It depends on the following patch set: > http://patchwork.dpdk.org/project/dpdk/cover/20230912173039.1612287-1-beilei.x...@intel.com/ > > Wenjing Qiao

Re: [PATCH v1 1/3] ethdev: introduce maximum Rx buffer size

2023-09-28 Thread Ferruh Yigit
On 8/15/2023 12:10 PM, Huisong Li wrote: > The Rx buffer size stands for the size hardware supported to receive > packets in one mbuf. The "min_rx_bufsize" is the minimum buffer hardware > supported in Rx. Hi Huisong, I guess I understand the intention, but above description is not accurate, et

[PATCH v3] testpmd: add hairpin-map parameter

2023-09-28 Thread Gregory Etelson
Hairpin offloads packet forwarding between ports. Packet is expected on Rx port , Rx queue and is delivered to Tx port Tx queue . Testpmd implements a static hairpin configuration scheme. The scheme implicitly matches next valid port for given or . That approach can be used in a single or doubl

Re: [PATCH v5 01/12] eventdev/dma: introduce DMA adapter

2023-09-28 Thread Jerin Jacob
On Thu, Sep 28, 2023 at 4:46 PM Amit Prakash Shukla wrote: > > Introduce event dma adapter interface to transfer packets between > dma device and event device. > > Signed-off-by: Amit Prakash Shukla > Acked-by: Jerin Jacob > --- > > diff --git a/MAINTAINERS b/MAINTAINERS > index a926155f26..e731

[PATCH 2/2] event/*: add driver selftests to driver-tests suite

2023-09-28 Thread Bruce Richardson
The octeontx eventdev test was in the "driver-tests" suite, but none of the other HW eventdev selftests were in any test suite. Add them to the drivers suite for completeness. Signed-off-by: Bruce Richardson --- app/test/test_eventdev.c | 8 1 file changed, 4 insertions(+), 4 deletions(

[PATCH 1/2] event/sw: add self tests to fast tests

2023-09-28 Thread Bruce Richardson
By reducing the iterations for the final stage of the self-test, the SW eventdev tests can be fast enough for consideration in the fast-tests suite. This enables them to be run as part of the regular patch CI tests, and therefore increases the chances of catching any errors in patches that may affe

[PATCH 0/2] Add eventdev tests to test suites

2023-09-28 Thread Bruce Richardson
The eventdev library includes a selftest API which can be used by drivers for testing. Add the relevant automated self-test commands into meson test suites as appropriate. Bruce Richardson (2): event/sw: add self tests to fast tests event/*: add driver selftests to driver-tests suite app/tes

Re: [PATCH v4 0/3] Introduce event link profiles

2023-09-28 Thread Jerin Jacob
On Thu, Sep 28, 2023 at 3:42 PM wrote: > > From: Pavan Nikhilesh + @Thomas Monjalon @David Marchand @Aaron Conole @Michael Santana There is CI failure in apply stage[1] where it is taking main tree commit. Not sure why it is taking main tree? Pavan, Could you resend this series again to g

Re: [EXT] Re: [PATCH 1/2] app/test: add support for optional dependencies

2023-09-28 Thread David Marchand
On Thu, Sep 28, 2023 at 3:06 PM Akhil Goyal wrote: > > > Some tests make optionally use a component but don't require it for > > > > s/make // > > > > > building. If we include the dependency in the per-file lists, then tests > > > may be unnecessarily omitted, as the dependency is not required. >

RE: [EXT] Re: [PATCH v2 1/2] common/cnxk: add support to get aged flows

2023-09-28 Thread Ankur Dwivedi
> > >Ankur, following changes in upstream changed the thread APIs. I have >adapted to this change in [1]. Please review ASAP - It is blocking rc1 PR. I have reviewed the changes. The changes are fine. Thanks. > >commit 1c1abf1786a6de044bd396da4cc316961e3fd812 >Author: Thomas Monjalon >Date:

[PATCH] testpmd: add hairpin-map parameter

2023-09-28 Thread Gregory Etelson
Hairpin offloads packet forwarding. Packet is expected on Rx port , Rx queue and is delivered to Tx port Tx queue . Testpmd implements a static hairpin configuration scheme. The scheme implicitly matches next valid port for given or . That approach can be used in a single or double port setups

Re: [PATCH v2 1/8] lib/ethdev: update Rx and Tx queue status

2023-09-28 Thread Ferruh Yigit
On 9/28/2023 8:42 AM, Jie Hai wrote: > The DPDK framework reports the queue status, which is stored in > 'dev->data->tx_queue_state' and 'dev->data->rx_queue_state'.The > state is currently maintained by the drivers. Users may determine > whether a queue participates in packet forwarding based on t

RE: [PATCH v2 2/7] cryptodev: set private and public keys in EC session

2023-09-28 Thread Gowrishankar Muthukrishnan
> > The cnxk changes should be in patch [v2,7/7] crypto/cnxk: add SM2 support. > Thanks Ciara. Minor issue in patches rebase. I'll send next version fixing it. Regards, Gowrishankar

[PATCH v1 3/3] net/mlx5/hws: add support for mirroring

2023-09-28 Thread Shun Hao
This patch supports mirroring by adding an dest_array action. The action accecpts a list containing multiple destination actions, and can duplicate packet and forward to each destination in the list. Signed-off-by: Shun Hao Acked-by: Alex Vesker --- drivers/common/mlx5/mlx5_prm.h | 23 ++

[PATCH v1 2/3] net/mlx5/hws: add mlx5dr obj struct to mlx5dr action

2023-09-28 Thread Shun Hao
From: Hamdan Igbaria Add mlx5dr_devx_obj struct to mlx5dr_action, so we could hold the FT obj in dest table action. Signed-off-by: Hamdan Igbaria Acked-by: Alex Vesker --- drivers/net/mlx5/hws/mlx5dr_action.c | 2 ++ drivers/net/mlx5/hws/mlx5dr_action.h | 3 +++ drivers/net/mlx5/hws/mlx5dr_ta

[PATCH v1 1/3] net/mlx5/hws: add creation of packet reformat DevX obj

2023-09-28 Thread Shun Hao
From: Hamdan Igbaria Add support for creation of packet reformat object, via the ALLOC_PACKET_REFORMAT_CONTEXT command. Signed-off-by: Hamdan Igbaria Acked-by: Alex Vesker --- drivers/common/mlx5/mlx5_prm.h | 39 + drivers/net/mlx5/hws/mlx5dr_cmd.c | 60 ++

[PATCH v1 0/3] Add HWS mirroring support

2023-09-28 Thread Shun Hao
This patch series are to add the support of mirroring feature in HWS. The main idea is to create DevX Flow table and FTE in it. The FTE may have multiple different destinations of type Vport/TIR/Table. With this multi-destination FTE, NIC can duplicate packets and forward to all destinations. Hamd

RE: [EXT] Re: [PATCH 1/2] app/test: add support for optional dependencies

2023-09-28 Thread Akhil Goyal
> On Thu, Sep 28, 2023 at 1:05 PM Bruce Richardson > wrote: > > > > Some tests make optionally use a component but don't require it for > > s/make // > > > building. If we include the dependency in the per-file lists, then tests > > may be unnecessarily omitted, as the dependency is not required

Re: [PATCH 00/36] fix Rx and Tx queue state

2023-09-28 Thread Ferruh Yigit
On 9/22/2023 7:41 AM, David Marchand wrote: > Hello, > > On Fri, Sep 22, 2023 at 4:41 AM Jie Hai wrote: >> On 2023/9/19 0:54, Ferruh Yigit wrote: >>> On 9/8/2023 12:50 PM, David Marchand wrote: On Fri, Sep 8, 2023 at 1:32 PM Jie Hai wrote: > > The DPDK framework reports the queue st

Re: [PATCH 1/2] app/test: add support for optional dependencies

2023-09-28 Thread David Marchand
On Thu, Sep 28, 2023 at 1:05 PM Bruce Richardson wrote: > > Some tests make optionally use a component but don't require it for s/make // > building. If we include the dependency in the per-file lists, then tests > may be unnecessarily omitted, as the dependency is not required. > On the other h

RE: [PATCH v9 0/9] add rte flow support for cpfl

2023-09-28 Thread Zhang, Qi Z
> -Original Message- > From: Zhang, Yuying > Sent: Thursday, September 28, 2023 4:45 PM > To: Zhang, Yuying ; dev@dpdk.org; Zhang, Qi Z > ; Wu, Jingjing ; Xing, Beilei > > Subject: [PATCH v9 0/9] add rte flow support for cpfl > > From: Yuying Zhang > > This patchset add rte flow sup

RE: [PATCH v2 2/7] cryptodev: set private and public keys in EC session

2023-09-28 Thread Power, Ciara
Hi Gowrishankar, > -Original Message- > From: Gowrishankar Muthukrishnan > Sent: Wednesday, September 27, 2023 12:37 PM > To: dev@dpdk.org > Cc: ano...@marvell.com; Akhil Goyal ; Fan Zhang > ; Ji, Kai ; Kusztal, ArkadiuszX > ; Gowrishankar Muthukrishnan > > Subject: [PATCH v2 2/7] crypto

[PATCH v3 1/2] doc: increase python max line length to 100

2023-09-28 Thread Juraj Linkeš
Unify with C recommendations which allow line length of up to 100 characters. Signed-off-by: Owen Hilyard Signed-off-by: Juraj Linkeš --- .editorconfig| 2 +- doc/doc_build/meson-private/meson.lock | 0 doc/guides/contributing/coding_style.rst | 3 +++ dts/pyprojec

[PATCH v3 2/2] dts: reformat to 100 line length

2023-09-28 Thread Juraj Linkeš
Reformat to 100 from the previous 88 to unify with C recommendations. Signed-off-by: Juraj Linkeš --- dts/framework/config/__init__.py | 20 ++- dts/framework/dts.py | 15 ++--- dts/framework/exception.py| 5 +- dts/framework/remote_

RE: [PATCH v3 2/2] test/dma: add source buffer offload free test

2023-09-28 Thread Anoob Joseph
> > Add a test case to validate the functionality of drivers' dma source buffer > offload free. As part of dmadev_autotest, test case will be executed only if > the driver supports source buffer offload free and if the test is exported by > env variable DPDK_ADD_DMA_TEST. > > Signed-off-by: Amit

RE: [PATCH v3 0/2] offload support to free dma source buffer

2023-09-28 Thread Anoob Joseph
> > This series adds offload support to free source buffer in dma library and adds > a test support in dmadev_autotest to validate the functionality. > > v3: > - Removed unwanted comment from code. > > v2: > - Resolved review comments. > - Fixed compilation issue. > > v1: > - Implementation fro

[PATCH v3 2/2] test/dma: add source buffer offload free test

2023-09-28 Thread Amit Prakash Shukla
Add a test case to validate the functionality of drivers' dma source buffer offload free. As part of dmadev_autotest, test case will be executed only if the driver supports source buffer offload free and if the test is exported by env variable DPDK_ADD_DMA_TEST. Signed-off-by: Amit Prakash Shukla

[PATCH v3 1/2] dmadev: offload to free source buffer

2023-09-28 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 Acked-by:

[PATCH v3 0/2] offload support to free dma source buffer

2023-09-28 Thread Amit Prakash Shukla
This series adds offload support to free source buffer in dma library and adds a test support in dmadev_autotest to validate the functionality. v3: - Removed unwanted comment from code. v2: - Resolved review comments. - Fixed compilation issue. v1: - Implementation from RFC. - Add test support t

[PATCH 2/2] app/test: make crypto scheduler an optional dependency

2023-09-28 Thread Bruce Richardson
The cryptodev autotests make use of the crypto scheduler driver when it is available, but build fine without. We can therefore remove the hard dependency on that driver when building the crypto test files. Fixes: 50823f30f0c8 ("test: build using per-file dependencies") Reported-by: Akhil Goyal S

[PATCH 1/2] app/test: add support for optional dependencies

2023-09-28 Thread Bruce Richardson
Some tests make optionally use a component but don't require it for building. If we include the dependency in the per-file lists, then tests may be unnecessarily omitted, as the dependency is not required. On the other hand, removing the optional dependency from the list can cause build failures, a

[PATCH] net/cnxk: fix TAG read data offset

2023-09-28 Thread pbhagavatula
From: Pavan Nikhilesh The workslot structure elements were shuffled around to maintain uniformity between CN9K and CN10K which moved the TAG data offset from first dword to third dword. Fixes: 182767f70ef2 ("event/cnxk: add event port flow context APIs") Signed-off-by: Pavan Nikhilesh --- Plea

[PATCH v5 12/12] app/test: add event DMA adapter auto-test

2023-09-28 Thread Amit Prakash Shukla
Added testsuite to test the dma adapter functionality. The testsuite detects event and DMA device capability and accordingly dma adapter is configured and modes are tested. Test command: /app/test/dpdk-test event_dma_adapter_autotest Signed-off-by: Amit Prakash Shukla --- app/test/meson.build

[PATCH v5 11/12] eventdev/dma: support for adapter event port get

2023-09-28 Thread Amit Prakash Shukla
Added support for DMA adapter event port get. Signed-off-by: Amit Prakash Shukla --- lib/eventdev/rte_event_dma_adapter.c | 16 1 file changed, 16 insertions(+) diff --git a/lib/eventdev/rte_event_dma_adapter.c b/lib/eventdev/rte_event_dma_adapter.c index bca2be2731..4899bc5d0

[PATCH v5 10/12] eventdev/dma: support for adapter enqueue

2023-09-28 Thread Amit Prakash Shukla
Added API support to enqueue a DMA operation to the DMA driver. Signed-off-by: Amit Prakash Shukla --- lib/eventdev/rte_event_dma_adapter.c | 13 + 1 file changed, 13 insertions(+) diff --git a/lib/eventdev/rte_event_dma_adapter.c b/lib/eventdev/rte_event_dma_adapter.c index 842fb7

[PATCH v5 09/12] eventdev/dma: support for adapter stats

2023-09-28 Thread Amit Prakash Shukla
Added DMA adapter stats API support to get and reset stats. DMA SW adapter stats and eventdev driver supported stats for enqueue and dequeue are reported by get API. Signed-off-by: Amit Prakash Shukla --- lib/eventdev/rte_event_dma_adapter.c | 95 1 file changed, 95

[PATCH v5 08/12] eventdev/dma: support adapter runtime params

2023-09-28 Thread Amit Prakash Shukla
Added support to set and get runtime params for DMA adapter. The parameters that can be set/get are defined in struct rte_event_dma_adapter_runtime_params. Signed-off-by: Amit Prakash Shukla --- lib/eventdev/rte_event_dma_adapter.c | 93 1 file changed, 93 insertions

[PATCH v5 06/12] eventdev/dma: support for adapter start and stop

2023-09-28 Thread Amit Prakash Shukla
Added API support to start and stop DMA adapter. Signed-off-by: Amit Prakash Shukla --- lib/eventdev/rte_event_dma_adapter.c | 69 1 file changed, 69 insertions(+) diff --git a/lib/eventdev/rte_event_dma_adapter.c b/lib/eventdev/rte_event_dma_adapter.c index b0845e

[PATCH v5 07/12] eventdev/dma: support for adapter service ID get

2023-09-28 Thread Amit Prakash Shukla
Added API support to get DMA adapter service ID. Service id returned in the variable by the API call shall be used by application to map a service core. Signed-off-by: Amit Prakash Shukla --- lib/eventdev/rte_event_dma_adapter.c | 17 + 1 file changed, 17 insertions(+) diff --gi

[PATCH v5 05/12] eventdev/dma: support for adapter service function

2023-09-28 Thread Amit Prakash Shukla
Added support for DMA adapter service function for event devices. Enqueue and dequeue of event from eventdev and DMA device are done based on the adapter mode and the supported HW capabilities. Signed-off-by: Amit Prakash Shukla --- lib/eventdev/rte_event_dma_adapter.c | 588

[PATCH v5 04/12] eventdev/dma: support for vchan add and delete

2023-09-28 Thread Amit Prakash Shukla
Added API support to add and delete vchan's from the DMA adapter. DMA devid and vchan are added to the addapter instance by calling rte_event_dma_adapter_vchan_add and deleted using rte_event_dma_adapter_vchan_del. Signed-off-by: Amit Prakash Shukla --- lib/eventdev/rte_event_dma_adapter.c | 204

[PATCH v5 03/12] eventdev/dma: support adapter create and free

2023-09-28 Thread Amit Prakash Shukla
Added API support to create and free DMA adapter. Create function shall be called with event device to be associated with the adapter and port configuration to setup an event port. Signed-off-by: Amit Prakash Shukla --- config/rte_config.h | 1 + lib/eventdev/meson.build

[PATCH v5 02/12] eventdev/dma: support adapter capabilities get

2023-09-28 Thread Amit Prakash Shukla
Added a new eventdev API rte_event_dma_adapter_caps_get(), to get DMA adapter capabilities supported by the driver. Signed-off-by: Amit Prakash Shukla --- lib/eventdev/meson.build| 2 +- lib/eventdev/rte_eventdev.c | 23 +++ 2 files changed, 24 insertions(+), 1 deletion(

[PATCH v5 01/12] eventdev/dma: introduce DMA adapter

2023-09-28 Thread Amit Prakash Shukla
Introduce event dma adapter interface to transfer packets between dma device and event device. Signed-off-by: Amit Prakash Shukla Acked-by: Jerin Jacob --- MAINTAINERS |8 +- doc/api/doxy-api-index.md |1 + doc/guides/eventdevs/featu

[PATCH v5 00/12] event DMA adapter library support

2023-09-28 Thread Amit Prakash Shukla
This series adds support for event DMA adapter library. API's defined as part of this library can be used by the application for DMA transfer of data using event based mechanism. v5: - Resolved review comments. v4: - Fixed compilation error. v3: - Resolved checkpatch warnings. - Fixed compilatio

[PATCH v6 2/2] node: add UDP v4 support

2023-09-28 Thread Rakesh Kudurumalla
IPv4 UDP packets are given to application with specified UDP destination port given by user. Signed-off-by: Rakesh Kudurumalla --- doc/api/doxy-api-index.md | 3 +- doc/guides/prog_guide/graph_lib.rst | 25 ++ .../img/graph_inbuilt_node_flow.svg | 165 +

[PATCH v6 1/2] node: add IPv4 local node to handle local pkts

2023-09-28 Thread Rakesh Kudurumalla
Local or Host destined pkts can be redirected IPv4 local node using IP4 Lookup node entries with prefix of 32 and be redirected to this IP4 local node for further processing. Signed-off-by: Rakesh Kudurumalla --- Depends-on: series-29670 ("remove MAX macro from all nodes") v6: Resolve dependency

[PATCH v4 3/3] test/event: add event link profile test

2023-09-28 Thread pbhagavatula
From: Pavan Nikhilesh Add test case to verify event link profiles. Signed-off-by: Pavan Nikhilesh --- app/test/test_eventdev.c | 117 +++ 1 file changed, 117 insertions(+) diff --git a/app/test/test_eventdev.c b/app/test/test_eventdev.c index c51c93bdbd..0e

[PATCH v4 2/3] event/cnxk: implement event link profiles

2023-09-28 Thread pbhagavatula
From: Pavan Nikhilesh Implement event link profiles support on CN10K and CN9K. Both the platforms support up to 2 link profiles. Signed-off-by: Pavan Nikhilesh --- doc/guides/eventdevs/cnxk.rst | 1 + doc/guides/eventdevs/features/cnxk.ini | 3 +- doc/guides/rel_notes/release_23_11.

[PATCH v4 1/3] eventdev: introduce link profiles

2023-09-28 Thread pbhagavatula
From: Pavan Nikhilesh A collection of event queues linked to an event port can be associated with a unique identifier called as a link profile, multiple such profiles can be created based on the event device capability using the function `rte_event_port_profile_links_set` which takes arguments si

[PATCH v4 0/3] Introduce event link profiles

2023-09-28 Thread pbhagavatula
From: Pavan Nikhilesh A collection of event queues linked to an event port can be associated with unique identifier called as a link profile, multiple such profiles can be configured based on the event device capability using the function `rte_event_port_profile_links_set` which takes arguments s

RE: [PATCH v5 3/3] power: amd power monitor support

2023-09-28 Thread Konstantin Ananyev
> > Caution: This message originated from an External Source. Use proper caution > > when opening attachments, clicking links, or responding. > > > > > > 25/08/2023 17:00, Tyler Retzlaff пишет: > > > On Thu, Aug 24, 2023 at 10:04:42AM +0100, Ferruh Yigit wrote: > > >> On 8/23/2023 5:03 PM, Tyler R

Re: [EXT] [PATCH] app/test: drop dependency on crypto scheduler driver

2023-09-28 Thread Bruce Richardson
On Thu, Sep 28, 2023 at 11:45:37AM +0200, David Marchand wrote: > On Thu, Sep 28, 2023 at 11:37 AM Akhil Goyal wrote: > > > > > The cryptodev autotests make use of the crypto scheduler driver when it > > > is available, but build fine without. We can therefore remove the hard > > > dependency on t

[RFC 6/6] app/test: add asymmetric tests for virtio pmd

2023-09-28 Thread Gowrishankar Muthukrishnan
Add asymmetric tests for Virtio PMD. Signed-off-by: Gowrishankar Muthukrishnan --- app/test/test_cryptodev_asym.c | 36 -- app/test/test_cryptodev_rsa_test_vectors.h | 26 2 files changed, 60 insertions(+), 2 deletions(-) diff --git a/app/test/te

[RFC 5/6] examples/vhost_crypto: add asymmetric support

2023-09-28 Thread Gowrishankar Muthukrishnan
Add symmetric support. Signed-off-by: Gowrishankar Muthukrishnan --- examples/vhost_crypto/main.c | 50 +--- 1 file changed, 29 insertions(+), 21 deletions(-) diff --git a/examples/vhost_crypto/main.c b/examples/vhost_crypto/main.c index 02987ebd76..f9e2732d18 10

[RFC 4/6] crypto/virtio: add asymmetric RSA support

2023-09-28 Thread Gowrishankar Muthukrishnan
Asymmetric RSA operations (SIGN, VERIFY, ENCRYPT and DECRYPT) are supported in virtio PMD. Signed-off-by: Gowrishankar Muthukrishnan --- .../virtio/virtio_crypto_capabilities.h | 19 + drivers/crypto/virtio/virtio_cryptodev.c | 388 +++--- drivers/crypto/virtio/virtio_rxt

[RFC 3/6] vhost: add asymmetric RSA support

2023-09-28 Thread Gowrishankar Muthukrishnan
Support asymmetric RSA crypto operations in vhost-user. Signed-off-by: Gowrishankar Muthukrishnan --- lib/cryptodev/cryptodev_pmd.h | 6 + lib/vhost/rte_vhost_crypto.h | 14 +- lib/vhost/vhost.c | 11 +- lib/vhost/vhost.h | 1 + lib/vhost/vhost_crypto.c | 551

[RFC 2/6] cryptodev: fix RSA xform for ASN.1 syntax

2023-09-28 Thread Gowrishankar Muthukrishnan
As per ASN.1 syntax (RFC 3447 Appendix A.1.2), RSA private key would need specification of quintuple along with private exponent. It is up to the implementation to internally handle, but not at RTE itself to make them exclusive each other. Removing union on them allows asymmetric implementation in

  1   2   >