RE: [PATCH v2 1/2] ethdev: add new symmetric hash function

2023-09-21 Thread Xueming(Steven) Li
> -Original Message- > From: Ferruh Yigit > Sent: 9/21/2023 23:50 > To: Ori Kam ; Xueming(Steven) Li > Cc: dev@dpdk.org; fengcheng...@huawei.com; Ivan Malov > ; Raslan Darawsheh > Subject: Re: [PATCH v2 1/2] ethdev: add new symmetric hash function > > On 8/30/2023 7:55 AM, Ori Kam wrote

[PATCH] net/mlx5: adds the checking for Tx queue affinity

2023-09-21 Thread Jiawei Wang
MLX5 PMD updates the TIS index based on the tx queue affinity, and creates the DevX SQ object with updated the TIS index. This patch adds the checking that set the affinity per Tx Queue if HW objects can be created by DevX. Signed-off-by: Jiawei Wang Acked-by: Viacheslav Ovsiienko --- drivers/

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

2023-09-21 Thread David Marchand
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 state, which is stored in > >>> dev->data->tx_queue_s

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

2023-09-21 Thread Andrew Rybchenko
On 8/10/23 21:06, Ivan Malov wrote: 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 Acked-by: Andrew Rybchenko

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

2023-09-21 Thread Andrew Rybchenko
On 8/10/23 21:06, Ivan Malov wrote: 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 Ma

Re: [PATCH v3 1/3] lib: introduce dispatcher library

2023-09-21 Thread Mattias Rönnblom
On 2023-09-21 20:36, Jerin Jacob wrote: On Mon, Sep 4, 2023 at 6:39 PM Mattias Rönnblom wrote: The purpose of the dispatcher library is to help reduce coupling in an Eventdev-based DPDK application. In addition, the dispatcher also provides a convenient and flexible way for the application to

Re: [PATCH 0/6] docs: Unify Getting Started Guides

2023-09-21 Thread Tyler Retzlaff
On Wed, Sep 20, 2023 at 11:48:04AM -0400, David Young wrote: > The separate Getting Started Guides for Linux, FreeBSD, and Windows have been > consolidated into a single, streamlined guide to simplify the user experience > and facilitate easier maintenance. > seems like a good idea to me. i'm a

RE: [EXT] Re: [PATCH v1 02/34] ml/cnxk: drop use of RTE API for firmware read

2023-09-21 Thread Srikanth Yalavarthi
> -Original Message- > From: David Marchand > Sent: 21 September 2023 18:57 > To: Srikanth Yalavarthi > Cc: Jerin Jacob ; Prince Takkar > ; dev@dpdk.org; Shivah Shankar Shankar Narayan > Rao ; Anup Prabhu > Subject: Re: [EXT] Re: [PATCH v1 02/34] ml/cnxk: drop use of RTE API for > firmwa

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

2023-09-21 Thread Jie Hai
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 state, which is stored in dev->data->tx_queue_state and dev->data->rx_queue_state. The state is maintained by the driver. Use

RE: [PATCH] net/mlx5: fix jump ipool entry size

2023-09-21 Thread Suanming Mou
Thanks. > -Original Message- > From: Dariusz Sosnowski > Sent: Saturday, August 26, 2023 2:44 AM > To: Matan Azrad ; Slava Ovsiienko > ; Ori Kam ; Suanming Mou > > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: [PATCH] net/mlx5: fix jump ipool entry size > > In mlx5 PMD, MLX5_IPOOL_JUMP i

RE: [PATCH 2/2] net/mana: add 32 bit short doorbell

2023-09-21 Thread Long Li
> Subject: [PATCH 2/2] net/mana: add 32 bit short doorbell > > Add 32 bit short doorbell support. Ring short doorbell when running in 32 bit > applicactions. > > Both 32 bit and 64 bit doorbells are supported by mana hardware on same > platform. 32 bit applications cannot use 64 bit doorbells. >

RE: [PATCH 1/2] net/mana: enable 32 bit build for mana driver

2023-09-21 Thread Long Li
> Subject: [PATCH 1/2] net/mana: enable 32 bit build for mana driver > > Enable 32 bit build on x86 Linux. Fixed build warnings and errors when > building in > 32 bit. > > With this patch, mana will be able to build into 32 bit. However, another > patch for > mana short doorbell support is need

[PATCH v2 7/7] baseband/acc: add configure helper for VRB2

2023-09-21 Thread Nicolas Chautru
This allows to configure the VRB2 device using a companion configuration function within the DPDK bbdev-test environment. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/acc100_pmd.h | 2 + drivers/baseband/acc/acc_common.h | 7 + drivers/baseband/acc/rte_acc100_pmd.c | 6 +

[PATCH v2 6/7] baseband/acc: introduce the new VRB2 variant

2023-09-21 Thread Nicolas Chautru
This extends the unified driver to support both the VRB1 and VRB2 implementations of Intel vRAN Boost. Signed-off-by: Nicolas Chautru --- doc/guides/bbdevs/index.rst|1 + doc/guides/bbdevs/vrb2.rst | 269 + doc/guides/rel_notes/release_23_11.rst |3 + drivers

