RE: [PATCH v10 00/14] net/cpfl: add hairpin queue support

2023-06-05 Thread Wu, Jingjing
> -Original Message- > From: Xing, Beilei > Sent: Tuesday, June 6, 2023 6:03 PM > To: Wu, Jingjing > Cc: dev@dpdk.org; Liu, Mingxia ; Xing, Beilei > > Subject: [PATCH v10 00/14] net/cpfl: add hairpin queue support > > From: Beilei Xing > > This patchset adds hairpin queue support.

Re: [PATCH v7 04/17] graph: add get/set graph worker model APIs

2023-06-05 Thread Jerin Jacob
On Tue, Jun 6, 2023 at 12:04 PM Yan, Zhirun wrote: > > > > > > > > > And change it to > > > > > > If (!graph_model_is_valid()) { > > > model = RTE_GRAPH_MODEL_DEFAULT; > > > > Since it returning from below, Do we need to update model? > > > No, no need to update it. I reset model here cause I wa

RE: [PATCH v7 04/17] graph: add get/set graph worker model APIs

2023-06-05 Thread Yan, Zhirun
> -Original Message- > From: Jerin Jacob > Sent: Tuesday, June 6, 2023 1:48 PM > To: Yan, Zhirun > Cc: dev@dpdk.org; jer...@marvell.com; kirankum...@marvell.com; > ndabilpu...@marvell.com; step...@networkplumber.org; > pbhagavat...@marvell.com; Liang, Cunming ; Wang, > Haiyue ; mattias.

RE: [PATCH v6 4/4] app/testpmd: add recycle mbufs engine

2023-06-05 Thread Feifei Wang
From: Константин Ананьев Sent: Monday, June 5, 2023 9:08 PM To: Feifei Wang ; Aman Singh ; Yuying Zhang Cc: dev@dpdk.org; nd ; Jerin Jacob ; Ruifeng Wang Subject: Re: [PATCH v6 4/4] app/testpmd: add recycle mbufs engine […] +static void +recycle_mbufs_stream_init(struct fwd_stream *fs) +{

Re: [PATCH v3] node: add ipv4 reassembly node

2023-06-05 Thread Nithin Dabilpuram
On Mon, Jun 5, 2023 at 4:57 PM wrote: > > From: Pavan Nikhilesh > > Add IPv4 reassembly node. > > Signed-off-by: Pavan Nikhilesh > --- > Depends-on: series-28278 > > v3 Changes: > - Actually include the changes that fix compilation. > v2 Changes: > - Fix compilation. > > doc/guides/prog_gui

[PATCH] net/cnxk: add atomic fc check in poll mode Tx path

2023-06-05 Thread Rahul Bhansali
Add a support of atomic fc check in poll mode Tx path. This atomic check is useful if multiple threads are using the same Tx queue. This will be enabled when Tx offload RTE_ETH_TX_OFFLOAD_MT_LOCKFREE is set. Signed-off-by: Rahul Bhansali --- drivers/net/cnxk/cn10k_ethdev.c | 3 ++ drivers/net/c

RE: [PATCH] net/ice: fix outer UDP checksum offload

2023-06-05 Thread Zhang, Qi Z
> -Original Message- > From: Zeng, ZhichaoX > Sent: Friday, June 2, 2023 9:43 AM > To: dev@dpdk.org > Cc: sta...@dpdk.org; Zhang, Qi Z ; Tang, Zhijun > ; Zeng, ZhichaoX ; Yang, > Qiming ; Xing, Beilei > Subject: [PATCH] net/ice: fix outer UDP checksum offload > > Currently, when deali

Re: [PATCH v7 15/17] examples/l3fwd-graph: introduce multicore dispatch worker model

2023-06-05 Thread Jerin Jacob
On Tue, Jun 6, 2023 at 10:41 AM Yan, Zhirun wrote: > > > > > -Original Message- > > From: Jerin Jacob > > Sent: Monday, June 5, 2023 9:42 PM > > To: Yan, Zhirun > > Cc: dev@dpdk.org; jer...@marvell.com; kirankum...@marvell.com; > > ndabilpu...@marvell.com; step...@networkplumber.org; > >

Re: [PATCH v7 04/17] graph: add get/set graph worker model APIs

2023-06-05 Thread Jerin Jacob
On Tue, Jun 6, 2023 at 10:00 AM Yan, Zhirun wrote: > > > > > -Original Message- > > From: Jerin Jacob > > Sent: Monday, June 5, 2023 8:38 PM > > To: Yan, Zhirun > > Cc: dev@dpdk.org; jer...@marvell.com; kirankum...@marvell.com; > > ndabilpu...@marvell.com; step...@networkplumber.org; > >

RE: [PATCH v4 0/3] Enable iavf Rx Timestamp offload on vector path

2023-06-05 Thread Zhang, Qi Z
> -Original Message- > From: Zeng, ZhichaoX > Sent: Monday, May 29, 2023 10:23 AM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; Tang, Yaqi ; > Zeng, ZhichaoX > Subject: [PATCH v4 0/3] Enable iavf Rx Timestamp offload on vector path > > Enable timestamp offload with the command '--enable-rx-t

RE: [PATCH v3] net/iavf: fix iavf query stats in intr thread

2023-06-05 Thread Jiale, SongX
> -Original Message- > From: Kaiwen Deng > Sent: Wednesday, March 22, 2023 3:26 PM > To: dev@dpdk.org > Cc: sta...@dpdk.org; Yang, Qiming ; Zhou, YidingX > ; Deng, KaiwenX ; > Chas Williams ; Min Hu (Connor) ; > Wu, Jingjing ; Xing, Beilei ; > Mike Pattrick ; Zhang, Qi Z ; > Doherty, Decla

RE: [PATCH] net/i40e: updated 23.03 recommended matching list

2023-06-05 Thread Zhang, Qi Z
> -Original Message- > From: Yang, Qiming > Sent: Wednesday, April 19, 2023 10:34 AM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; Yang, Qiming > > Subject: [PATCH] net/i40e: updated 23.03 recommended matching list > > Signed-off-by: Qiming Yang > --- > doc/guides/nics/i40e.rst | 4 >

RE: [PATCH v7 15/17] examples/l3fwd-graph: introduce multicore dispatch worker model

2023-06-05 Thread Yan, Zhirun
> -Original Message- > From: Jerin Jacob > Sent: Monday, June 5, 2023 9:42 PM > To: Yan, Zhirun > Cc: dev@dpdk.org; jer...@marvell.com; kirankum...@marvell.com; > ndabilpu...@marvell.com; step...@networkplumber.org; > pbhagavat...@marvell.com; Liang, Cunming ; Wang, > Haiyue ; mattias.r

[PATCH] test/security: fix event inline IPsec reassembly tests

2023-06-05 Thread Rahul Bhansali
Event Inline IPsec test suite stuck for reassembly tests because corresponding Tx and Rx calls are not done and reassembly flags were not set during event dev initialization. Fixes: 108646569579 ("test/security: add event inline IPsec cases") Signed-off-by: Rahul Bhansali --- app/test/test_secu

RE: [PATCH v3] gro : ipv6 changes to support GRO for TCP/ipv6

2023-06-05 Thread Hu, Jiayu
Hi Kumara, The v3 patch is not complete and it seems to be a patch based on v2. In addition, did you test the code for tcp4 and tcp6 after your change? For others, please see replies inline. Thanks, Jiayu > -Original Message- > From: Kumara Parameshwaran > Sent: Friday, June 2, 2023 2:

RE: [PATCH v7 09/17] graph: add structure for stream moving between cores

2023-06-05 Thread Yan, Zhirun
> -Original Message- > From: Jerin Jacob > Sent: Monday, June 5, 2023 8:47 PM > To: Yan, Zhirun > Cc: dev@dpdk.org; jer...@marvell.com; kirankum...@marvell.com; > ndabilpu...@marvell.com; step...@networkplumber.org; > pbhagavat...@marvell.com; Liang, Cunming ; Wang, > Haiyue ; mattias.r

RE: [PATCH v7 06/17] graph: introduce graph bind unbind API

2023-06-05 Thread Yan, Zhirun
> -Original Message- > From: Jerin Jacob > Sent: Monday, June 5, 2023 8:41 PM > To: Yan, Zhirun > Cc: dev@dpdk.org; jer...@marvell.com; kirankum...@marvell.com; > ndabilpu...@marvell.com; step...@networkplumber.org; > pbhagavat...@marvell.com; Liang, Cunming ; Wang, > Haiyue ; mattias.r

RE: [PATCH v7 04/17] graph: add get/set graph worker model APIs

2023-06-05 Thread Yan, Zhirun
> -Original Message- > From: Jerin Jacob > Sent: Monday, June 5, 2023 8:38 PM > To: Yan, Zhirun > Cc: dev@dpdk.org; jer...@marvell.com; kirankum...@marvell.com; > ndabilpu...@marvell.com; step...@networkplumber.org; > pbhagavat...@marvell.com; Liang, Cunming ; Wang, > Haiyue ; mattias.r

RE: [PATCH v6 2/4] net/i40e: implement mbufs recycle mode

2023-06-05 Thread Feifei Wang
From: Константин Ананьев Sent: Monday, June 5, 2023 9:03 PM To: Feifei Wang ; Yuying Zhang ; Beilei Xing Cc: dev@dpdk.org; nd ; Honnappa Nagarahalli ; Ruifeng Wang Subject: Re: [PATCH v6 2/4] net/i40e: implement mbufs recycle mode Define specific function implementation for i40e driver.

RE: [PATCH v6 1/4] ethdev: add API for mbufs recycle mode

2023-06-05 Thread Feifei Wang
Thanks for the comments. From: Константин Ананьев Sent: Monday, June 5, 2023 8:54 PM To: Feifei Wang ; tho...@monjalon.net; Ferruh Yigit ; Andrew Rybchenko Cc: dev@dpdk.org; nd ; Honnappa Nagarahalli ; Ruifeng Wang Subject: Re: [PATCH v6 1/4] ethdev: add API for mbufs recycle mode Hi Feife

[PATCH v10 14/14] doc: update the doc of CPFL PMD

2023-06-05 Thread beilei . xing
From: Beilei Xing Update cpfl.rst to clarify hairpin support. Signed-off-by: Beilei Xing --- doc/guides/nics/cpfl.rst | 7 +++ 1 file changed, 7 insertions(+) diff --git a/doc/guides/nics/cpfl.rst b/doc/guides/nics/cpfl.rst index d25db088eb..8d5c3082e4 100644 --- a/doc/guides/nics/cpfl.rs

[PATCH v10 13/14] net/cpfl: support hairpin bind/unbind

2023-06-05 Thread beilei . xing
From: Beilei Xing This patch supports hairpin_bind/unbind ops. Signed-off-by: Xiao Wang Signed-off-by: Beilei Xing --- drivers/net/cpfl/cpfl_ethdev.c | 137 + 1 file changed, 137 insertions(+) diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl/cpfl

[PATCH v10 12/14] net/cpfl: support peer ports get

2023-06-05 Thread beilei . xing
From: Beilei Xing This patch supports get hairpin peer ports. Signed-off-by: Xiao Wang Signed-off-by: Beilei Xing --- drivers/net/cpfl/cpfl_ethdev.c | 41 ++ 1 file changed, 41 insertions(+) diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl/cpfl_e

[PATCH v10 11/14] net/cpfl: enable write back based on ITR expire

2023-06-05 Thread beilei . xing
From: Beilei Xing This patch enables write back based on ITR expire (WR_ON_ITR) for hairpin queues. Signed-off-by: Mingxia Liu Signed-off-by: Beilei Xing --- drivers/net/cpfl/cpfl_ethdev.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/drivers/net/cpfl/cpfl_

[PATCH v10 10/14] common/idpf: add irq map config API

2023-06-05 Thread beilei . xing
From: Beilei Xing This patch supports idpf_vport_irq_map_config_by_qids API. Signed-off-by: Mingxia Liu Signed-off-by: Beilei Xing --- drivers/common/idpf/idpf_common_device.c | 75 drivers/common/idpf/idpf_common_device.h | 4 ++ drivers/common/idpf/version.map

[PATCH v10 09/14] net/cpfl: support hairpin queue start/stop

2023-06-05 Thread beilei . xing
From: Beilei Xing This patch supports Rx/Tx hairpin queue start/stop. Signed-off-by: Xiao Wang Signed-off-by: Mingxia Liu Signed-off-by: Beilei Xing --- drivers/net/cpfl/cpfl_ethdev.c | 46 + drivers/net/cpfl/cpfl_rxtx.c | 164 + drivers/net/cpfl/cp

[PATCH v10 08/14] common/idpf: add switch queue API

2023-06-05 Thread beilei . xing
From: Beilei Xing This patch adds idpf_vc_ena_dis_one_queue API. Signed-off-by: Mingxia Liu Signed-off-by: Beilei Xing --- drivers/common/idpf/idpf_common_virtchnl.c | 2 +- drivers/common/idpf/idpf_common_virtchnl.h | 3 +++ drivers/common/idpf/version.map| 1 + 3 files changed,

[PATCH v10 07/14] net/cpfl: support hairpin queue configuration

2023-06-05 Thread beilei . xing
From: Beilei Xing This patch supports Rx/Tx hairpin queue configuration. Signed-off-by: Xiao Wang Signed-off-by: Mingxia Liu Signed-off-by: Beilei Xing --- drivers/net/cpfl/cpfl_ethdev.c | 136 +++-- drivers/net/cpfl/cpfl_rxtx.c | 88 + driv

[PATCH v10 06/14] common/idpf: add queue config API

2023-06-05 Thread beilei . xing
From: Beilei Xing This patch supports Rx/Tx queue configuration APIs. Signed-off-by: Mingxia Liu Signed-off-by: Beilei Xing --- drivers/common/idpf/idpf_common_virtchnl.c | 70 ++ drivers/common/idpf/idpf_common_virtchnl.h | 6 ++ drivers/common/idpf/version.map

[PATCH v10 05/14] net/cpfl: support hairpin queue setup and release

2023-06-05 Thread beilei . xing
From: Beilei Xing Support hairpin Rx/Tx queue setup and release. Signed-off-by: Xiao Wang Signed-off-by: Mingxia Liu Signed-off-by: Beilei Xing --- drivers/net/cpfl/cpfl_ethdev.c | 6 + drivers/net/cpfl/cpfl_ethdev.h | 11 + drivers/net/cpfl/cpfl_rxtx.c| 364

[PATCH v10 04/14] net/cpfl: support hairpin queue capbility get

2023-06-05 Thread beilei . xing
From: Beilei Xing This patch adds hairpin_cap_get ops support. Signed-off-by: Xiao Wang Signed-off-by: Mingxia Liu Signed-off-by: Beilei Xing --- drivers/net/cpfl/cpfl_ethdev.c | 18 ++ drivers/net/cpfl/cpfl_rxtx.h | 3 +++ 2 files changed, 21 insertions(+) diff --git a/d

[PATCH v10 03/14] net/cpfl: add haipin queue group during vport init

2023-06-05 Thread beilei . xing
From: Beilei Xing This patch adds haipin queue group during vport init. Signed-off-by: Mingxia Liu Signed-off-by: Beilei Xing --- drivers/net/cpfl/cpfl_ethdev.c | 135 + drivers/net/cpfl/cpfl_ethdev.h | 18 + drivers/net/cpfl/cpfl_rxtx.h | 7 ++ 3 file

[PATCH v10 02/14] common/idpf: support queue groups add/delete

2023-06-05 Thread beilei . xing
From: Beilei Xing This patch adds queue group add/delete virtual channel support. Signed-off-by: Mingxia Liu Signed-off-by: Beilei Xing --- drivers/common/idpf/idpf_common_virtchnl.c | 66 ++ drivers/common/idpf/idpf_common_virtchnl.h | 9 +++ drivers/common/idpf/version.

[PATCH v10 01/14] net/cpfl: refine structures

2023-06-05 Thread beilei . xing
From: Beilei Xing This patch refines some structures to support hairpin queue, cpfl_rx_queue/cpfl_tx_queue/cpfl_vport. Signed-off-by: Mingxia Liu Signed-off-by: Beilei Xing --- drivers/net/cpfl/cpfl_ethdev.c | 85 +++- drivers/net/cpfl/cpfl_ethdev.h | 6 +- driver

[PATCH v10 00/14] net/cpfl: add hairpin queue support

2023-06-05 Thread beilei . xing
From: Beilei Xing This patchset adds hairpin queue support. v2 changes: - change hairpin rx queus configuration sequence. - code refine. v3 changes: - Refine the patchset based on the latest code. v4 change: - Remove hairpin rx buffer queue's sw_ring. - Change hairpin rx queus configurati

RE: [PATCH v3 0/2] enhance bonding PMD to support the LACP negotiation

2023-06-05 Thread Chaoyong He
A gentle ping on this series. > -Original Message- > From: Chaoyong He > Sent: Friday, May 12, 2023 9:51 AM > To: dev@dpdk.org > Cc: oss-drivers ; Niklas Soderlund > > Subject: RE: [PATCH v3 0/2] enhance bonding PMD to support the LACP > negotiation > > A gentle ping on this series. > >

Re: Getting network port ID by ethdev port ID

2023-06-05 Thread Stephen Hemminger
On Tue, 6 Jun 2023 00:30:18 +0400 (+04) Ivan Malov wrote: > Hi Stephen, Thomas, > > Thanks for responding. PSB. > > On Mon, 5 Jun 2023, Stephen Hemminger wrote: > > > On Mon, 05 Jun 2023 18:03:14 +0200 > > Thomas Monjalon wrote: > > > >> 05/06/2023 16:29, Ivan Malov: > >>> Sorry, I missed

Re: Getting network port ID by ethdev port ID

2023-06-05 Thread Ivan Malov
Hi Stephen, Thomas, Thanks for responding. PSB. On Mon, 5 Jun 2023, Stephen Hemminger wrote: On Mon, 05 Jun 2023 18:03:14 +0200 Thomas Monjalon wrote: 05/06/2023 16:29, Ivan Malov: Sorry, I missed your question. See below. On Mon, 5 Jun 2023, Thomas Monjalon wrote: 05/06/2023 16:03, Iva

RE: [PATCH v1 1/1] doc: announce change in bbdev api related to operation extension

2023-06-05 Thread Chautru, Nicolas
Hi Maxime, So basically the fft structure change is okay since these are still marked as rte_experimental (it got reported in the ABI report though). Wrt the MLD functions: these are new into the related serie but still the break the ABI since the struct rte_bbdev includes these functions hen

Re: [PATCH v1 1/1] bbdev: extend range of allocation function

2023-06-05 Thread Maxime Coquelin
On 6/2/23 16:17, Chautru, Nicolas wrote: Hi Maxime, I don't think it does since no offset position change for the symbol. Also this only extends the type, so still fine if using uin16_t from application. I did not receive an email from CICD related to ABI change when pushing this (unlike the

Re: [PATCH v1 1/1] doc: announce change in bbdev api related to operation extension

2023-06-05 Thread Maxime Coquelin
On 5/26/23 05:47, Stephen Hemminger wrote: On Fri, 26 May 2023 02:11:32 + Nicolas Chautru wrote: + +* bbdev: Will extend the API to support the new operation type ``RTE_BBDEV_OP_MLDTS`` as per + this `v1 `. This will also intr

Re: Getting network port ID by ethdev port ID

2023-06-05 Thread Stephen Hemminger
On Mon, 05 Jun 2023 18:03:14 +0200 Thomas Monjalon wrote: > 05/06/2023 16:29, Ivan Malov: > > Sorry, I missed your question. See below. > > > > On Mon, 5 Jun 2023, Thomas Monjalon wrote: > > > > > 05/06/2023 16:03, Ivan Malov: > > >> Hi Thomas, > > >> > > >> Thanks for responding. Please se

Re: [PATCH V8] lib: set/get max memzone segments

2023-06-05 Thread Thomas Monjalon
05/06/2023 12:50, Ophir Munk: > Currently, the max memzones count constat (RTE_MAX_MEMZONE) is used to > decide how many memzones a DPDK application can have. This value could > technically be changed by manually editing `rte_config.h` before > compilation, but if DPDK is already compiled, that opt

Re: Generic flow string parser

2023-06-05 Thread kumaraparameshwaran rathinavel
On Sun, Apr 30, 2023 at 3:10 AM Thomas Monjalon wrote: > This thread is an API suggestion, it should be discussed in > the developer mailing list (did the Cc here). > > 29/04/2023 16:23, Cliff Burdick: > > > Would rather the flow parser was rewritten as well. Doing open coded > > > parser is much

Re: [PATCH v3 3/3] examples/l3fwd-graph: add IPv6 lookup and rewrite support

2023-06-05 Thread Nithin Dabilpuram
Acked-by: Nithin Dabilpuram On Wed, May 31, 2023 at 5:08 PM Amit Prakash Shukla wrote: > > From: Sunil Kumar Kori > > Similar to ipv4, to support IPv6 lookup and rewrite node > routes and rewrite data needs to be added. > > Patch adds routes for ipv6 to validate ip6_lookup node > and rewrite d

Re: [PATCH v3 2/3] lib: add IPv6 rewrite node

2023-06-05 Thread Nithin Dabilpuram
Acked-by: Nithin Dabilpuram On Wed, May 31, 2023 at 5:08 PM Amit Prakash Shukla wrote: > > Similar to IPv4 rewrite node, patch adds IPv6 rewrite node. > > Signed-off-by: Amit Prakash Shukla > --- > v2: > - Performance related changes > > v3: > - Removing redundant dynamic variable > > doc/guid

Re: [PATCH] eal: fix calling cleanup function twice

2023-06-05 Thread Thomas Monjalon
01/06/2023 18:08, Bruce Richardson: > If an app calls rte_eal_cleanup() inside it's own code, then cleanup > could be called a second time automatically when the app exits. While > mostly harmless, we can avoid any potential issues by guaranteeing that > cleanup only gets called once, in the same w

Re: [PATCH 0/4] Heap library and test case changes

2023-06-05 Thread Thomas Monjalon
19/05/2023 06:29, Ruifeng Wang: > This series fixed a heap free list management issue which was captured > by unit test failure. > It also includes fixes of the unit test. > > Ruifeng Wang (4): > eal: fix list index for 256 byte element > eal: simplify check condition > test/malloc: fix miss

Re: Getting network port ID by ethdev port ID

2023-06-05 Thread Thomas Monjalon
05/06/2023 16:29, Ivan Malov: > Sorry, I missed your question. See below. > > On Mon, 5 Jun 2023, Thomas Monjalon wrote: > > > 05/06/2023 16:03, Ivan Malov: > >> Hi Thomas, > >> > >> Thanks for responding. Please see below. > >> > >> On Mon, 5 Jun 2023, Thomas Monjalon wrote: > >> > >>> Hello, >

Re: [dpdk-dev] [PATCH] net/cnxk: add spec for SPI to SA action for cnxk

2023-06-05 Thread Jerin Jacob
On Mon, Jun 5, 2023 at 1:10 PM wrote: > > From: Kiran Kumar K > > Adding spec for MS_28_25 Flow action for cnxk device. > > Signed-off-by: Kiran Kumar K > Reviewed-by: Nithin Kumar Dabilpuram Updated the git commit as follows and applied to dpdk-next-net-mrvl/for-next-net. Thanks net/cnxk

[PATCH v2] net/vmxnet3: fix return code in initializing

2023-06-05 Thread Kaijun Zeng
Improve error handling Fixes: dfaff37fc46d ("vmxnet3: import new vmxnet3 poll mode driver implementation") Cc: sta...@dpdk.org Signed-off-by: Kaijun Zeng --- drivers/net/vmxnet3/vmxnet3_rxtx.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/drivers/net/vmxnet3/

Error while installing DPDK libraries.

2023-06-05 Thread Nikhil Kapoor
Dear Team, We are facing issues in installing DPDK packages in our linux server. Please find attached error for four reference. -- With Regards, Nikhil Kapoor Senior System Engineer Pinnacle Digital Analytics (P) Ltd. New Delhi, India P +91 11 41670403 | M +91 7838345731 www.pinnacledigital.i

VPP crash observed in DPDK for MLX5 driver

2023-06-05 Thread Chinmaya Agarwal
Hi, We are using VPP with DPDK and MLX5 driver and we see random VPP crash when the traffic is flowing through the interface with below dump. May 28 21:53:25 j3da1vmstm01 vnet[2280]: received signal SIGSEGV, PC 0x7f45eab17b5a, faulting address 0x0 May 28 21:53:25 j3da1vmstm01 vnet[2280]: #0 0x

Re: [PATCH v3] eal: add tracepoints to track lcores and services

2023-06-05 Thread Arnaud Fiorini
On 2023-05-12 10:30 a.m., Arnaud Fiorini wrote: The tracepoints added are used to track lcore role and status, as well as service mapping and service runstates. These tracepoints are then used in analyses in Trace Compass. Signed-off-by: Arnaud Fiorini --- .mailmap

Re: Getting network port ID by ethdev port ID

2023-06-05 Thread Ivan Malov
Sorry, I missed your question. See below. On Mon, 5 Jun 2023, Thomas Monjalon wrote: 05/06/2023 16:03, Ivan Malov: Hi Thomas, Thanks for responding. Please see below. On Mon, 5 Jun 2023, Thomas Monjalon wrote: Hello, 05/06/2023 15:09, Ivan Malov: Dear community, Is there any means in DP

Re: Getting network port ID by ethdev port ID

2023-06-05 Thread Ivan Malov
On Mon, 5 Jun 2023, Thomas Monjalon wrote: 05/06/2023 16:03, Ivan Malov: Hi Thomas, Thanks for responding. Please see below. On Mon, 5 Jun 2023, Thomas Monjalon wrote: Hello, 05/06/2023 15:09, Ivan Malov: Dear community, Is there any means in DPDK to discover relationship between network

Re: Getting network port ID by ethdev port ID

2023-06-05 Thread Thomas Monjalon
05/06/2023 16:03, Ivan Malov: > Hi Thomas, > > Thanks for responding. Please see below. > > On Mon, 5 Jun 2023, Thomas Monjalon wrote: > > > Hello, > > > > 05/06/2023 15:09, Ivan Malov: > >> Dear community, > >> > >> Is there any means in DPDK to discover relationship between > >> network/physic

Re: Getting network port ID by ethdev port ID

2023-06-05 Thread Ivan Malov
Hi Thomas, Thanks for responding. Please see below. On Mon, 5 Jun 2023, Thomas Monjalon wrote: Hello, 05/06/2023 15:09, Ivan Malov: Dear community, Is there any means in DPDK to discover relationship between network/physical ports of the given adapter/board and etdevs deployed in DPDK appli

Re: [PATCH v7 15/17] examples/l3fwd-graph: introduce multicore dispatch worker model

2023-06-05 Thread Jerin Jacob
On Mon, Jun 5, 2023 at 4:57 PM Zhirun Yan wrote: > > Add new parameter "model" to choose mcore dispatch or rtc model. > And in dispatch model, the node will affinity to worker core successively. > > Note: > RTE_GRAPH_MODEL_SELECT is set to GRAPH_MODEL_RTC by default. Must set > model the same as R

Re: [PATCH v12 10/22] ring: convert RTE_LOGTYPE_RING to dynamic type

2023-06-05 Thread Константин Ананьев
   The logtype for ring only used in library.Signed-off-by: Stephen Hemminger --- lib/eal/common/eal_common_log.c | 1 - lib/eal/include/rte_log.h | 2 +- lib/ring/rte_ring.c | 3 +++ 3 files changed, 4 insertions(+), 2 deletions(-)diff --git a/lib/eal/common/eal_common_log

Re: Getting network port ID by ethdev port ID

2023-06-05 Thread Thomas Monjalon
Hello, 05/06/2023 15:09, Ivan Malov: > Dear community, > > Is there any means in DPDK to discover relationship between > network/physical ports of the given adapter/board and > etdevs deployed in DPDK application on top of it? > > For example, in Linux, there are facilities like > > > /sys/clas

Re: [PATCH v12 06/22] acl: convert RTE_LOGTYPE_ACL to dynamic type

2023-06-05 Thread Константин Ананьев
  Get rid of RTE_LOGTYPE_ACL and RTE_LOGTYPE_MALLOC.For ACL library use a dynamic type.The one message using RTE_LOGTYPE_MALLOC should have beenunder the ACL logtype anyway.The test code should not have been using fixed log typeso just change that to stderr.Signed-off-by: Stephen Hemminger

[PATCH v6 4/4] bus/cdx: support plug unplug and dev iterator

2023-06-05 Thread Nipun Gupta
This change adds support for plugging and unplugging CDX devices on AMD CDX bus. Also, CDX dev iterator support has been added for the CDX bus. Signed-off-by: Nipun Gupta Acked-by: Ferruh Yigit --- drivers/bus/cdx/bus_cdx_driver.h | 1 + drivers/bus/cdx/cdx.c| 122

[PATCH v6 3/4] bus/cdx: add support for MSI

2023-06-05 Thread Nipun Gupta
MSI's are exposed to the devices using VFIO (vfio-cdx). This patch uses the same to add support for MSI for the devices on the cdx bus. Signed-off-by: Nipun Gupta Acked-by: Ferruh Yigit --- drivers/bus/cdx/bus_cdx_driver.h | 25 + drivers/bus/cdx/cdx.c| 11 ++ drivers/bus/cdx/

[PATCH v6 2/4] bus/cdx: add DMA map and unmap support

2023-06-05 Thread Nipun Gupta
AMD CDX bus can use VFIO interface for mapping and unmapping of DMA addresses in the IOMMU. This change adds the callback support for map and unmap APIs as well as fetching the IOMMU class. Signed-off-by: Nipun Gupta Acked-by: Ferruh Yigit --- drivers/bus/cdx/cdx.c | 30

[PATCH v6 1/4] bus/cdx: introduce AMD CDX bus

2023-06-05 Thread Nipun Gupta
AMD CDX bus supports multiple type of devices, which can be exposed to user-space via vfio-cdx. vfio-cdx provides the MMIO IO_MEMORY regions as well as the DMA interface for the device (IOMMU). This support aims to enable the DPDK to support the cdx devices in user-space using VFIO interface. Si

[PATCH v6 0/4] Support AMD CDX bus

2023-06-05 Thread Nipun Gupta
The CDX devices are memory mapped on system bus for embedded CPUs. It uses sysfs interface and the vfio-cdx driver to discover and initialize the CDX devices. The CDX bus and VFIO support is available at Xilinx/AMD open source tree: https://github.com/Xilinx/linux-xlnx (drivers/cdx/ and drivers/v

Re: [PATCH 4/5] app/proc-info: show RSS types with strings

2023-06-05 Thread Dongdong Liu
Hi Ferruh On 2023/6/3 4:22, Ferruh Yigit wrote: On 3/15/2023 11:00 AM, Dongdong Liu wrote: From: Jie Hai show RSS types details and adjust RSS info display format as following: - RSS info -- hf: ipv4 ipv4-frag ipv4-other ipv6 ipv6-frag ipv6-other -

Getting network port ID by ethdev port ID

2023-06-05 Thread Ivan Malov
Dear community, Is there any means in DPDK to discover relationship between network/physical ports of the given adapter/board and etdevs deployed in DPDK application on top of it? For example, in Linux, there are facilities like /sys/class/net//phys_port_name /sys/class/net//dev_port and d

Re: [PATCH v6 4/4] app/testpmd: add recycle mbufs engine

2023-06-05 Thread Константин Ананьев
   Add recycle mbufs engine for testpmd. This engine forward pkts withI/O forward mode. But enable mbufs recycle feature to recycle usedtxq mbufs for rxq mbuf ring, which can bypass mempool path and saveCPU cycles.Suggested-by: Jerin Jacob Signed-off-by: Feifei Wang

Re: [PATCH 3/5] app/proc-info: fix never show RSS info

2023-06-05 Thread Dongdong Liu
Hi Stephen On 2023/6/3 5:19, Stephen Hemminger wrote: On Wed, 15 Mar 2023 19:00:31 +0800 Dongdong Liu wrote: + rss_key = rte_malloc(NULL, + dev_info.hash_key_size * sizeof(uint8_t), 0); + if (rss_key == NULL) + return;

Re: [PATCH 3/5] app/proc-info: fix never show RSS info

2023-06-05 Thread Dongdong Liu
Hi Ferruh On 2023/6/3 4:19, Ferruh Yigit wrote: On 3/15/2023 11:00 AM, Dongdong Liu wrote: From: Jie Hai Command show-port shows rss info only if rss_conf.rss_key is not null but it will never be true. This patch allocates memory for rss_conf.rss_key and makes it possible to show rss info.

Re: [PATCH v6 2/4] net/i40e: implement mbufs recycle mode

2023-06-05 Thread Константин Ананьев
   Define specific function implementation for i40e driver.Currently, mbufs recycle mode can support 128bitvector path and avx2 path. And can be enabled both infast free and no fast free mode.Suggested-by: Honnappa Nagarahalli Signed-off-by: Feifei Wang

Re: [PATCH v6 1/4] ethdev: add API for mbufs recycle mode

2023-06-05 Thread Константин Ананьев
  Hi Feifei, few more comments from me, see below.Add 'rte_eth_recycle_rx_queue_info_get' and 'rte_eth_recycle_mbufs'APIs to recycle used mbufs from a transmit queue of an Ethernet device,and move these mbufs into a mbuf ring for a receive queue of an Ethernetdevice. This can bypass mempool 'put/ge

Re: [PATCH v3 3/3] node/ethdev_rx: remove hardcoded node next details

2023-06-05 Thread Nithin Dabilpuram
Acked-by: Nithin Dabilpuram On Fri, Jun 2, 2023 at 9:52 PM Vamsi Attunuru wrote: > > For ethdev_rx node, node_next details can be populated > during node cloning time and same gets assigned to > node context structure during node initialization. > > Patch removes overriding node_next details in n

Re: [PATCH v3 2/3] node/kernel_rx: support receiving packets from kernel

2023-06-05 Thread Nithin Dabilpuram
Acked-by: Nithin Dabilpuram On Fri, Jun 2, 2023 at 9:52 PM Vamsi Attunuru wrote: > > Adds a node to receive packets from kernel over > a raw socket. > > Signed-off-by: Vamsi Attunuru > --- > doc/guides/prog_guide/graph_lib.rst | 8 + > lib/node/kernel_rx.c| 276 ++

Re: [PATCH v7 09/17] graph: add structure for stream moving between cores

2023-06-05 Thread Jerin Jacob
On Mon, Jun 5, 2023 at 4:56 PM Zhirun Yan wrote: > > Add graph_mcore_dispatch_wq_node to hold graph scheduling workqueue > node. > > Signed-off-by: Haiyue Wang > Signed-off-by: Cunming Liang > Signed-off-by: Zhirun Yan > --- > lib/graph/graph.c | 2 ++ > lib/graph/graph_popu

Re: [PATCH v3 1/3] node/kernel_tx: support packet transmit to kernel

2023-06-05 Thread Nithin Dabilpuram
Acked-by: Nithin Dabilpuram On Fri, Jun 2, 2023 at 9:52 PM Vamsi Attunuru wrote: > > Patch adds a node to transmit the packets to kernel over > a raw socket. > > Signed-off-by: Vamsi Attunuru > --- > doc/guides/prog_guide/graph_lib.rst | 9 ++ > lib/node/kernel_tx.c| 122

Re: [PATCH v7 06/17] graph: introduce graph bind unbind API

2023-06-05 Thread Jerin Jacob
On Mon, Jun 5, 2023 at 4:56 PM Zhirun Yan wrote: > > Add lcore_id for graph to hold affinity core id where graph would run on. > Add bind/unbind API to set/unset graph affinity attribute. lcore_id will > be set as MAX by default, it means not enable this attribute. > > Signed-off-by: Haiyue Wang

Re: [PATCH v7 04/17] graph: add get/set graph worker model APIs

2023-06-05 Thread Jerin Jacob
On Mon, Jun 5, 2023 at 4:56 PM Zhirun Yan wrote: > > Add new get/set APIs to configure graph worker model which is used to > determine which model will be chosen. > > Signed-off-by: Haiyue Wang > Signed-off-by: Cunming Liang > Signed-off-by: Zhirun Yan > --- > lib/graph/meson.build

Re: [PATCH 1/5] ethdev: support setting and querying rss algorithm

2023-06-05 Thread Dongdong Liu
Hi Ferruh On 2023/6/3 4:19, Ferruh Yigit wrote: On 3/16/2023 1:16 PM, Dongdong Liu wrote: Hi Thomas On 2023/3/15 21:43, Thomas Monjalon wrote: 15/03/2023 12:00, Dongdong Liu: From: Jie Hai --- a/doc/guides/rel_notes/release_23_03.rst +++ b/doc/guides/rel_notes/release_23_03.rst -* No ABI cha

[PATCH v2] net/cnxk: add support for reassembly of multi-seg pkts

2023-06-05 Thread Nithin Dabilpuram
Add support for HW reassembly of multi-seg pkts. Also optimize the code for normal reassembly path. Signed-off-by: Nithin Dabilpuram --- drivers/event/cnxk/cn10k_worker.h | 21 +- drivers/net/cnxk/cn10k_rx.h | 714 +++--- 2 files changed, 375 insertions(+), 360 del

[PATCH] net/cnxk: add support for reassembly of multi-seg pkts

2023-06-05 Thread Nithin Dabilpuram
Add support for HW reassembly of multi-seg pkts. Also optimize the code for normal reassembly path. Change-Id: I1ea3d04e4734eacc395a6f61560fc400882c0afc Signed-off-by: Nithin Dabilpuram --- drivers/event/cnxk/cn10k_worker.h | 21 +- drivers/net/cnxk/cn10k_rx.h | 714 +++---

[PATCH v7 17/17] doc: update multicore dispatch model in graph guides

2023-06-05 Thread Zhirun Yan
Update graph documentation to introduce new multicore dispatch model. Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan --- doc/guides/prog_guide/graph_lib.rst | 60 +++-- 1 file changed, 56 insertions(+), 4 deletions(-) diff --git a/doc

[PATCH v7 16/17] test/graph: add functional tests for mcore dispatch model

2023-06-05 Thread Zhirun Yan
Add functional test for mcore dispatch model including graph clone, graph model set/get, node worker affinity, graph worker binding/unbinding. Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan --- app/test/test_graph.c | 113 +

[PATCH v7 15/17] examples/l3fwd-graph: introduce multicore dispatch worker model

2023-06-05 Thread Zhirun Yan
Add new parameter "model" to choose mcore dispatch or rtc model. And in dispatch model, the node will affinity to worker core successively. Note: RTE_GRAPH_MODEL_SELECT is set to GRAPH_MODEL_RTC by default. Must set model the same as RTE_GRAPH_MODEL_SELECT If set it as rtc or mcore dispatch explic

[PATCH v7 14/17] graph: add stats for cross-core dispatching

2023-06-05 Thread Zhirun Yan
Add stats for cross-core dispatching scheduler if stats collection is enabled. Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan --- lib/graph/graph_debug.c| 6 ++ lib/graph/graph_stats.c| 74 +++--- lib/g

[PATCH v7 13/17] graph: enable graph multicore dispatch scheduler model

2023-06-05 Thread Zhirun Yan
This patch enables to chose new scheduler model. Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan --- lib/graph/rte_graph_worker.h | 12 1 file changed, 12 insertions(+) diff --git a/lib/graph/rte_graph_worker.h b/lib/graph/rte_graph_worker.h inde

[PATCH v3] node: add ipv4 reassembly node

2023-06-05 Thread pbhagavatula
From: Pavan Nikhilesh Add IPv4 reassembly node. Signed-off-by: Pavan Nikhilesh --- Depends-on: series-28278 v3 Changes: - Actually include the changes that fix compilation. v2 Changes: - Fix compilation. doc/guides/prog_guide/graph_lib.rst | 8 ++ lib/node/ethdev_rx.c|

[PATCH v7 12/17] graph: introduce graph walk by cross-core dispatch

2023-06-05 Thread Zhirun Yan
This patch introduces the task scheduler mechanism to enable dispatching tasks to another worker cores. Currently, there is only a local work queue for one graph to walk. We introduce a scheduler worker queue in each worker core for dispatching tasks. It will perform the walk on scheduler work queu

[PATCH v7 11/17] graph: enable create and destroy graph scheduling workqueue

2023-06-05 Thread Zhirun Yan
This patch enables to create and destroy scheduling workqueue into common graph operations. Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan --- lib/graph/graph.c | 9 + 1 file changed, 9 insertions(+) diff --git a/lib/graph/graph.c b/lib/graph/graph.c

[PATCH v7 10/17] graph: introduce stream moving cross cores

2023-06-05 Thread Zhirun Yan
This patch introduces key functions to allow a worker thread to enable enqueue and move streams of objects to the next nodes over different cores for mcore dispatch model. Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan --- lib/graph/graph.c

[PATCH v7 09/17] graph: add structure for stream moving between cores

2023-06-05 Thread Zhirun Yan
Add graph_mcore_dispatch_wq_node to hold graph scheduling workqueue node. Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan --- lib/graph/graph.c | 2 ++ lib/graph/graph_populate.c | 1 + lib/graph/graph_private.h | 12

[PATCH v7 08/17] graph: introduce graph clone API for other worker core

2023-06-05 Thread Zhirun Yan
This patch adds graph API for supporting to clone the graph object for a specified worker core. The new graph will also clone all nodes. Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan --- lib/graph/graph.c | 86 +++

[PATCH v7 07/17] graph: move node clone name func into private as common

2023-06-05 Thread Zhirun Yan
Move clone_name() into graph_private.h as a common function for both node and graph to naming a new cloned object. Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan --- lib/graph/graph_private.h | 41 +++ lib/graph/node.c

[PATCH v7 06/17] graph: introduce graph bind unbind API

2023-06-05 Thread Zhirun Yan
Add lcore_id for graph to hold affinity core id where graph would run on. Add bind/unbind API to set/unset graph affinity attribute. lcore_id will be set as MAX by default, it means not enable this attribute. Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan ---

[PATCH v7 05/17] graph: introduce graph node core affinity API

2023-06-05 Thread Zhirun Yan
Add lcore_id for node to hold affinity core id and impl rte_graph_model_mcore_dispatch_lcore_affinity_set to set node affinity with specific lcore. Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan --- lib/graph/graph_private.h | 2 + lib/graph

[PATCH v7 04/17] graph: add get/set graph worker model APIs

2023-06-05 Thread Zhirun Yan
Add new get/set APIs to configure graph worker model which is used to determine which model will be chosen. Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan --- lib/graph/meson.build | 1 + lib/graph/rte_graph_worker.c| 70 +++

[PATCH v7 03/17] graph: move node process into inline function

2023-06-05 Thread Zhirun Yan
Node process is a single and reusable block, move the code into an inline function. Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan --- lib/graph/rte_graph_model_rtc.h | 20 ++--- lib/graph/rte_graph_worker_common.h | 33 +++

[PATCH v7 02/17] graph: split graph worker into common and default model

2023-06-05 Thread Zhirun Yan
To support multiple graph worker model, split graph into common and default. Naming the current walk function as rte_graph_model_rtc cause the default model is RTC(Run-to-completion). Signed-off-by: Haiyue Wang Signed-off-by: Cunming Liang Signed-off-by: Zhirun Yan --- lib/graph/graph_pcap.c

  1   2   >