[dpdk-dev] [RFC v2] eal: simplify the implementation of rte_ctrl_thread_create

2021-08-01 Thread Honnappa Nagarahalli
The current described behaviour of rte_ctrl_thread_create is rigid which makes the implementation of the function complex. The behavior is abstracted to allow for simplified implementation. Signed-off-by: Honnappa Nagarahalli --- v2: Used compiler's C++11 atomic built-ins to access the shared var

Re: [dpdk-dev] [PATCH] net/ice: fix max entry number for ACL normal priority

2021-08-01 Thread Zhang, Qi Z
> -Original Message- > From: Su, Simei > Sent: Wednesday, July 28, 2021 10:24 AM > To: Zhang, Qi Z > Cc: dev@dpdk.org; Ding, Xuan ; Wu, Wenjun1 > ; Su, Simei > Subject: [PATCH] net/ice: fix max entry number for ACL normal priority > > For ACL, there are three entry priorities: LOW, N

Re: [dpdk-dev] [PATCH v16] app/testpmd: support multi-process

2021-08-01 Thread Min Hu (Connor)
在 2021/7/26 15:28, Min Hu (Connor) 写道: 在 2021/7/26 14:30, Thomas Monjalon 写道: 26/07/2021 02:26, Min Hu (Connor): 在 2021/7/24 19:45, Thomas Monjalon 写道: 10/07/2021 05:50, Min Hu (Connor): This patch adds multi-process support for testpmd. For example the following commands run two testpmd

Re: [dpdk-dev] [PATCH] doc: update matching list for ice

2021-08-01 Thread Zhang, Qi Z
> -Original Message- > From: Zhang, Qi Z > Sent: Thursday, July 22, 2021 9:51 AM > To: Yang, Qiming > Cc: dev@dpdk.org; Lin, Xueqin ; Zhang, Qi Z > > Subject: [PATCH] doc: update matching list for ice > > Add recommended matching list for ice PMD in DPDK 21.05. > > Signed-off-by: Qi

Re: [dpdk-dev] [PATCH v1] net/ice: fix wrong bandwidth config size in memory copy

2021-08-01 Thread Zhang, Qi Z
> -Original Message- > From: Xu, Ting > Sent: Tuesday, July 27, 2021 6:55 PM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; Wu, Jingjing ; > Xing, Beilei ; Xu, Ting > Subject: [PATCH v1] net/ice: fix wrong bandwidth config size in memory copy > > The memory size of bandwidth config parameters

Re: [dpdk-dev] [PATCH 1/1] net/i40e: fix compilation failure on core-avx-i

2021-08-01 Thread Zhang, Qi Z
Hi Shahed, Could you answer Wenzhuo' s question? > -Original Message- > From: dev On Behalf Of Lu, Wenzhuo > Sent: Wednesday, July 14, 2021 9:06 AM > To: sha...@niometrics.com > Cc: dev@dpdk.org; sta...@dpdk.org; Xing, Beilei > Subject: Re: [dpdk-dev] [PATCH 1/1] net/i40e: fix compilati

Re: [dpdk-dev] [PATCH 1/2] ethdev: announce flow API action PORT_ID changes

2021-08-01 Thread Ori Kam
Hi Andrew, > -Original Message- > From: Andrew Rybchenko > Sent: Sunday, August 1, 2021 4:24 PM > Subject: Re: [PATCH 1/2] ethdev: announce flow API action PORT_ID changes > > On 8/1/21 3:56 PM, Ori Kam wrote: > > Hi Andrew, > > > >> -Original Message- > >> From: Andrew Rybchenk

Re: [dpdk-dev] [PATCH 1/2] ethdev: announce flow API action PORT_ID changes

2021-08-01 Thread Andrew Rybchenko
On 8/1/21 7:13 PM, Ori Kam wrote: Hi Andrew, -Original Message- From: Andrew Rybchenko Sent: Sunday, August 1, 2021 4:24 PM Subject: Re: [PATCH 1/2] ethdev: announce flow API action PORT_ID changes On 8/1/21 3:56 PM, Ori Kam wrote: Hi Andrew, -Original Message- From: Andre

Re: [dpdk-dev] [PATCH] ethdev: fix representor port ID search by name

2021-08-01 Thread Xueming(Steven) Li
> -Original Message- > From: Andrew Rybchenko > Sent: Sunday, August 1, 2021 4:40 PM > To: Xueming(Steven) Li ; Ajit Khaparde > ; Somnath Kotur > ; John Daley ; Hyong Youb Kim > ; Beilei Xing > ; Qiming Yang ; Qi Zhang > ; Haiyue Wang > ; Matan Azrad ; Shahaf Shuler > ; Slava Ovsiien

