[dpdk-dev] [PATCH v1 1/1] compress/octeontx: scatter gather mode feature support

2023-01-11 Thread Mahipal Challa
Scatter gather mode feature support is added to compress or decompress the larger data in a single compression or decompression operation. Signed-off-by: Mahipal Challa --- drivers/compress/octeontx/otx_zip.h | 155 +--- drivers/compress/octeontx/otx_zip_pmd.c | 72 +

RE: [PATCH v4 1/1] common/idpf: add AVX512 data path for split queue model

2023-01-11 Thread Lu, Wenzhuo
> -Original Message- > From: Wu, Wenjun1 > Sent: Thursday, January 12, 2023 10:41 AM > To: dev@dpdk.org; Wu, Jingjing ; Xing, Beilei > > Cc: Liu, Mingxia ; Lu, Wenzhuo > ; Wu, Wenjun1 ; Qiao, > Wenjing > Subject: [PATCH v4 1/1] common/idpf: add AVX512 data path for split queue > model

Re: [PATCH v6 4/4] eventdev/timer: change eventdev reconfig logic

2023-01-11 Thread Jerin Jacob
On Wed, Jan 4, 2023 at 12:12 PM Naga Harish K S V wrote: > > When rte_event_timer_adapter_create() is used for creating adapter > instance, eventdev is reconfigured with additional > ``rte_event_dev_config::nb_event_ports`` parameter. > > This eventdev reconfig logic is enhanced to increment the >

[dpdk-dev] [PATCH] common/cnxk: fix issue with IPv6 ext matching

2023-01-11 Thread psatheesh
From: Kiran Kumar K While configuring ipv6 flow, ipv6 ext ltype should be matched along with ipv6. Adding changes to fix this issue. Fixes: 474e275b1bc6 ("common/cnxk: support extensions attributes in IPv6 item") Cc: sta...@dpdk.org Signed-off-by: Kiran Kumar K Reviewed-by: Satheesh Paul ---

Re: [dpdk-dev] [PATCH] net/cnxk: support flow info API

2023-01-11 Thread Jerin Jacob
On Mon, Dec 19, 2022 at 6:48 PM wrote: > > From: Satheesh Paul > > Implement rte_flow_info_get API to get the maximum > number of counters and meters. > > Signed-off-by: Satheesh Paul > Reviewed-by: Kiran Kumar K > --- > Depends-on: patch-26075 ("common/cnxk: fix dual VLAN parsing issue") Ap

Re: [PATCH V4 5/5] app/testpmd: stop forwarding in new or destroy event

2023-01-11 Thread lihuisong (C)
在 2023/1/11 20:52, Ferruh Yigit 写道: On 12/6/2022 9:26 AM, Huisong Li wrote: When testpmd receives the new or destroy event, the port related information will be updated. Testpmd must stop packet forwarding before updating the information to avoid some serious problems. Signed-off-by: Huisong

Re: [PATCH V4 4/5] app/testpmd: add attach and detach port for multiple process

2023-01-11 Thread lihuisong (C)
在 2023/1/11 20:51, Ferruh Yigit 写道: On 12/6/2022 9:26 AM, Huisong Li wrote: This patch supports attach and detach port in primary and secondary process. Hi Huisong, This patch moves port setup and remove (via alarm callback) to event callback, 1) I can see it is for MP but can you please g

Re: [PATCH V4 2/5] ethdev: fix skip valid port in probing callback

2023-01-11 Thread lihuisong (C)
在 2023/1/11 20:51, Ferruh Yigit 写道: On 12/6/2022 9:26 AM, Huisong Li wrote: The event callback in application may use the macro RTE_ETH_FOREACH_DEV to iterate over all enabled ports to do something(like, verifying the port id validity) when receive a probing event. If the ethdev state of a por

Re: [PATCH V4 1/5] drivers/bus: restore driver assignment at front of probing