[PATCH v2 5/7] baseband/acc: add support for MLD operation

2023-09-21 Thread Nicolas Chautru
There is no functionality related to the MLD operation but allows the unified PMD to support the operation being added moving forward. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/acc_common.h | 1 + drivers/baseband/acc/rte_vrb_pmd.c | 39 -- drivers/bas

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

2023-09-21 Thread Nicolas Chautru
This allows more flexibility to the FCW size for the unified driver. No actual functional change. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/acc_common.h | 4 +++- drivers/baseband/acc/rte_vrb_pmd.c | 25 - 2 files changed, 27 insertions(+), 2 deletions(-)

[PATCH v2 3/7] baseband/acc: remove the 4G SO capability for VRB1

2023-09-21 Thread Nicolas Chautru
This removes the specific capability and support of LTE Decoder Soft Output option on the VRB1 PMD. This is triggered as a vendor decision to defeature the related optional capability so that to avoid theoretical risk of race conditions impacting the device reliability. That optional APP LLR outpu

[PATCH v2 2/7] baseband/acc: add FFT version in the VRB PMD

2023-09-21 Thread Nicolas Chautru
This allows to expose the flexible version of the pointwise flexible multiplication being dynamically configured on the device. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/acc_common.h | 1 + drivers/baseband/acc/rte_vrb_pmd.c | 22 ++ 2 files changed, 23 insert

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