Re: [dpdk-dev] [PATCH] ethdev: fix representor port ID search by name

2021-08-01 Thread Xueming(Steven) Li
> -Original Message- > From: Andrew Rybchenko > Sent: Sunday, August 1, 2021 4:50 PM > To: Xueming(Steven) Li ; Ajit Khaparde > ; Somnath Kotur > ; John Daley ; Hyong Youb Kim > ; Beilei Xing > ; Qiming Yang ; Qi Zhang > ; Haiyue Wang > ; Matan Azrad ; Shahaf Shuler > ; Slava Ovsiien

[dpdk-dev] [PATCH] app/test: quieten noise while forking

2021-08-01 Thread John Levon
When closing file descriptors post-fork, ignore "." and ".." directory entries, so the test log doesn't have distracting errors like: Error converting name fd 0 .: Error converting name fd 0 ..: Signed-off-by: John Levon --- app/test/process.h | 5 + 1 file changed, 5 insertions(+) diff --

Re: [dpdk-dev] [EXT] Re: [v1, 1/3] telemetry: enable storing pointer value

2021-08-01 Thread Gowrishankar Muthukrishnan
> -Original Message- > From: Gowrishankar Muthukrishnan > Sent: Friday, July 30, 2021 5:38 PM > To: Bruce Richardson > Cc: dev@dpdk.org; ciara.po...@intel.com; Jerin Jacob Kollanukkaran > ; Kiran Kumar Kokkilagadda ; > Nithin Kumar Dabilpuram ; Sunil Kumar Kori > ; Satha Koteswara Rao K

[dpdk-dev] [v2, 3/3] common/cnxk: add telemetry endpoints to npa

2021-08-01 Thread Gowrishankar Muthukrishnan
Add telemetry endpoints to npa. Signed-off-by: Gowrishankar Muthukrishnan --- drivers/common/cnxk/cnxk_telemetry.h | 26 +++ drivers/common/cnxk/cnxk_telemetry_npa.c | 227 +++ drivers/common/cnxk/meson.build | 4 + drivers/common/cnxk/roc_platform.h |

[dpdk-dev] [v2, 2/3] test/telemetry: add unit tests for pointer value

2021-08-01 Thread Gowrishankar Muthukrishnan
Adding tests to evaluate pointer value in array and dict. Signed-off-by: Gowrishankar Muthukrishnan --- app/test/test_telemetry_data.c | 124 + app/test/test_telemetry_json.c | 28 ++-- 2 files changed, 145 insertions(+), 7 deletions(-) diff --git a/app/test

[dpdk-dev] [v2, 1/3] telemetry: enable storing pointer value

2021-08-01 Thread Gowrishankar Muthukrishnan
At present, value of pointer variable or address is stored in u64 type which may not properly work in non64 bit arch. Hence, this patch adds new API to store it in void*. JSON encoding is after converting to uintptr_t so, address value is correctly casted as per arch as well. Once JSON5 support is

[dpdk-dev] [v2, 0/3] common/cnxk: enable npa telemetry

2021-08-01 Thread Gowrishankar Muthukrishnan
This patch series enables telemetry in NPA LF of cnxk. v2: * using uintptr_t to encode pointer value in json. *** BLURB HERE *** Gowrishankar Muthukrishnan (3): telemetry: enable storing pointer value test/telemetry: add unit tests for pointer value common/cnxk: add telemetry endpoints t

Re: [dpdk-dev] [PATCH 1/2] ethdev: announce flow API action PORT_ID changes

2021-08-01 Thread Ori Kam
Hi Andrew, > -Original Message- > From: Andrew Rybchenko > Sent: Sunday, August 1, 2021 3:44 PM > Subject: Re: [PATCH 1/2] ethdev: announce flow API action PORT_ID changes > > Hi Ori, > > On 8/1/21 3:23 PM, Ori Kam wrote: > > Hi Andrew, > > > > I think before we can change the API we mu

Re: [dpdk-dev] [PATCH 1/2] ethdev: announce flow API action PORT_ID changes

2021-08-01 Thread Ori Kam
Hi Andrew, I think before we can change the API we must agree on the meaning of representor. PSB more comments > -Original Message- > From: Andrew Rybchenko > Sent: Sunday, August 1, 2021 3:04 PM > To: Eli Britstein ; NBU-Contact-Thomas Monjalon > ; Ferruh Yigit ; Ori Kam > > Cc: dev@

Re: [dpdk-dev] [PATCH 1/2] ethdev: announce flow API action PORT_ID changes