2023-01-11 Thread lihuisong (C)
在 2023/1/11 20:51, Ferruh Yigit 写道: On 12/6/2022 9:26 AM, Huisong Li wrote: The driver assignment was moved back at the end of the device probing because there is no something to use rte_driver during the phase of probing. See commit 391797f04208 ("drivers/bus: move driver assignment to end of

[PATCH v4 1/1] common/idpf: add AVX512 data path for split queue model

2023-01-11 Thread Wenjun Wu
Add support of AVX512 data path for split queue model. Signed-off-by: Wenjun Wu Reviewed-by: Wenjing Qiao --- drivers/common/idpf/idpf_common_rxtx.c| 22 +- drivers/common/idpf/idpf_common_rxtx.h| 19 +- drivers/common/idpf/idpf_common_rxtx_avx512.c | 797 +- d

[PATCH v4 0/1] Add support AVX512 split queue datapath

2023-01-11 Thread Wenjun Wu
This patchset enables AVX512 data path for split queue model. It is based on the below two pathsets 1. https://patches.dpdk.org/project/dpdk/cover/20230106090501.9106-1-beilei.x...@intel.com/ 2. https://patches.dpdk.org/project/dpdk/cover/20230106091627.13530-1-beilei.x...@intel.com/ v3: fix l

Re: [PATCH V4 0/5] app/testpmd: support mulitple process attach and detach port

2023-01-11 Thread lihuisong (C)
在 2023/1/11 18:46, Ferruh Yigit 写道: On 1/11/2023 10:27 AM, Ferruh Yigit wrote: On 1/11/2023 12:53 AM, lihuisong (C) wrote: 在 2023/1/11 0:51, Ferruh Yigit 写道: On 12/6/2022 9:26 AM, Huisong Li wrote: This patchset fix some bugs and support attaching and detaching port in primary and secondary

[PATCH V2 11/11] examples/pipeline: add IPsec example

2023-01-11 Thread Cristian Dumitrescu
Add example files to illustrate the pipeline IPsec support. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/examples/ipsec.cli| 57 +++ examples/pipeline/examples/ipsec.io | 23 +++ examples/pipeline/examples/ipsec.spec | 138 ++

[PATCH V2 10/11] examples/pipeline: add block enable/disable CLI commands

2023-01-11 Thread Cristian Dumitrescu
Add CLI commands to enable/disable block execution on data plane threads. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 154 1 file changed, 154 insertions(+) diff --git a/examples/pipeline/cli.c b/exampl

[PATCH V2 09/11] examples/pipeline: support blocks other than pipelines

2023-01-11 Thread Cristian Dumitrescu
Previously, the data plane threads only supported the execution of pipelines assigned to them through configuration updates. Now, the data plane threads also support running blocks such as IPsec. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/thread.c | 1

[PATCH V2 07/11] examples/pipeline: add IPsec CLI commands

2023-01-11 Thread Cristian Dumitrescu
Add CLI commands for IPsec block configuration. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 298 1 file changed, 298 insertions(+) diff --git a/examples/pipeline/cli.c b/examples/pipeline/cli.c index 47

[PATCH V2 08/11] examples/pipeline: rework the thread configuration updates

2023-01-11 Thread Cristian Dumitrescu
Previously, the configuration updates for the data plane threads were performed through message queues. Now, this mechanism is replaced by the control thread updating the mirror copy of the data plane thread configuration followed by pointer swapping. Signed-off-by: Cristian Dumitrescu Signed-off

[PATCH V2 06/11] examples/pipeline: add CLI command for crypto device

2023-01-11 Thread Cristian Dumitrescu
Add CLI command for the configuration of crypto devices. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 63 + 1 file changed, 63 insertions(+) diff --git a/examples/pipeline/cli.c b/examples/pipeline/cli.c

[PATCH V2 05/11] examples/pipeline: support crypto devices

2023-01-11 Thread Cristian Dumitrescu
Add support for crypto devices in the application. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/obj.c | 61 + examples/pipeline/obj.h | 11 2 files changed, 72 insertions(+) diff --git a/examples/pipelin

[PATCH V2 04/11] examples/pipeline: streamline the Ethernet device support

2023-01-11 Thread Cristian Dumitrescu
Streamline the Ethernet device support code and remove redundant code. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 175 ++-- examples/pipeline/main.c | 12 +-- examples/pipeline/obj.c | 186 +--

[PATCH V2 03/11] examples/pipeline: streamline ring support

2023-01-11 Thread Cristian Dumitrescu
Remove redundant ring related code. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 24 ++-- examples/pipeline/obj.c | 63 - examples/pipeline/obj.h | 21 -- 3 files changed, 15 insert

[PATCH V2 02/11] examples/pipeline: rework memory pool support

2023-01-11 Thread Cristian Dumitrescu
Rework the memory pool CLI command to accommodate the MBUF private meta-data area size parameter. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 72 ++--- examples/pipeline/examples/fib.cli| 2 +- exa

[PATCH V2 01/11] pipeline: add IPsec support

2023-01-11 Thread Cristian Dumitrescu
This block is providing IPsec support to the SWX pipeline. The IPsec block is external to the pipeline, so it needs to be explicitly instantiated and connected to a pipeline through the I/O ports. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- lib/pipeline/meson.build

[PATCH V2 00/11] pipeline: add IPsec support

2023-01-11 Thread Cristian Dumitrescu
This patch set introduces a companion block for the SWX pipeline for IPsec support. The IPsec block is external to the pipeline, hence it needs to be explicitly instantiated by the user and connected to a pipeline instance through the pipeline I/O ports. Main features: * IPsec inbound (encrypted

Re: [PATCH] crypto/qat: fix build

2023-01-11 Thread Thomas Monjalon
Waiting for an answer here. The commit log is not supposed to stay like this with questions. 11/01/2023 10:03, Thomas Monjalon: > 04/01/2023 12:56, Akhil Goyal: > > > On Fri, Dec 30, 2022 at 10:07:28PM +0100, Thomas Monjalon wrote: > > > > When trying to compile on a fresh system, I hit this erro

Issues with MLX NIC perf report

2023-01-11 Thread Honnappa Nagarahalli
Hello, I am looking at [1]. In Chapter 8, Table 18, 'Test Configuration' mentions using 16 cores. However, in section 8.1, Table 19, 'Command Line' is using 12 cores. Appreciate correcting this. I assume the command line is the correct one. Thanks, Honnappa [1] https://fast.dpdk.org/d

Re: [EXT] Re: [PATCH v5 0/4] add support for self monitoring

2023-01-11 Thread Tyler Retzlaff
On Wed, Jan 11, 2023 at 09:39:35AM +, Tomasz Duszynski wrote: > Hi Tyler, > > >-Original Message- > >From: Tyler Retzlaff > >Sent: Wednesday, January 11, 2023 1:32 AM > >To: Tomasz Duszynski ; bruce.richard...@intel.com; > >m...@smartsharesystems.com > >Cc: dev@dpdk.org; tho...@monja

[PATCH 11/11] examples/pipeline: add IPsec example

2023-01-11 Thread Cristian Dumitrescu
Add example files to illustrate the pipeline IPsec support. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/examples/ipsec.cli| 57 +++ examples/pipeline/examples/ipsec.io | 23 +++ examples/pipeline/examples/ipsec.spec | 138 ++

[PATCH 10/11] examples/pipeline: add block enable/disable CLI commands

2023-01-11 Thread Cristian Dumitrescu
Add CLI commands to enable/disable block execution on data plane threads. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 154 1 file changed, 154 insertions(+) diff --git a/examples/pipeline/cli.c b/exampl

[PATCH 09/11] examples/pipeline: support blocks other than pipelines

2023-01-11 Thread Cristian Dumitrescu
Previously, the data plane threads only supported the execution of pipelines assigned to them through configuration updates. Now, the data plane threads also support running blocks such as IPsec. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/thread.c | 1

[PATCH 08/11] examples/pipeline: rework the thread configuration updates

2023-01-11 Thread Cristian Dumitrescu
Previously, the configuration updates for the data plane threads were performed through message queues. Now, this mechanism is replaced by the control thread updating the mirror copy of the data plane thread configuration followed by pointer swapping. Signed-off-by: Cristian Dumitrescu Signed-off

[PATCH 07/11] examples/pipeline: add IPsec CLI commands

2023-01-11 Thread Cristian Dumitrescu
Add CLI commands for IPsec block configuration. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 298 1 file changed, 298 insertions(+) diff --git a/examples/pipeline/cli.c b/examples/pipeline/cli.c index 47

[PATCH 06/11] examples/pipeline: add CLI command for crypto device

2023-01-11 Thread Cristian Dumitrescu
Add CLI command for the configuration of crypto devices. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 63 + 1 file changed, 63 insertions(+) diff --git a/examples/pipeline/cli.c b/examples/pipeline/cli.c

[PATCH 05/11] examples/pipeline: support crypto devices

2023-01-11 Thread Cristian Dumitrescu
Add support for crypto devices in the application. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/obj.c | 61 + examples/pipeline/obj.h | 11 2 files changed, 72 insertions(+) diff --git a/examples/pipelin

[PATCH 04/11] examples/pipeline: streamline the Ethernet device support

2023-01-11 Thread Cristian Dumitrescu
Streamline the Ethernet device support code and remove redundant code. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 175 ++-- examples/pipeline/main.c | 12 +-- examples/pipeline/obj.c | 186 +--

[PATCH 03/11] examples/pipeline: streamline ring support

2023-01-11 Thread Cristian Dumitrescu
Remove redundant ring related code. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 24 ++-- examples/pipeline/obj.c | 63 - examples/pipeline/obj.h | 21 -- 3 files changed, 15 insert

[PATCH 02/11] examples/pipeline: rework memory pool support

2023-01-11 Thread Cristian Dumitrescu
Rework the memory pool CLI command to accommodate the MBUF private meta-data area size parameter. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 72 ++--- examples/pipeline/examples/fib.cli| 2 +- exa

[PATCH 01/11] pipeline: add IPsec support

2023-01-11 Thread Cristian Dumitrescu
This block is providing IPsec support to the SWX pipeline. The IPsec block is external to the pipeline, so it needs to be explicitly instantiated and connected to a pipeline through the I/O ports. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- lib/pipeline/meson.build

[PATCH 00/11] pipeline: add IPsec support

2023-01-11 Thread Cristian Dumitrescu
This patch set introduces a companion block for the SWX pipeline for IPsec support. The IPsec block is external to the pipeline, hence it needs to be explicitly instantiated by the user and connected to a pipeline instance through the pipeline I/O ports. Main features: * IPsec inbound (encrypted

[PATCH v4] devtools: parallelize ABI check

2023-01-11 Thread Thomas Monjalon
Generation and comparison of ABI dumps are done on multiple cores thanks to xargs -P0. It can accelerate this long step by 5 in my tests. xargs reports a global error if one of the process has an error. Running a shell function with xargs requires to export it. POSIX shell does not support functi

[PATCH] net/mlx5/hws: fix memory leak on general pool db init

2023-01-11 Thread Alex Vesker
On elemend db init we allocated the element_manager which was unused and not freed. Fixes: b4dd7bcb0dcbe ("net/mlx5/hws: add pool and buddy") Signed-off-by: Alex Vesker Reviewed-by: Erez Shitrit --- drivers/net/mlx5/hws/mlx5dr_pool.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/dri

RE: [EXT] Re: [RFC PATCH 1/7] lib: add helper to read strings from sysfs files

2023-01-11 Thread Tomasz Duszynski
Hi Stephen, >-Original Message- >From: Stephen Hemminger >Sent: Friday, December 23, 2022 5:40 PM >To: Tomasz Duszynski >Cc: dev@dpdk.org; tho...@monjalon.net; Jerin Jacob Kollanukkaran > >Subject: [EXT] Re: [RFC PATCH 1/7] lib: add helper to read strings from sysfs >files > >External

RE: [2nd Try]:Re: Traffic Management API Questions

2023-01-11 Thread Singh, Jasvinder
Hi Venky, Please see inline; Jasvinder From: Venky Venkatesh Sent: Wednesday, January 11, 2023 11:56 AM To: Singh, Jasvinder Cc: dev@dpdk.org Subject: Re: [2nd Try]:Re: Traffic Management API Questions Hi Jasvinder, Thanks for the detailed answers. Our need is to have shaping at the port leve

Re: [PATCH v3] devtools: parallelize ABI check

2023-01-11 Thread Thomas Monjalon
11/01/2023 15:11, David Marchand: > On Wed, Jan 11, 2023 at 2:16 PM Thomas Monjalon wrote: > > +find $refdir -name "*.dump" | > > +xargs -n1 -P0 sh -c 'eval "$diff_func"; run_diff $0 '$newdir || > > +error=1 > > Do we need to pass $newdir ? > Like, for example, ABIDIFF_OPTIONS seems inherited, ri

Re: [dpdk-dev] [PATCH v2 4/4] common/cnxk: fix dual VLAN parsing issue

2023-01-11 Thread Jerin Jacob
On Wed, Jan 11, 2023 at 11:09 AM wrote: > > From: Satheesh Paul > > Flow parsing was not handling pattern matching on the > fields of inner VLAN even though MKEX profile could be > extracting inner VLAN fields. Code has been modified > to handle matching fields on two VLAN tags. > > Fixes: c34ea7

[PATCH v3 1/1] baseband/acc: acc100 ignore missing mempools

2023-01-11 Thread Hernan Vargas
Mempool not strictly required to be present in op for processing. Previous criteria too strict. No functional impact. Signed-off-by: Hernan Vargas --- drivers/baseband/acc/rte_acc100_pmd.c | 9 - 1 file changed, 9 deletions(-) diff --git a/drivers/baseband/acc/rte_acc100_pmd.c b/driver

[PATCH v3 0/1] baseband/acc: changes for 23.03

2023-01-11 Thread Hernan Vargas
v3: Remove unused mempool header. v2: Reordered commits and added one more fix. v1: Upstreaming ACC100 changes for 23.03. Hernan Vargas (1): baseband/acc: acc100 ignore missing mempools drivers/baseband/acc/rte_acc100_pmd.c | 9 - 1 file changed, 9 deletions(-) -- 2.37.1

RE: [PATCH v5 1/4] eal: add generic support for reading PMU events

2023-01-11 Thread Morten Brørup
> From: Tomasz Duszynski [mailto:tduszyn...@marvell.com] > Sent: Wednesday, 11 January 2023 17.21 > > >From: Morten Brørup > >Sent: Wednesday, January 11, 2023 10:06 AM > > > >> From: Tomasz Duszynski [mailto:tduszyn...@marvell.com] > >> Sent: Wednesday, 11 January 2023 00.47 > >> > >> Add suppor

RE: [PATCH] crypto/qat: enable asymmetric crypto on gen3 device

2023-01-11 Thread Ji, Kai
Acked-by: Kai Ji > -Original Message- > From: Power, Ciara > Sent: Wednesday, December 14, 2022 4:34 PM > To: Ji, Kai > Cc: dev@dpdk.org; Kusztal, ArkadiuszX ; > Power, Ciara > Subject: [PATCH] crypto/qat: enable asymmetric crypto on gen3 device > > This commit enables asymmetric cryp

RE: [RFC 2/5] ethdev: introduce the affinity field in Tx queue API

2023-01-11 Thread Ori Kam
Hi Jiawei, > -Original Message- > From: Jiawei(Jonny) Wang > Sent: Wednesday, 21 December 2022 12:30 > > For the multiple hardware ports connect to a single DPDK port (mhpsdp), > the previous patch introduces the new rte flow item to match the port > affinity of the received packets. >

RE: [PATCH v2 1/7] baseband/acc: acc100 free harq layout pointer

2023-01-11 Thread Vargas, Hernan
Hi Maxime, d->harq_layout = NULL is already in de acc100_dev_close function. Thanks, Hernan -Original Message- From: Maxime Coquelin Sent: Friday, January 6, 2023 2:53 AM To: Vargas, Hernan ; dev@dpdk.org; gak...@marvell.com; t...@redhat.com Cc: Chautru, Nicolas ; Zhang, Qi Z ; sta..

RE: [RFC 1/5] ethdev: add port affinity match item

2023-01-11 Thread Ori Kam
Hi Jiawei, > -Original Message- > From: Jiawei(Jonny) Wang > Sent: Wednesday, 21 December 2022 12:30 > > For the multiple hardware ports connect to a single DPDK port (mhpsdp), > currently there is no information to indicate the packet belongs to > which hardware port. > > This patch in

RE: [RFC 1/9] ethdev: add flex item modify field support

2023-01-11 Thread Ori Kam
Hi Rongwei, > -Original Message- > From: Rongwei Liu > Sent: Wednesday, 21 December 2022 10:40 > > Add flex item as modify field destination. > Add "struct rte_flow_item_flex_handle *flex_handle" into > "struct rte_flow_action_modify_data" as union with existed > "level" member. This ne

RE: DPDK official roadmap

2023-01-11 Thread Morten Brørup
> From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Wednesday, 11 January 2023 15.24 > > 11/01/2023 11:08, Morten Brørup: > > Thomas, Nathan, > > > > The DPDK roadmap web page [1] is essentially two lists of specific > features probably coming in the short term, or in some unknown future.

RE: [PATCH v5 1/4] eal: add generic support for reading PMU events

2023-01-11 Thread Tomasz Duszynski
>-Original Message- >From: Morten Brørup >Sent: Wednesday, January 11, 2023 10:06 AM >To: Tomasz Duszynski ; dev@dpdk.org >Cc: tho...@monjalon.net; Jerin Jacob Kollanukkaran ; >ruifeng.w...@arm.com; >mattias.ronnb...@ericsson.com; zhou...@loongson.cn >Subject: [EXT] RE: [PATCH v5 1/4]

Re: [PATCH v2 1/4] eal: add thread set name API operating on rte thread

2023-01-11 Thread David Marchand
On Wed, Dec 14, 2022 at 5:47 PM Tyler Retzlaff wrote: > diff --git a/lib/eal/common/eal_common_trace.c > b/lib/eal/common/eal_common_trace.c > index 5caaac8..89522dc 100644 > --- a/lib/eal/common/eal_common_trace.c > +++ b/lib/eal/common/eal_common_trace.c > @@ -356,8 +356,6 @@ rte_trace_mode rte

Re: [PATCH] maintainers: update ENA PMD maintainers list

2023-01-11 Thread Ferruh Yigit
On 12/27/2022 12:09 PM, Brandes, Shai wrote: > > The main driver maintenance is now handled by Amazon, and the new Amazon > maintainer has been added (Ron Beider). > > As Semihalf interaction with the ENA PMD is going to be limited, Marcin > Wojtas was removed from the maintainers list. > Th

Re: [PATCH v2 0/4] crypto/ccp cleanup

2023-01-11 Thread David Marchand
On Fri, Nov 18, 2022 at 12:58 PM Uttarwar, Sunil Prakashrao wrote: > Hi David, > > Please find the below update > > - only one DPDK application can use ccp crypto engines (PCI bus > allow/blocklist is not respected, right?), > Yes, only one crypto device can be used in a DPDK application for the

RE: RFC abstracting atomics

2023-01-11 Thread Morten Brørup
> From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Wednesday, 11 January 2023 15.18 > > On Wed, Jan 11, 2023 at 01:46:02PM +0100, Morten Brørup wrote: > > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > > Sent: Wednesday, 11 January 2023 12.57 > > > > > > On Wed,

RE: TODO - remove dependency on ifconfig

2023-01-11 Thread Honnappa Nagarahalli
> > On Tue, Jan 10, 2023 at 9:19 PM Stephen Hemminger > wrote: > > > > It would be good if DTS and DPDK docs and test did not use the ifconfig > command. > > Ifconfig is not maintained and is deprecated. Some distros have stopped > shipping it. > > Ifconfig only used ioctl's and was never updat

Re: [PATCH v5 0/4] add support for self monitoring

2023-01-11 Thread Bruce Richardson
On Wed, Jan 11, 2023 at 02:24:28PM +, Tomasz Duszynski wrote: > > > >-Original Message- > >From: Morten Brørup > >Sent: Wednesday, January 11, 2023 10:31 AM > >To: Tyler Retzlaff ; Tomasz Duszynski > >; > >bruce.richard...@intel.com > >Cc: dev@dpdk.org; tho...@monjalon.net; Jerin Ja

RE: [PATCH v5 0/4] add support for self monitoring

2023-01-11 Thread Tomasz Duszynski
>-Original Message- >From: Morten Brørup >Sent: Wednesday, January 11, 2023 10:31 AM >To: Tyler Retzlaff ; Tomasz Duszynski >; >bruce.richard...@intel.com >Cc: dev@dpdk.org; tho...@monjalon.net; Jerin Jacob Kollanukkaran >; >ruifeng.w...@arm.com; mattias.ronnb...@ericsson.com; zhou...

Re: DPDK official roadmap

2023-01-11 Thread Thomas Monjalon
11/01/2023 11:08, Morten Brørup: > Thomas, Nathan, > > The DPDK roadmap web page [1] is essentially two lists of specific features > probably coming in the short term, or in some unknown future. > > [1] https://core.dpdk.org/roadmap/ > > We might want to publish the list of high level, long ter

[Bug 1156] dpdk_flow_ops_fn api returns error for RSS queue action

2023-01-11 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1156 Bug ID: 1156 Summary: dpdk_flow_ops_fn api returns error for RSS queue action Product: DPDK Version: 22.03 Hardware: All OS: All Status: UNCONFIRMED

Re: RFC abstracting atomics

2023-01-11 Thread Bruce Richardson
On Wed, Jan 11, 2023 at 01:46:02PM +0100, Morten Brørup wrote: > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > Sent: Wednesday, 11 January 2023 12.57 > > > > On Wed, Jan 11, 2023 at 11:23:07AM +0100, Morten Brørup wrote: > > > > From: Bruce Richardson [mailto:bruce.richard...@in

Re: [PATCH v3] devtools: parallelize ABI check

2023-01-11 Thread David Marchand
On Wed, Jan 11, 2023 at 2:16 PM Thomas Monjalon wrote: > > Generation and comparison of ABI dumps are done on multiple cores > thanks to xargs -P0. > It can accelerate this long step by 5 in my tests. > > xargs reports a global error if one of the process has an error. > > Running a shell function

Re: [PATCH v3] devtools: parallelize ABI check

2023-01-11 Thread Bruce Richardson
On Wed, Jan 11, 2023 at 02:16:52PM +0100, Thomas Monjalon wrote: > Generation and comparison of ABI dumps are done on multiple cores > thanks to xargs -P0. > It can accelerate this long step by 5 in my tests. > > xargs reports a global error if one of the process has an error. > > Running a shell

Re: [PATCH v2 5/5] ethdev: telemetry xstats support hide zero

2023-01-11 Thread Bruce Richardson
On Wed, Jan 11, 2023 at 12:06:30PM +, Chengwen Feng wrote: > The number of xstats may be large, after the hide zero option is added, > only non-zero values can be displayed. > > Signed-off-by: Chengwen Feng > --- > lib/ethdev/rte_ethdev.c | 28 ++-- > 1 file changed,

Re: [PATCH v2 2/5] telemetry: fix repeat display when callback don't set dict

2023-01-11 Thread Bruce Richardson
On Wed, Jan 11, 2023 at 12:06:27PM +, Chengwen Feng wrote: > When telemetry callback didn't set dict and return a non-negative I'd suggest rewording the "didn't set dict", since it's not required that a telemetry callback do anything with dictionaries. I'd suggest: "When a telemetry callback

Re: [PATCH v2 1/5] dmadev: support stats reset telemetry command

2023-01-11 Thread Bruce Richardson
On Wed, Jan 11, 2023 at 12:06:26PM +, Chengwen Feng wrote: > The stats reset is useful for debugging, so add it to the dmadev > telemetry command lists. > > Signed-off-by: Chengwen Feng Looks ok to me, just one small comment inline. With that fixed: Reviewed-by: Bruce Richardson > --- >

[PATCH v3] devtools: parallelize ABI check

2023-01-11 Thread Thomas Monjalon
Generation and comparison of ABI dumps are done on multiple cores thanks to xargs -P0. It can accelerate this long step by 5 in my tests. xargs reports a global error if one of the process has an error. Running a shell function with xargs requires to export it with -f, and that is a specific capa

NVIDIA roadmap for 23.03

2023-01-11 Thread Lior Margalit
Please find below NVIDIA roadmap for 23.03 release: A. rte_flow new APIs = [1] Support match on ICMPv6 ID and sequence​ http://patches.dpdk.org/project/dpdk/cover/20221220074403.1015411-1-yongqu...@nvidia.com/

Re: [PATCH V4 5/5] app/testpmd: stop forwarding in new or destroy event

2023-01-11 Thread Ferruh Yigit
On 12/6/2022 9:26 AM, Huisong Li wrote: > When testpmd receives the new or destroy event, the port related > information will be updated. Testpmd must stop packet forwarding > before updating the information to avoid some serious problems. > > Signed-off-by: Huisong Li > --- > app/test-pmd/testp

Re: [PATCH V4 4/5] app/testpmd: add attach and detach port for multiple process

2023-01-11 Thread Ferruh Yigit
On 12/6/2022 9:26 AM, Huisong Li wrote: > This patch supports attach and detach port in primary and secondary > process. > Hi Huisong, This patch moves port setup and remove (via alarm callback) to event callback, 1) I can see it is for MP but can you please give more details, what was the prob

Re: [PATCH V4 2/5] ethdev: fix skip valid port in probing callback

2023-01-11 Thread Ferruh Yigit
On 12/6/2022 9:26 AM, Huisong Li wrote: > The event callback in application may use the macro RTE_ETH_FOREACH_DEV to > iterate over all enabled ports to do something(like, verifying the port id > validity) when receive a probing event. If the ethdev state of a port is > RTE_ETH_DEV_UNUSED, this por

Re: [PATCH V4 1/5] drivers/bus: restore driver assignment at front of probing

2023-01-11 Thread Ferruh Yigit
On 12/6/2022 9:26 AM, Huisong Li wrote: > The driver assignment was moved back at the end of the device probing > because there is no something to use rte_driver during the phase of > probing. See commit 391797f04208 ("drivers/bus: move driver assignment > to end of probing") > > However, it is ne

RE: RFC abstracting atomics

2023-01-11 Thread Morten Brørup
> From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Wednesday, 11 January 2023 12.57 > > On Wed, Jan 11, 2023 at 11:23:07AM +0100, Morten Brørup wrote: > > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > > Sent: Wednesday, 11 January 2023 11.10 > > > > > > One add

Re: [PATCH v5 2/5] telemetry: fix repeated display when callback don't set dict

2023-01-11 Thread fengchengwen
Hi Bruce, On 2023/1/7 1:33, Bruce Richardson wrote: > On Fri, Jan 06, 2023 at 04:07:45PM +, Bruce Richardson wrote: >> On Mon, Dec 26, 2022 at 12:53:57PM +0800, fengchengwen wrote: >>> On 2022/12/19 17:33, Bruce Richardson wrote: On Mon, Dec 19, 2022 at 09:07:20AM +, Chengwen Feng wro

Re: [PATCH v2 0/5] support dmadev/ethdev stats reset

2023-01-11 Thread fengchengwen
Sorry to repeat send v2, this new version include change log. On 2023/1/11 20:06, Chengwen Feng wrote: > This patchset contains dmadev/ethdev stats reset, and also support > hide zero for ethdev xstats and two telemetry related bugs. > > Chengwen Feng (5): > dmadev: support stats reset telemetr

[PATCH v3 2/2] ethdev: add quota flow action and item

2023-01-11 Thread Gregory Etelson
Quota action limits traffic according to pre-defined configuration. Quota reflects overall traffic usage regardless bandwidth. Quota flow action initialized with signed tokens number value. Quota flow action updates tokens number according to these rules: 1. if quota was configured to count packet

[PATCH v3 1/2] ethdev: add query_update sync and async function calls

2023-01-11 Thread Gregory Etelson
Current API allows either query or update indirect flow action. If port hardware allows both update and query in a single operation, application still has to issue 2 separate hardware requests. The patch adds `rte_flow_action_handle_query_update` function call, and it's async version `rte_flow_asy

[PATCH v2 0/5] support dmadev/ethdev stats reset

2023-01-11 Thread Chengwen Feng
This patchset contains dmadev/ethdev stats reset, and also support hide zero for ethdev xstats and two telemetry related bugs. Chengwen Feng (5): dmadev: support stats reset telemetry command telemetry: fix repeat display when callback don't set dict ethdev: add newline to telemetry log stri

[PATCH v2 5/5] ethdev: telemetry xstats support hide zero

2023-01-11 Thread Chengwen Feng
The number of xstats may be large, after the hide zero option is added, only non-zero values can be displayed. Signed-off-by: Chengwen Feng --- lib/ethdev/rte_ethdev.c | 28 ++-- 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/lib/ethdev/rte_ethdev.c b/lib/

[PATCH v2 4/5] ethdev: support xstats reset telemetry command

2023-01-11 Thread Chengwen Feng
The xstats reset is useful for debugging, so add it to the ethdev telemetry command lists. Signed-off-by: Chengwen Feng --- lib/ethdev/rte_ethdev.c | 29 + 1 file changed, 29 insertions(+) diff --git a/lib/ethdev/rte_ethdev.c b/lib/ethdev/rte_ethdev.c index 9eeae6102

[PATCH v2 3/5] ethdev: add newline to telemetry log string

2023-01-11 Thread Chengwen Feng
The telemetry related code may invoke RTE_ETHDEV_LOG to display information, the newline character is not added automatically to the RTE_ETHDEV_LOG, therefore, the newline character must be explicitly added to the log string. Fixes: 5514319e7b43 ("telemetry: fix passing full params string to comma

[PATCH v2 2/5] telemetry: fix repeat display when callback don't set dict

2023-01-11 Thread Chengwen Feng
When telemetry callback didn't set dict and return a non-negative number, the telemetry will repeat to display the last result. This patch zero the dict to avoid the problem. Fixes: 6dd571fd07c3 ("telemetry: introduce new functionality") Cc: sta...@dpdk.org Signed-off-by: Chengwen Feng --- lib/

[PATCH v2 1/5] dmadev: support stats reset telemetry command

2023-01-11 Thread Chengwen Feng
The stats reset is useful for debugging, so add it to the dmadev telemetry command lists. Signed-off-by: Chengwen Feng --- lib/dmadev/rte_dmadev.c | 46 + 1 file changed, 46 insertions(+) diff --git a/lib/dmadev/rte_dmadev.c b/lib/dmadev/rte_dmadev.c inde

Re: [PATCH v4 1/1] eal/linux: reject mountpt not parent of --huge-dir

2023-01-11 Thread John Levon
On Sun, Jan 08, 2023 at 06:52:39PM -0700, Ashish Sadanandan wrote: > The code added for allowing --huge-dir to specify hugetlbfs > sub-directories has a bug where it incorrectly matches mounts that > contain a prefix of the specified --huge-dir. > > Consider --huge-dir=/dev/hugepages1G is passed

[PATCH v2 2/5] telemetry: fix repeat display when callback don't set dict

2023-01-11 Thread Chengwen Feng
When telemetry callback didn't set dict and return a non-negative number, the telemetry will repeat to display the last result. This patch zero the dict to avoid the problem. Fixes: 6dd571fd07c3 ("telemetry: introduce new functionality") Cc: sta...@dpdk.org Signed-off-by: Chengwen Feng --- lib/

[PATCH v2 0/5] support dmadev/ethdev stats reset

2023-01-11 Thread Chengwen Feng
This patchset contains dmadev/ethdev stats reset, and also support hide zero for ethdev xstats and two telemetry related bugs. Chengwen Feng (5): dmadev: support stats reset telemetry command telemetry: fix repeat display when callback don't set dict ethdev: add newline to telemetry log stri

[PATCH v2 3/5] ethdev: add newline to telemetry log string

2023-01-11 Thread Chengwen Feng
The telemetry related code may invoke RTE_ETHDEV_LOG to display information, the newline character is not added automatically to the RTE_ETHDEV_LOG, therefore, the newline character must be explicitly added to the log string. Fixes: 5514319e7b43 ("telemetry: fix passing full params string to comma

[PATCH v2 4/5] ethdev: support xstats reset telemetry command

2023-01-11 Thread Chengwen Feng
The xstats reset is useful for debugging, so add it to the ethdev telemetry command lists. Signed-off-by: Chengwen Feng --- lib/ethdev/rte_ethdev.c | 29 + 1 file changed, 29 insertions(+) diff --git a/lib/ethdev/rte_ethdev.c b/lib/ethdev/rte_ethdev.c index 9eeae6102

[PATCH v2 1/5] dmadev: support stats reset telemetry command

2023-01-11 Thread Chengwen Feng
The stats reset is useful for debugging, so add it to the dmadev telemetry command lists. Signed-off-by: Chengwen Feng --- lib/dmadev/rte_dmadev.c | 46 + 1 file changed, 46 insertions(+) diff --git a/lib/dmadev/rte_dmadev.c b/lib/dmadev/rte_dmadev.c inde

[PATCH v2 5/5] ethdev: telemetry xstats support hide zero

2023-01-11 Thread Chengwen Feng
The number of xstats may be large, after the hide zero option is added, only non-zero values can be displayed. Signed-off-by: Chengwen Feng --- lib/ethdev/rte_ethdev.c | 28 ++-- 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/lib/ethdev/rte_ethdev.c b/lib/

Re: RFC abstracting atomics

2023-01-11 Thread Bruce Richardson
On Wed, Jan 11, 2023 at 11:23:07AM +0100, Morten Brørup wrote: > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > Sent: Wednesday, 11 January 2023 11.10 > > > > One additional point that just became clear to me when I started > > thinking > > about upping our DPDK C-standard-baseli

Re: [2nd Try]:Re: Traffic Management API Questions

2023-01-11 Thread Venky Venkatesh
Hi Jasvinder, Thanks for the detailed answers. Our need is to have shaping at the port level as well. I am trying to see what would be the way to accomplish this given the current limitations of the sched library implementation in this regard. I see 2 options: - The top level (i.e. port level)

Re: [PATCH V4 0/5] app/testpmd: support mulitple process attach and detach port

2023-01-11 Thread Ferruh Yigit
On 1/11/2023 10:27 AM, Ferruh Yigit wrote: > On 1/11/2023 12:53 AM, lihuisong (C) wrote: >> >> 在 2023/1/11 0:51, Ferruh Yigit 写道: >>> On 12/6/2022 9:26 AM, Huisong Li wrote: This patchset fix some bugs and support attaching and detaching port in primary and secondary. ---  

Re: [EXT] Re: [PATCH] net/cnxk: fix deadlock in security session creation

2023-01-11 Thread Jerin Jacob
On Thu, Jan 5, 2023 at 8:22 PM Nithin Kumar Dabilpuram wrote: > > > > -Original Message- > > From: Zhang, Fan > > Sent: Thursday, January 5, 2023 7:35 PM > > To: David Marchand ; dev@dpdk.org > > Cc: sta...@dpdk.org; Nithin Kumar Dabilpuram ; > > Kiran Kumar > > Kokkilagadda ; Sunil Kuma

Re: [PATCH V4 0/5] app/testpmd: support mulitple process attach and detach port

2023-01-11 Thread Ferruh Yigit
On 1/11/2023 12:53 AM, lihuisong (C) wrote: > > 在 2023/1/11 0:51, Ferruh Yigit 写道: >> On 12/6/2022 9:26 AM, Huisong Li wrote: >>> This patchset fix some bugs and support attaching and detaching port >>> in primary and secondary. >>> >>> --- >>>   -v4: fix a misspelling. >>>   -v3: >>>     1) merge

RE: RFC abstracting atomics

2023-01-11 Thread Morten Brørup
> From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Wednesday, 11 January 2023 11.10 > > One additional point that just became clear to me when I started > thinking > about upping our DPDK C-standard-baseline. We need to be careful what > we > are considering when we up our C base

  1   2   >