2023-09-21 Thread Nicolas Chautru
This can be used to distinguish different version of the flexible pointwise windowing applied to the FFT and expose this platform configuration to the application. The SRS processing chain (https://doc.dpdk.org/guides/prog_guide/bbdev.html#bbdev-fft-operation) includes a pointwise multiplication b

[PATCH v2 0/7] VRB2 bbdev PMD introduction

2023-09-21 Thread Nicolas Chautru
v2: doc, comments and commit-log updates. This serie includes changes to the VRB BBDEV PMD for 23.11. This allows the VRB unified driver to support the new VRB2 implementation variant on GNR-D. This also include minor change to the dev_info to expose FFT version flexibility to expose information

Re: [PATCH v3 1/3] lib: introduce dispatcher library

2023-09-21 Thread Jerin Jacob
On Mon, Sep 4, 2023 at 6:39 PM Mattias Rönnblom wrote: > > The purpose of the dispatcher library is to help reduce coupling in an > Eventdev-based DPDK application. > > In addition, the dispatcher also provides a convenient and flexible > way for the application to use service cores for applicatio

[PATCH] eal: fix location of per lcore macro documentation

2023-09-21 Thread Tyler Retzlaff
doxygen document generation does traverse RTE_TOOLCHAIN_MSVC conditional compilation paths so move the documentation for per lcore macros out of the RTE_TOOLCHAIN_MSVC block. Fixes: b2f967dcae69 ("eal: implement per lcore variables for MSVC") Cc: roret...@linux.microsoft.com Signed-off-by: Tyler

Re: [PATCH v3 1/3] lib: introduce dispatcher library

2023-09-21 Thread Jerin Jacob
On Thu, Sep 21, 2023 at 10:17 PM Mattias Rönnblom wrote: > > On 2023-09-19 12:58, Jerin Jacob wrote: > > On Mon, Sep 4, 2023 at 6:39 PM Mattias Rönnblom > > wrote: > >> > >> The purpose of the dispatcher library is to help reduce coupling in an > >> Eventdev-based DPDK application. > >> > >> In a

RE: [PATCH v1 3/7] baseband/acc: remove the 4G SO capability for VRB1

2023-09-21 Thread Chautru, Nicolas
Hi David, > -Original Message- > From: David Marchand > Sent: Thursday, September 21, 2023 12:13 AM > To: Chautru, Nicolas > Cc: dev@dpdk.org; maxime.coque...@redhat.com; > hemant.agra...@nxp.com; Vargas, Hernan ; > Thomas Monjalon > Subject: Re: [PATCH v1 3/7] baseband/acc: remove the

[PATCH v1] net/cpfl: fix incorrect status calculation

2023-09-21 Thread Zhang, Yuying
From: Yuying Zhang Fix the incorrect ingress packet number calculation. Fixes: e3289d8fb63f ("net/cpfl: support basic statistics") Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/cpfl/cpfl_ethdev.c

[PATCH v1] app/testpmd: refine encap content

2023-09-21 Thread Zhang, Yuying
From: Yuying Zhang Refine vxlan encap content of all protocol headers. Fixes: 1960be7d32f8 ("app/testpmd: add VXLAN encap/decap") Cc: sta...@dpdk.org Signed-off-by: Yuying Zhang --- app/test-pmd/cmdline_flow.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/a

[PATCH v6 8/8] net/cpfl: add flow support for representor

2023-09-21 Thread Zhang, Yuying
From: Yuying Zhang Add flow support for representor, so representor can create, destroy, validate and flush rules. Signed-off-by: Yuying Zhang --- doc/guides/nics/cpfl.rst| 13 doc/guides/rel_notes/release_23_11.rst | 1 + drivers/net/cpfl/cpfl_flow_engine_fxp.c | 90 +++

[PATCH v6 7/8] net/cpfl: add fxp flow engine

2023-09-21 Thread Zhang, Yuying
From: Yuying Zhang Adapt fxp low level as a flow engine. Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_ethdev.h | 27 ++ drivers/net/cpfl/cpfl_flow_engine_fxp.c | 583 drivers/net/cpfl/meson.build| 1 + 3 files changed, 611 insertions(+)

[PATCH v6 5/8] net/cpfl: add FXP low level implementation

2023-09-21 Thread Zhang, Yuying
From: Yuying Zhang Add FXP low level implementation for CPFL rte_flow to create/delete rules. Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_actions.h | 858 drivers/net/cpfl/cpfl_rules.c | 126 + drivers/net/cpfl/cpfl_rules.h | 306

[PATCH v6 6/8] net/cpfl: add fxp rule module

2023-09-21 Thread Zhang, Yuying
From: Yuying Zhang Added low level fxp module for rule packing / creation / destroying. Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_ethdev.c | 31 drivers/net/cpfl/cpfl_ethdev.h | 6 + drivers/net/cpfl/cpfl_fxp_rule.c | 296 +++ drivers/net/cpf

[PATCH v6 4/8] net/cpfl: set up control path

2023-09-21 Thread Zhang, Yuying
From: Yuying Zhang Set up control vport and control queue for flow offloading. Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_controlq.c | 803 +++ drivers/net/cpfl/cpfl_controlq.h | 75 +++ drivers/net/cpfl/cpfl_ethdev.c | 270 +++ drivers/net/cpf

[PATCH v6 3/8] net/cpfl: set up rte flow skeleton

2023-09-21 Thread Zhang, Yuying
From: Yuying Zhang Set up the rte_flow backend skeleton. Introduce the framework to support different engines as rte_flow backend. Bridge rte_flow driver API to flow engines. Signed-off-by: Yuying Zhang --- drivers/net/cpfl/cpfl_ethdev.c | 53 ++ drivers/net/cpfl/cpfl_ethdev.h | 5 + dr

[PATCH v6 2/8] net/cpfl: add mod rule parser support for rte flow

2023-09-21 Thread Zhang, Yuying
From: Wenjing Qiao Add json parser support for rte flow modification rules. Signed-off-by: Wenjing Qiao --- drivers/net/cpfl/cpfl_flow_parser.c | 534 +++- drivers/net/cpfl/cpfl_flow_parser.h | 100 ++ 2 files changed, 633 insertions(+), 1 deletion(-) diff --git a/

[PATCH v6 1/8] net/cpfl: add json parser for rte flow pattern rules

2023-09-21 Thread Zhang, Yuying
From: Wenjing Qiao Add devargs "flow_parser" for rte flow json parser which depends on jansson library. Example: -a ca:00.0,flow_parser="refpkg.json" Add json parser for rte flow pattern rules.The cpfl PMD supports utilizing a JSON config file to translate rte flow tokens into low level har

[PATCH v6 0/8] add rte flow support for cpfl

2023-09-21 Thread Zhang, Yuying
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 (2): net/cpfl: add json parser for rte flow pattern rules net/cpfl: add mod rule parser support f

Re: [PATCH v3 1/3] lib: introduce dispatcher library

2023-09-21 Thread Mattias Rönnblom
On 2023-09-19 12:58, Jerin Jacob wrote: On Mon, Sep 4, 2023 at 6:39 PM Mattias Rönnblom wrote: The purpose of the dispatcher library is to help reduce coupling in an Eventdev-based DPDK application. In addition, the dispatcher also provides a convenient and flexible way for the application to

RE: [PATCH] ethdev: add flow API support for P4-programmable devices

2023-09-21 Thread Ori Kam
Hi Cristian, > -Original Message- > From: Cristian Dumitrescu > Sent: Friday, September 15, 2023 10:00 PM > Subject: [PATCH] ethdev: add flow API support for P4-programmable devices > > This patch introduces the new "program" action type to enable flow API > support for P4-programmable d

Re: [PATCH] net/gve: Refill all descriptors that were consumed

2023-09-21 Thread Ferruh Yigit
On 9/15/2023 3:28 AM, Guo, Junfeng wrote: >> -Original Message- >> From: Rushil Gupta >> Sent: Friday, September 15, 2023 04:52 >> To: Zhang, Qi Z ; ferruh.yi...@amd.com >> Cc: Guo, Junfeng ; dev@dpdk.org; Rushil Gupta >> ; Joshua Washington >> Subject: [PATCH] net/gve: Refill all descrip

Re: [PATCH] ethdev: validate reserved fields

2023-09-21 Thread Ferruh Yigit
On 9/21/2023 4:12 PM, Ferruh Yigit wrote: > On 5/26/2023 9:15 AM, Bruce Richardson wrote: >> On Thu, May 25, 2023 at 01:39:42PM -0700, Stephen Hemminger wrote: >>> The various reserved fields added to ethdev could not be >>> safely used for future extensions because they were never >>> checked on i

Re: [PATCH] app/testpmd: add support for MPLS TTL

2023-09-21 Thread Ferruh Yigit
On 9/1/2023 1:21 PM, Singh, Aman Deep wrote: > > On 8/22/2023 7:47 PM, Michael Baum wrote: >> Add support for matching "ttl" field in MPLS item. >> >> Signed-off-by: Michael Baum > > Acked-by: Aman Singh > Applied to dpdk-next-net/main, thanks.

Re: [PATCH] app/test: fix reference to master in bonding test

2023-09-21 Thread Ferruh Yigit
On 8/18/2023 3:44 AM, Stephen Hemminger wrote: > Missed in previous patch > > Signed-off-by: Stephen Hemminger > --- > app/test/test_link_bonding.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/app/test/test_link_bonding.c b/app/test/test_link_bonding.c > index 8dceb1

Re: [PATCH v2 1/2] ethdev: add new symmetric hash function

2023-09-21 Thread Ferruh Yigit
On 8/30/2023 7:55 AM, Ori Kam wrote: >> -Original Message- >> From: Xueming(Steven) Li >> Sent: Sunday, August 27, 2023 11:18 AM >> >> The new symmetric hash function swap src/dst L3 address and >> L4 ports automatically by sorting. >> >> Signed-off-by: Xueming Li > > Acked-by: Ori Kam

Re: [RFC PATCH] ethdev: introduce NAT64 action

2023-09-21 Thread Ferruh Yigit
On 9/19/2023 11:05 AM, Ori Kam wrote: > Hi Bing > >> -Original Message- >> From: Bing Zhao >> Sent: Friday, August 11, 2023 5:07 PM >> Subject: [RFC PATCH] ethdev: introduce NAT64 action >> >> In order to support the communication between IPv4 and IPv6 nodes in >> the network, different t

Re: [PATCH v2] eal: provide per lcore macros for MSVC

2023-09-21 Thread Tyler Retzlaff
On Thu, Sep 21, 2023 at 11:36:32AM +0200, Thomas Monjalon wrote: > 01/09/2023 01:08, Tyler Retzlaff: > > On Thu, Aug 31, 2023 at 01:57:36PM +0200, Thomas Monjalon wrote: > > > 11/07/2023 17:52, Tyler Retzlaff: > > > > +#ifdef RTE_TOOLCHAIN_MSVC > > > > /** > > > > * Macro to define a per lcore v

Re: [PATCH v2] dmadev: get DMA device using device ID

2023-09-21 Thread Jerin Jacob
On Tue, Sep 19, 2023 at 5:12 PM Amit Prakash Shukla wrote: > > DMA library has a function to get DMA device based on device name but > there is no function to get DMA device using device id. > > Added a function that lookup for the dma device using device id and > returns the pointer to the same.

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

2023-09-21 Thread Ferruh Yigit
On 8/10/2023 7:06 PM, Ivan Malov wrote: > 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-o

Re: [PATCH] ethdev: add packet type matching item

2023-09-21 Thread Ferruh Yigit
On 9/19/2023 11:02 AM, Ori Kam wrote: > Hi Alex, > > > >> -Original Message- >> From: Alexander Kozyrev >> Sent: Thursday, August 10, 2023 7:15 PM >> Subject: [PATCH] ethdev: add packet type matching item >> >> Add RTE_FLOW_ITEM_TYPE_PTYPE to allow matching on >> L2/L3/L4 and tunnel inf

Re: [PATCH] ethdev: validate reserved fields

2023-09-21 Thread Ferruh Yigit
On 5/26/2023 9:15 AM, Bruce Richardson wrote: > On Thu, May 25, 2023 at 01:39:42PM -0700, Stephen Hemminger wrote: >> The various reserved fields added to ethdev could not be >> safely used for future extensions because they were never >> checked on input. Therefore ABI would be broken if these >>

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

2023-09-21 Thread Stanisław Kardach
On Thu, Sep 21, 2023, 15:18 Tummala, Sivaprasad wrote: > [AMD Official Use Only - General] > > > -Original Message- > > From: David Marchand > > Sent: Wednesday, September 20, 2023 1:05 PM > > To: Stanisław Kardach ; Tummala, Sivaprasad > > > > Cc: Ruifeng Wang ; Min Zhou ; > > David Ch

Re: [PATCH] ethdev: validate reserved fields

2023-09-21 Thread Ferruh Yigit
Recheck-request: iol-unit-testing, iol-x86_64-unit-testing

RE: [PATCH] examples/ptpclient: add signal handler for cleanup

2023-09-21 Thread Rahul Bhansali
Hi Thomas, Can you please check this and merge if no comments as this is waiting from long time ? Regards, Rahul > -Original Message- > From: Rahul Bhansali > Sent: Friday, June 16, 2023 10:28 AM > To: 'Thomas Monjalon' > Cc: 'dev@dpdk.org' ; 'Kirill Rybalchenko' > > Subject: RE: [PAT

Re: [PATCH v16 1/8] net/ntnic: initial commit which adds register defines

2023-09-21 Thread Ferruh Yigit
On 9/20/2023 2:17 PM, Thomas Monjalon wrote: > Hello, > > 19/09/2023 11:06, Christian Koue Muf: >> On 9/18/23 10:34 AM, Ferruh Yigit wrote: >>> On 9/15/2023 7:37 PM, Morten Brørup wrote: > From: Ferruh Yigit [mailto:ferruh.yi...@amd.com] > Sent: Friday, 15 September 2023 17.55 > >

Re: [PATCH 0/5] net/hns3: some bugfixes for hns3

2023-09-21 Thread Ferruh Yigit
On 8/5/2023 9:36 AM, Dongdong Liu wrote: > This patchset is to fix some bugs for hns3. > > Chengwen Feng (2): > net/hns3: fix TM thread safety risk > net/hns3: fix un-align format TM info > > Dengdui Huang (3): > net/hns3: fix VF default MAC modified when set failed > net/hns3: return ENO

Re: [EXT] Re: [PATCH v1 02/34] ml/cnxk: drop use of RTE API for firmware read

2023-09-21 Thread David Marchand
On Thu, Sep 21, 2023 at 3:06 PM Srikanth Yalavarthi wrote: > > > > archive. This causes the ML firmware binary to be parsed > > > > incorrectly. > > > > > > + @David Marchand rte_firmware_read() author for his opinions > > > > /lib/firmware/mlip-fw.bin does not seem to be something packaged in >

[PATCH v2] common/cnxk: reserve last LMT line for control ops

2023-09-21 Thread Rahul Bhansali
As rte_eth_dev_configure() can be called from any EAL or non-EAL cores. And in case of non-EAL core, LMT address will not be a valid. So, reserving last LMT line 2047 for control path specific functionality. Signed-off-by: Rahul Bhansali --- v2 change: No change, sent as independent of series.

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

2023-09-21 Thread Tummala, Sivaprasad
[AMD Official Use Only - General] > -Original Message- > From: David Marchand > Sent: Wednesday, September 20, 2023 1:05 PM > To: Stanisław Kardach ; Tummala, Sivaprasad > > Cc: Ruifeng Wang ; Min Zhou ; > David Christensen ; Bruce Richardson > ; Konstantin Ananyev > ; dev ; Yigit, Ferru

RE: [EXT] Re: [PATCH v1 02/34] ml/cnxk: drop use of RTE API for firmware read

2023-09-21 Thread Srikanth Yalavarthi
> -Original Message- > From: David Marchand > Sent: 21 September 2023 18:23 > To: Jerin Jacob ; Srikanth Yalavarthi > > Cc: Prince Takkar ; dev@dpdk.org; Shivah Shankar > Shankar Narayan Rao ; Anup Prabhu > > Subject: [EXT] Re: [PATCH v1 02/34] ml/cnxk: drop use of RTE API for > firmware

Re: [PATCH v1 02/34] ml/cnxk: drop use of RTE API for firmware read

2023-09-21 Thread David Marchand
On Thu, Sep 21, 2023 at 2:08 PM Jerin Jacob wrote: > > On Wed, Aug 30, 2023 at 9:40 PM Srikanth Yalavarthi > wrote: > > > > Dropped use of rte_firmware_read API to read ML firmware > > binary. When DPDK is built with libarchive aaupport, the > > the RTE API assumes the binary file as a compressed

[Bug 1293] how to free mempool in secondary as prev process exit unnormally without calling free function

2023-09-21 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1293 Bug ID: 1293 Summary: how to free mempool in secondary as prev process exit unnormally without calling free function Product: DPDK Version: 21.11 Hardware: All OS:

Re: [PATCH v1 19/34] ml/cnxk: support config and close of tvmdp library

2023-09-21 Thread Jerin Jacob
On Wed, Aug 30, 2023 at 9:34 PM Srikanth Yalavarthi wrote: > > Added support to configure and close TVMDP library based > on ML device configuration options. > > Updated meson build to enable Jansson, TVM runtime, TVMDP > library as build dependencies. If it is optional – please add optional ple

DPDK Release Status Meeting 2023-09-21

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

Re: [PATCH v2 00/34] Implemenation of revised ml/cnxk driver

2023-09-21 Thread Jerin Jacob
On Wed, Sep 20, 2023 at 12:55 PM Srikanth Yalavarthi wrote: > > This patch series is an implementation of revised ml/cnxk driver > to support models compiled with TVM compiler framework. TVM models > use a hybrid mode for execution, with regions of the model executing > on the ML accelerator and t

Re: [PATCH v1 02/34] ml/cnxk: drop use of RTE API for firmware read

2023-09-21 Thread Jerin Jacob
On Wed, Aug 30, 2023 at 9:40 PM Srikanth Yalavarthi wrote: > > Dropped use of rte_firmware_read API to read ML firmware > binary. When DPDK is built with libarchive aaupport, the > the RTE API assumes the binary file as a compressed > archive. This causes the ML firmware binary to be parsed > inco

Re: [PATCH v3 0/2] ethdev: add the check for PTP capability

2023-09-21 Thread lihuisong (C)
add ice & igc maintainers 在 2023/9/21 19:06, Ferruh Yigit 写道: On 9/21/2023 11:02 AM, lihuisong (C) wrote: Hi Ferruh, Sorry for my delay reply because of taking a look at all PMDs implementation. 在 2023/9/16 1:46, Ferruh Yigit 写道: On 8/17/2023 9:42 AM, Huisong Li wrote:  From the first ver

[PATCH 15/15] test/crypto: enable raw crypto tests for crypto_cn10k

2023-09-21 Thread Tejasree Kondoj
From: Anoob Joseph Enable raw crypto tests with crypto_cn10k. Signed-off-by: Anoob Joseph --- app/test/test_cryptodev.c | 8 1 file changed, 8 insertions(+) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index 3a51a5d00f..3f1172e191 100644 --- a/app/test/test_cryp

[PATCH 14/15] crypto/cnxk: update the iv from proper param for gmac

2023-09-21 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri In raw crypto, aad and auth iv are provided in same param. Update the auth_iv from proper param in case of GMAC. Skip the raw for SM ciphers and auths Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 6 +++--- drivers/crypto/cnxk/c

[PATCH 13/15] crypto/cnxk: add support for raw APIs

2023-09-21 Thread Tejasree Kondoj
From: Anoob Joseph Add crypto RAW API support in cnxk PMD Enable the flag to allow execution of raw test suite. Signed-off-by: Vidya Sagar Velumuri Signed-off-by: Anoob Joseph --- drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 459 ++ drivers/crypto/cnxk/cnxk_cryptodev.c

[PATCH 12/15] crypto/cnxk: add support for packets with cipher len zero

2023-09-21 Thread Tejasree Kondoj
From: Aakash Sasidharan For cipher only zero length packets, submit it to CPT with passthrough opcode. Signed-off-by: Aakash Sasidharan --- drivers/crypto/cnxk/cnxk_se.h | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/cnxk/cnxk_se.h b/driver

[PATCH 10/15] crypto/cnxk: set PDCP chain IV offset based on FVC

2023-09-21 Thread Tejasree Kondoj
Set PDCP chain IV offset based on zuc 256 firmware Signed-off-by: Tejasree Kondoj --- drivers/common/cnxk/hw/cpt.h | 4 +++- drivers/common/cnxk/roc_se.h | 3 +++ drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 10 -- drivers/crypto/cnxk/cnxk_cryptodev_ops.h | 5 +++

[PATCH 11/15] crypto/cnxk: minor shuffling in the sess structure

2023-09-21 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Shuffle the fields in the session structure to make the fields byte aligned Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cnxk_se.h | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/crypto/cnx

[PATCH 09/15] crypto/cnxk: make IV pointers as constant

2023-09-21 Thread Tejasree Kondoj
Make IV pointers as constant. Signed-off-by: Tejasree Kondoj drivers/common/cnxk/roc_se.h | 4 +- drivers/crypto/cnxk/cnxk_se.h | 140 +++--- 2 files changed, 80 insertions(+), 64 deletions(-) diff --git a/drivers/common/cnxk/roc_se.h b/drivers/common/cnxk/roc_se.

[PATCH 08/15] crypto/cnxk: fix control flow issues

2023-09-21 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri This patch fixes below coverity issues. Coverity issue: 393678 Fixes: 21c1c303148b ("crypto/cnxk: support SM4") Coverity issue: 393679 Fixes: 21c1c303148b ("crypto/cnxk: support SM4") Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cnxk_se.h | 22 +-

[PATCH 07/15] crypto/cnxk: check for sg version in SE engine capabilities

2023-09-21 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Check for supported SG version in SE engine capabilities. Signed-off-by: Vidya Sagar Velumuri --- drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/cnxk/cnxk_cryptodev_capabilities.c

[PATCH 06/15] crypto/cnxk: remove pdcp chain bit from capabilities

2023-09-21 Thread Tejasree Kondoj
Removing pdcp_chain bit from capabilities as it is supported on all platforms. Signed-off-by: Tejasree Kondoj --- drivers/common/cnxk/hw/cpt.h | 3 +-- drivers/crypto/cnxk/cnxk_cryptodev_ops.c | 15 --- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/driv

[PATCH 04/15] crypto/cnxk: fix private key length in ECDSA param

2023-09-21 Thread Tejasree Kondoj
From: Gowrishankar Muthukrishnan Fix private key length in ECDSA op param to include alignment, for new microcode. Signed-off-by: Gowrishankar Muthukrishnan --- drivers/crypto/cnxk/cnxk_ae.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/cnxk/cnxk_ae.h b

[PATCH 05/15] crypto/cnxk: fix IPsec CCM and GCM capabilities

2023-09-21 Thread Tejasree Kondoj
Fix lookaside IPsec AES-CCM and AES-GCM capabilities. The patch to fix AES-CCM capabilities was applied incorrectly which resulted in wrong AES-GCM capabilities. Fix the same and update AES-CCM to correct values. Fixes: eb581897e580 ("crypto/cnxk: fix IPsec CCM capabilities") Signed-off-by: Anoob

[PATCH 03/15] common/cnxk: set cipher key only for non-null cipher

2023-09-21 Thread Tejasree Kondoj
From: Anoob Joseph Set cipher key only for non-NULL cipher algorithms only. Signed-off-by: Anoob Joseph --- drivers/common/cnxk/roc_se.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/drivers/common/cnxk/roc_se.c b/drivers/common/cnxk/roc_se.c index 2662297315.

[PATCH 02/15] common/cnxk: update SE context fields to match ucode spec

2023-09-21 Thread Tejasree Kondoj
From: Vidya Sagar Velumuri Update the fields in SE context and rename to keep it in sync with microcode spec. Signed-off-by: Vidya Sagar Velumuri --- drivers/common/cnxk/roc_se.h | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/common/cnxk/roc_se.h b/drivers/

[PATCH 01/15] crypto/cnxk: clear rptr and dptr fields

2023-09-21 Thread Tejasree Kondoj
From: Anoob Joseph With SG version 2, hw requires valid rptr & dptr values. Signed-off-by: Anoob Joseph --- drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 2 ++ drivers/crypto/cnxk/cnxk_se.h | 1 + 2 files changed, 3 insertions(+) diff --git a/drivers/crypto/cnxk/cn10k_cryptodev_ops.

[PATCH 00/15] fixes and improvements to cnxk crypto PMD

2023-09-21 Thread Tejasree Kondoj
This series adds improvements and support for raw cryptodev API in cnxk crypto PMD. Aakash Sasidharan (1): crypto/cnxk: add support for packets with cipher len zero Anoob Joseph (4): crypto/cnxk: clear rptr and dptr fields common/cnxk: set cipher key only for non-null cipher crypto/cnxk:

Re: [PATCH] maintainers: update email address

2023-09-21 Thread David Marchand
On Wed, Sep 20, 2023 at 5:39 PM Patrick Robb wrote: > > Recheck-request: iol-unit-amd64-testing > > A maintainers file change should not cause eal_flags_misc_autotest to fail, > so I'm queuing a retest for this series. I agree ;-). About this failure here, I had a look at the logs: this is som

Re: [PATCH v3 1/2] examples/ptpclient: add the check for PTP capability

2023-09-21 Thread lihuisong (C)
在 2023/9/21 19:02, Ferruh Yigit 写道: On 9/21/2023 10:18 AM, lihuisong (C) wrote: 在 2023/9/16 1:29, Ferruh Yigit 写道: On 8/17/2023 9:42 AM, Huisong Li wrote: If a port doesn't support PTP, there is no need to keep running app. So this patch adds the check for PTP capability. Fixes: 7a04a4f67dc

RE: [PATCH v3 1/2] examples/ptpclient: add the check for PTP capability

2023-09-21 Thread Hemant Agrawal
> > On 9/21/2023 10:18 AM, lihuisong (C) wrote: > > > > 在 2023/9/16 1:29, Ferruh Yigit 写道: > >> On 8/17/2023 9:42 AM, Huisong Li wrote: > >>> If a port doesn't support PTP, there is no need to keep running app. > >>> So this patch adds the check for PTP capability. > >>> > >>> Fixes: 7a04a4f67dca

RE: [PATCH v3 0/2] ethdev: add the check for PTP capability

2023-09-21 Thread Hemant Agrawal
HI Ferruh, > On 9/21/2023 11:02 AM, lihuisong (C) wrote: > > Hi Ferruh, > > > > Sorry for my delay reply because of taking a look at all PMDs > > implementation. > > > > > > 在 2023/9/16 1:46, Ferruh Yigit 写道: > >> On 8/17/2023 9:42 AM, Huisong Li wrote: > >>>  From the first version of ptpclient,

Re: [PATCH 0/5] fix race-condition of proactive error handling mode

2023-09-21 Thread Ferruh Yigit
On 3/1/2023 3:06 AM, Chengwen Feng wrote: > This patch fixes race-condition of proactive error handling mode, the > discussion thread [1]. > > [1] > http://patchwork.dpdk.org/project/dpdk/patch/20230220060839.1267349-2-ashok.k.kal...@intel.com/ > > Chengwen Feng (5): > ethdev: fix race-conditi

Re: [PATCH v3 0/2] ethdev: add the check for PTP capability

2023-09-21 Thread Ferruh Yigit
On 9/21/2023 11:02 AM, lihuisong (C) wrote: > Hi Ferruh, > > Sorry for my delay reply because of taking a look at all PMDs > implementation. > > > 在 2023/9/16 1:46, Ferruh Yigit 写道: >> On 8/17/2023 9:42 AM, Huisong Li wrote: >>>  From the first version of ptpclient, it seems that this example >>

Re: [PATCH v3 1/2] examples/ptpclient: add the check for PTP capability

2023-09-21 Thread Ferruh Yigit
On 9/21/2023 10:18 AM, lihuisong (C) wrote: > > 在 2023/9/16 1:29, Ferruh Yigit 写道: >> On 8/17/2023 9:42 AM, Huisong Li wrote: >>> If a port doesn't support PTP, there is no need to keep running >>> app. So this patch adds the check for PTP capability. >>> >>> Fixes: 7a04a4f67dca ("examples/ptpclie

RE: [RFC PATCH 2/3] security: add TLS record processing

2023-09-21 Thread Van Haaren, Harry
> -Original Message- > From: Anoob Joseph > Sent: Thursday, September 21, 2023 11:55 AM > To: Van Haaren, Harry > Cc: Hemant Agrawal ; dev@dpdk.org; Matz, Olivier > ; Vidya Sagar Velumuri ; > Thomas Monjalon ; Akhil Goyal ; > Jerin Jacob Kollanukkaran ; Konstantin Ananyev > > Subject: RE

Re: [PATCH 0/2] net/mana: 32 bit support

2023-09-21 Thread Ferruh Yigit
On 9/21/2023 9:34 AM, Wei Hu wrote: > This is to combine two patches into a patchset. These two patches can > be compiled independently. But we need both to make mana functional > in 32 bit. > > Review comments received previously were also incorporated. > - change port casting from size_t to uin

Re: [PATCH 2/2] net/mana: add 32 bit short doorbell

2023-09-21 Thread Ferruh Yigit
On 9/21/2023 9:34 AM, Wei Hu wrote: > Add 32 bit short doorbell support. Ring short doorbell when running > in 32 bit applicactions. > s/applicactions/applications/ can fix while merging

Re: [PATCH 1/2] net/mana: enable 32 bit build for mana driver

2023-09-21 Thread Ferruh Yigit
On 9/21/2023 9:34 AM, Wei Hu wrote: > Enable 32 bit build on x86 Linux. Fixed build warnings and errors > when building in 32 bit. > > With this patch, mana will be able to build into 32 bit. However, > another patch for mana short doorbell support is needed to make > mana fully functional for 32

RE: [RFC PATCH 2/3] security: add TLS record processing

2023-09-21 Thread Anoob Joseph
Hi Harry, Please see inline. Thanks, Anoob > -Original Message- > From: Van Haaren, Harry > Sent: Thursday, September 21, 2023 2:09 PM > To: Anoob Joseph > Cc: Hemant Agrawal ; dev@dpdk.org; Matz, > Olivier ; Vidya Sagar Velumuri > ; Thomas Monjalon ; > Akhil Goyal ; Jerin Jacob Kollan

Re: [PATCH] net/af_xdp: pass cflags to appropriate build components

2023-09-21 Thread Bruce Richardson
On Thu, Sep 21, 2023 at 10:29:23AM +, Shibin Koikkara Reeny wrote: > Commit 33d66940e9ba ("build: use C11 standard") enforces > the C11 standard so some changes need to be made to the > af_xdp driver meson build to ensure that the appropriate > cflags are passed when checking if certain functio

Re: [PATCH] net/af_xdp: pass cflags to appropriate build components

2023-09-21 Thread Bruce Richardson
On Thu, Sep 21, 2023 at 10:29:23AM +, Shibin Koikkara Reeny wrote: > Commit 33d66940e9ba ("build: use C11 standard") enforces > the C11 standard so some changes need to be made to the > af_xdp driver meson build to ensure that the appropriate > cflags are passed when checking if certain functio

RE: [PATCH v2 1/3] security: introduce out of place support for inline ingress

2023-09-21 Thread Akhil Goyal
> Subject: [PATCH v2 1/3] security: introduce out of place support for inline > ingress > > Similar to out of place(OOP) processing support that exists for > Lookaside crypto/security sessions, Inline ingress security > sessions may also need out of place processing in usecases > where original en

RE: [PATCH 2/2] net/ice: fix TSO with big segments

2023-09-21 Thread Zhang, Qi Z
> -Original Message- > From: David Marchand > Sent: Thursday, September 21, 2023 1:55 PM > To: Zhang, Qi Z > Cc: dev@dpdk.org; ktray...@redhat.com; m...@redhat.com; > dexia...@jaguarmicro.com; sta...@dpdk.org; Yang, Qiming > ; Kevin Liu > Subject: Re: [PATCH 2/2] net/ice: fix TSO with

[PATCH] net/af_xdp: pass cflags to appropriate build components

2023-09-21 Thread Shibin Koikkara Reeny
Commit 33d66940e9ba ("build: use C11 standard") enforces the C11 standard so some changes need to be made to the af_xdp driver meson build to ensure that the appropriate cflags are passed when checking if certain functions are available in the libbpf/libxdp libraries. Fixes: 33d66940e9ba ("build:

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

2023-09-21 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 v3 2/3] event/cnxk: implement event link profiles

2023-09-21 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 v3 1/3] eventdev: introduce link profiles

2023-09-21 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 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 similar

  1   2   >