2021-08-01 Thread Eli Britstein
On 8/1/2021 1:22 PM, Andrew Rybchenko wrote: External email: Use caution opening links or attachments By its very name, action PORT_ID means that packets hit an ethdev with the given DPDK port ID. At least the current comments don't state the opposite. That said, since port representors had b

Re: [dpdk-dev] [PATCH 1/2] ethdev: announce flow API action PORT_ID changes

2021-08-01 Thread Andrew Rybchenko
On 8/1/21 3:56 PM, Ori Kam wrote: Hi Andrew, -Original Message- From: Andrew Rybchenko Sent: Sunday, August 1, 2021 3:44 PM Subject: Re: [PATCH 1/2] ethdev: announce flow API action PORT_ID changes Hi Ori, On 8/1/21 3:23 PM, Ori Kam wrote: Hi Andrew, I think before we can change th

Re: [dpdk-dev] [PATCH 1/2] ethdev: announce flow API action PORT_ID changes

2021-08-01 Thread Andrew Rybchenko
Hi Ori, On 8/1/21 3:23 PM, Ori Kam wrote: Hi Andrew, I think before we can change the API we must agree on the meaning of representor. The question is not directly related to a representor definition. Just indirectly. PORT_ID action makes sense for non-representor ports as well. PSB more c

Re: [dpdk-dev] [PATCH 1/2] ethdev: announce flow API action PORT_ID changes

2021-08-01 Thread Andrew Rybchenko
On 8/1/21 1:57 PM, Eli Britstein wrote: On 8/1/2021 1:22 PM, Andrew Rybchenko wrote: External email: Use caution opening links or attachments By its very name, action PORT_ID means that packets hit an ethdev with the given DPDK port ID. At least the current comments don't state the opposite

[dpdk-dev] [PATCH 2/2] ethdev: announce clarification of implicit filter by port

2021-08-01 Thread Andrew Rybchenko
Transfer flow rules may be applied to traffic entering switch from many sources. There are flow API pattern items which allow to specify ingress port match criteria explicitly, but it is not documented if ethdev port used to create flow rule adds any implicit match criteria and how it coexists with

[dpdk-dev] [PATCH 1/2] ethdev: announce flow API action PORT_ID changes

2021-08-01 Thread Andrew Rybchenko
By its very name, action PORT_ID means that packets hit an ethdev with the given DPDK port ID. At least the current comments don't state the opposite. That said, since port representors had been adopted, applications like OvS have been misusing the action. They misread its purpose as sending packet

Re: [dpdk-dev] [PATCH] compress/mlx5: fix level translation in xform API

2021-08-01 Thread Matan Azrad
From: Raja Zidane > Compression Level is interpreted by each PMD differently. > However, lower numbers give faster compression at the expense of > compression ratio, while higher numbers may give better compression ratios > but are likely slower. > The level affects the block size, which affects

Re: [dpdk-dev] [PATCH] ethdev: fix representor port ID search by name

2021-08-01 Thread Andrew Rybchenko
On 7/29/21 7:20 AM, Xueming(Steven) Li wrote: -Original Message- From: Andrew Rybchenko Sent: Tuesday, July 13, 2021 12:18 AM To: Ajit Khaparde ; Somnath Kotur ; John Daley ; Hyong Youb Kim ; Beilei Xing ; Qiming Yang ; Qi Zhang ; Haiyue Wang ; Matan Azrad ; Shahaf Shuler ; Slava O

Re: [dpdk-dev] [PATCH] ethdev: fix representor port ID search by name

2021-08-01 Thread Andrew Rybchenko
On 7/29/21 7:13 AM, Xueming(Steven) Li wrote: -Original Message- From: Andrew Rybchenko Sent: Tuesday, July 20, 2021 5:00 PM To: Xueming(Steven) Li ; Ajit Khaparde ; Somnath Kotur ; John Daley ; Hyong Youb Kim ; Beilei Xing ; Qiming Yang ; Qi Zhang ; Haiyue Wang ; Matan Azrad ; Sha

Re: [dpdk-dev] [PATCH 2/3] mbuf: avoid cast-align warning in pktmbuf mtod offset macro

2021-08-01 Thread Eli Britstein
On 7/30/2021 2:10 PM, Olivier Matz wrote: External email: Use caution opening links or attachments Hi Eli, On Thu, Jul 29, 2021 at 10:13:45AM +0300, Eli Britstein wrote: On 7/28/2021 6:28 PM, Olivier Matz wrote: External email: Use caution opening links or attachments On Tue, Jul 13, 202