[PATCH] doc: update iavf feature list

2023-03-20 Thread Zhichao Zeng
The iavf supports L3/L4 checksum offload on both scalar and vector path. Signed-off-by: Zhichao Zeng --- doc/guides/nics/features/iavf.ini | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/doc/guides/nics/features/iavf.ini b/doc/guides/nics/features/iavf.ini index

[PATCH] vhost: fix crash on vhost-user client port deletion

2023-03-20 Thread suntianyuan
The rte_vhost_driver_unregister() and vhost_user_read_cb() can be called at the same time by 2 threads. reconn may be added back to reconn_list by vhost_user_read_cb() after rte_vhost_driver_unregister() removed from reconn_list. Then rte_vhost_driver_unregister free vsocket, cause vhost_user_clien

[PATCH v2] eventdev/timer: fix timeout event wait behavior

2023-03-20 Thread Shijith Thotton
Improved the accuracy and consistency of timeout event wait behavior by refactoring it. Previously, the delay function used for waiting could be inaccurate, leading to inconsistent results. This commit updates the wait behavior to use a timeout-based approach, enabling the wait for the exact number

RE: [PATCH] config/arm: enable rcpc feature on neoverse n1

2023-03-20 Thread Joyce Kong
> -Original Message- > From: Thomas Monjalon > Sent: Tuesday, March 21, 2023 12:10 AM > To: dev@dpdk.org; Joyce Kong > Cc: Ruifeng Wang ; Bruce Richardson > ; nd > Subject: Re: [PATCH] config/arm: enable rcpc feature on neoverse n1 > > 20/03/2023 04:26, Joyce Kong: > > Enable rcpc meson

RE: [PATCH v5] net/ice: fix ice dcf control thread crash

2023-03-20 Thread Ye, MingjinX
Hi Qi, here is my new solution, can you give me some good suggestions. 1. remove the 'vc_event_msg_cb == NULL' related processing and let each 'ice-rest' thread, end normally. 2. Define vsi_update_thread_num as rte_atomic32_t. > -Original Message- > From: Zhang, Qi Z > Sent: 2023年3月20日 2

[Bug 1184] [dpdk-23.03] [asan]asan_smoke/rxtx_with_ASan_enable : launch testpmd as global-buffer-overflow error.

2023-03-20 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1184 Yuan,Dukai (dukaix.y...@intel.com) changed: What|Removed |Added Status|IN_PROGRESS |RESOLVED Resolution|

RE: release candidate 23.03-rc2

2023-03-20 Thread Jiang, YuX
> -Original Message- > From: Thomas Monjalon > Sent: Sunday, March 12, 2023 11:27 PM > To: annou...@dpdk.org > Subject: release candidate 23.03-rc2 > > A new DPDK release candidate is ready for testing: > https://git.dpdk.org/dpdk/tag/?id=v23.03-rc2 > > There are 319 new patches in t

回复: 回复: af_packet can't send packet more than framecnt

2023-03-20 Thread hfli
Hi Stephen, Thanks for your response, my OS is CentOS7.9, so the kernel is 3.10. However, the issue has been resolved depend on new DPDK code. Regards, Haifeng -邮件原件- 发件人: Stephen Hemminger 发送时间: 2023年3月21日 0:54 收件人: h...@netitest.com 抄送: dev@dpdk.org 主题: Re: 回复: af_packet can't send

RE: [PATCH v1] raw/ifpga: remove virtual device unplug operation

2023-03-20 Thread Huang, Wei
Hi Tomas, > -Original Message- > From: Thomas Monjalon > Sent: Tuesday, March 21, 2023 00:06 > To: Huang, Wei > Cc: dev@dpdk.org; david.march...@redhat.com; sta...@dpdk.org; Xu, > Rosen ; Zhang, Tianfei ; > Zhang, Qi Z > Subject: Re: [PATCH v1] raw/ifpga: remove virtual device unplug op

Re: [PATCH v2 13/44] net/enic: fix segment fault when parse devargs

2023-03-20 Thread John Daley (johndale)
Reviewed-by: John Daley johnd...@cisco.com From: Chengwen Feng Date: Monday, March 20, 2023 at 2:28 AM To: tho...@monjalon.net , ferruh.yi...@amd.com , John Daley (johndale) , Hyong Youb Kim (hyonkim) Cc: dev@dpdk.org Subject: [PATCH v2 13/44] net/enic: fix segm

[PATCH v3 15/16] mbuf: use previous value atomic fetch operations

2023-03-20 Thread Tyler Retzlaff
Use __atomic_fetch_{add,and,or,sub,xor} instead of __atomic_{add,and,or,sub,xor}_fetch adding the necessary code to allow consumption of the resulting value. Signed-off-by: Tyler Retzlaff Reviewed-by: Ruifeng Wang --- lib/mbuf/rte_mbuf.h | 12 ++-- 1 file changed, 6 insertions(+), 6 del

[PATCH v3 16/16] rcu: use previous value atomic fetch operations

2023-03-20 Thread Tyler Retzlaff
Use __atomic_fetch_{add,and,or,sub,xor} instead of __atomic_{add,and,or,sub,xor}_fetch adding the necessary code to allow consumption of the resulting value. Signed-off-by: Tyler Retzlaff Reviewed-by: Ruifeng Wang --- lib/rcu/rte_rcu_qsbr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH v3 13/16] eal: use previous value atomic fetch operations

2023-03-20 Thread Tyler Retzlaff
Use __atomic_fetch_{add,and,or,sub,xor} instead of __atomic_{add,and,or,sub,xor}_fetch adding the necessary code to allow consumption of the resulting value. Signed-off-by: Tyler Retzlaff Reviewed-by: Ruifeng Wang --- lib/eal/include/generic/rte_rwlock.h | 8 lib/eal/ppc/include/rte_a

[PATCH v3 09/16] net/mlx5: use previous value atomic fetch operations

2023-03-20 Thread Tyler Retzlaff
Use __atomic_fetch_{add,and,or,sub,xor} instead of __atomic_{add,and,or,sub,xor}_fetch adding the necessary code to allow consumption of the resulting value. Signed-off-by: Tyler Retzlaff Reviewed-by: Ruifeng Wang --- drivers/net/mlx5/linux/mlx5_verbs.c | 2 +- drivers/net/mlx5/mlx5.c

[PATCH v3 14/16] ipsec: use previous value atomic fetch operations

2023-03-20 Thread Tyler Retzlaff
Use __atomic_fetch_{add,and,or,sub,xor} instead of __atomic_{add,and,or,sub,xor}_fetch adding the necessary code to allow consumption of the resulting value. Signed-off-by: Tyler Retzlaff Reviewed-by: Ruifeng Wang --- lib/ipsec/ipsec_sqn.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH v3 10/16] net/octeontx: use previous value atomic fetch operations

2023-03-20 Thread Tyler Retzlaff
Use __atomic_fetch_{add,and,or,sub,xor} instead of __atomic_{add,and,or,sub,xor}_fetch adding the necessary code to allow consumption of the resulting value. Signed-off-by: Tyler Retzlaff Reviewed-by: Ruifeng Wang --- drivers/net/octeontx/octeontx_ethdev.c | 2 +- 1 file changed, 1 insertion(+)

[PATCH v3 12/16] bbdev: use previous value atomic fetch operations

2023-03-20 Thread Tyler Retzlaff
Use __atomic_fetch_{add,and,or,sub,xor} instead of __atomic_{add,and,or,sub,xor}_fetch adding the necessary code to allow consumption of the resulting value. Signed-off-by: Tyler Retzlaff Reviewed-by: Ruifeng Wang --- lib/bbdev/rte_bbdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(

[PATCH v3 11/16] raw/ifpga: use previous value atomic fetch operations

2023-03-20 Thread Tyler Retzlaff
Use __atomic_fetch_{add,and,or,sub,xor} instead of __atomic_{add,and,or,sub,xor}_fetch adding the necessary code to allow consumption of the resulting value. Signed-off-by: Tyler Retzlaff Reviewed-by: Ruifeng Wang --- drivers/raw/ifpga/ifpga_rawdev.c | 2 +- 1 file changed, 1 insertion(+), 1 de

[PATCH v3 07/16] net/cxgbe: use previous value atomic fetch operations

2023-03-20 Thread Tyler Retzlaff
Use __atomic_fetch_{add,and,or,sub,xor} instead of __atomic_{add,and,or,sub,xor}_fetch adding the necessary code to allow consumption of the resulting value. Signed-off-by: Tyler Retzlaff Reviewed-by: Ruifeng Wang --- drivers/net/cxgbe/clip_tbl.c | 2 +- drivers/net/cxgbe/mps_tcam.c | 2 +- 2 f

[PATCH v3 06/16] net/cnxk: use previous value atomic fetch operations

2023-03-20 Thread Tyler Retzlaff
Use __atomic_fetch_{add,and,or,sub,xor} instead of __atomic_{add,and,or,sub,xor}_fetch adding the necessary code to allow consumption of the resulting value. Signed-off-by: Tyler Retzlaff Acked-by: Nithin Dabilpuram Reviewed-by: Ruifeng Wang --- drivers/net/cnxk/cn10k_tx.h | 4 ++-- 1 file cha

[PATCH v3 05/16] net/af_xdp: use previous value atomic fetch operations

2023-03-20 Thread Tyler Retzlaff
Use __atomic_fetch_{add,and,or,sub,xor} instead of __atomic_{add,and,or,sub,xor}_fetch adding the necessary code to allow consumption of the resulting value. Signed-off-by: Tyler Retzlaff Reviewed-by: Ruifeng Wang --- drivers/net/af_xdp/rte_eth_af_xdp.c | 4 ++-- 1 file changed, 2 insertions(+)

[PATCH v3 08/16] net/iavf: use previous value atomic fetch operations

2023-03-20 Thread Tyler Retzlaff
Use __atomic_fetch_{add,and,or,sub,xor} instead of __atomic_{add,and,or,sub,xor}_fetch adding the necessary code to allow consumption of the resulting value. Signed-off-by: Tyler Retzlaff Reviewed-by: Ruifeng Wang --- drivers/net/iavf/iavf_vchnl.c | 8 1 file changed, 4 insertions(+),

[PATCH v3 04/16] drivers/event: use previous value atomic fetch operations

2023-03-20 Thread Tyler Retzlaff
Use __atomic_fetch_{add,and,or,sub,xor} instead of __atomic_{add,and,or,sub,xor}_fetch adding the necessary code to allow consumption of the resulting value. Signed-off-by: Tyler Retzlaff Acked-by: Pavan Nikhilesh Reviewed-by: Ruifeng Wang --- drivers/event/cnxk/cnxk_tim_worker.h | 2 +- driv

[PATCH v3 03/16] common/mlx5: use previous value atomic fetch operations

2023-03-20 Thread Tyler Retzlaff
Use __atomic_fetch_{add,and,or,sub,xor} instead of __atomic_{add,and,or,sub,xor}_fetch adding the necessary code to allow consumption of the resulting value. Signed-off-by: Tyler Retzlaff Reviewed-by: Ruifeng Wang --- drivers/common/mlx5/linux/mlx5_nl.c | 2 +- drivers/common/mlx5/mlx5_comm

[PATCH v3 00/16] replace __atomic operations returning new value

2023-03-20 Thread Tyler Retzlaff
This series replaces uses of __atomic_{add,and,or,sub,xor}_fetch with __atomic_fetch_{add,and,or,sub,xor} intrinsics where the new value is used. This series is being separated from the other similar series in an effort to reduce the chance of mistakes being spotted in review since the usages in t

[PATCH v3 02/16] common/cnxk: use previous value atomic fetch operations

2023-03-20 Thread Tyler Retzlaff
Use __atomic_fetch_{add,and,or,sub,xor} instead of __atomic_{add,and,or,sub,xor}_fetch adding the necessary code to allow consumption of the resulting value. Signed-off-by: Tyler Retzlaff Reviewed-by: Ruifeng Wang --- drivers/common/cnxk/roc_ae.c| 2 +- drivers/common/cnxk/roc_ae_fp

[PATCH v3 01/16] app/test: use previous value atomic fetch operations

2023-03-20 Thread Tyler Retzlaff
Use __atomic_fetch_{add,and,or,sub,xor} instead of __atomic_{add,and,or,sub,xor}_fetch adding the necessary code to allow consumption of the resulting value. Signed-off-by: Tyler Retzlaff Reviewed-by: Ruifeng Wang --- app/test/test_ring_perf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(

RE: [PATCH v12] app/procinfo: display eventdev xstats

2023-03-20 Thread Sevincer, Abdullah
> -Original Message- > From: Sevincer, Abdullah > +static uint8_t evdev_id; > +static uint8_t num_ports; > +static uint8_t ports[MAX_PORTS_QUEUES]; >+static uint8_t num_queues; > +static uint8_t queues[MAX_PORTS_QUEUES]; static uint32_t > +enable_shw_all_eventdev_queues; static uint3

RE: [PATCH v12] app/procinfo: display eventdev xstats

2023-03-20 Thread Sevincer, Abdullah
+>How about keeping a struct to maintain all the data together that way you know on which all ports and queues of eventdev we have requested display. +>You can refer the existing code "struct desc_param" to see how this is done Then you can declare global variables of type struct eventdev_pa

RE: [PATCH v12] app/procinfo: display eventdev xstats

2023-03-20 Thread Pattan, Reshma
> -Original Message- > From: Sevincer, Abdullah > +static uint8_t evdev_id; > +static uint8_t num_ports; > +static uint8_t ports[MAX_PORTS_QUEUES]; >+static uint8_t num_queues; > +static uint8_t queues[MAX_PORTS_QUEUES]; > +static uint32_t enable_shw_all_eventdev_queues; static uint32

[Bug 1194] l3fwd-cat: calling unsafe functions from signal handler

2023-03-20 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1194 Bug ID: 1194 Summary: l3fwd-cat: calling unsafe functions from signal handler Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRM

[Bug 1193] examples/vdpa closes port in non signal safe manner

2023-03-20 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1193 Bug ID: 1193 Summary: examples/vdpa closes port in non signal safe manner Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: n

Re: [PATCH v1] eventdev/timer: use loop to check for timeout events

2023-03-20 Thread Jerin Jacob
On Wed, Mar 15, 2023 at 1:31 PM Shijith Thotton wrote: > > Replaced sleep with a function to dequeue timer expiry events until > either the expected number of events have been dequeued or the specified > time has elapsed. This change closely esembles the behavior of the > tested systems. > > Signe

Re: 回复: af_packet can't send packet more than framecnt

2023-03-20 Thread Stephen Hemminger
On Mon, 20 Mar 2023 19:36:02 +0800 wrote: > Hi, > > The issue has been resolved when I patched new code from dpdk 22.12, my dpdk > version is 19.11 > > Index: rte_eth_af_packet.c > === > --- rte_eth_af_packet.c (版本 44115) > +++ rte

[PATCH] net/mlx5/hws: add check for modify-header actions

2023-03-20 Thread Erez Shitrit
Allow only actions that are currently supported. Fixes: f8c8a6d8440d ("net/mlx5/hws: add action object") Reviewed-by: Alex Vesker Signed-off-by: Erez Shitrit --- drivers/common/mlx5/mlx5_prm.h| 1 + drivers/net/mlx5/hws/mlx5dr_action.c | 6 ++ drivers/net/mlx5/hws/mlx5dr_pat_ar

[PATCH] net/mlx5/hws: keep all jumbo tag for deletion

2023-03-20 Thread Erez Shitrit
In cases with more than one STE we didn't update the whole tag of the match jumbo STE, the ste_attr that keeps that indication was not updated at the last iteration. Now we indicate it is a jumbo frame before saving the tag for coming deletion of it. Fixes: 405242c52dd5 ("net/mlx5/hws: add rule

[PATCH] net/mlx5/hws: shared context uses defaults from local context

2023-03-20 Thread Erez Shitrit
Fix default miss behavior for shared resources, the problem could happen in two cases: When the table created, the default miss should go to the alias ft that will direct it back to local context. When the rule is without specific hit address and we are in a shared RTC from here it should be red

[PATCH] net/mlx5/hws: fix bug in pattern creation

2023-03-20 Thread Erez Shitrit
When creating a new pattern the data area should be clean, otherwise when the data will come from the arg object it will do OR operation on the data part in the pattern. Fixes: f8c8a6d8440d ("net/mlx5/hws: add action object") Reviewed-by: Alex Vesker Signed-off-by: Erez Shitrit --- drivers/ne

release candidate 23.03-rc3

2023-03-20 Thread Thomas Monjalon
A new DPDK release candidate is ready for testing: https://git.dpdk.org/dpdk/tag/?id=v23.03-rc3 There are 110 new patches in this snapshot. Release notes: https://doc.dpdk.org/guides/rel_notes/release_23_03.html Few major additions arrived in this -rc3: - test application

RE: [EXT] [PATCH v3 2/2] crypto/qat: add cipher-crc offload support

2023-03-20 Thread O'Sullivan, Kevin
Hi Akhil Comments below Best regards Kevin > -Original Message- > From: Akhil Goyal > Sent: Thursday 16 March 2023 19:15 > To: O'Sullivan, Kevin ; dev@dpdk.org > Cc: Ji, Kai ; Coyle, David > Subject: RE: [EXT] [PATCH v3 2/2] crypto/qat: add cipher-crc offload support > > > Subject: [

[PATCH] devtools: stop compiler atomics with no C11 equivalent

2023-03-20 Thread Tyler Retzlaff
Refrain from using compiler __atomic_{add,and,nand,or,sub,xor}_fetch() to ease future adoption of C11 standard atomics. Signed-off-by: Tyler Retzlaff --- devtools/checkpatches.sh | 8 1 file changed, 8 insertions(+) diff --git a/devtools/checkpatches.sh b/devtools/checkpatches.sh index

Re: [PATCH] config/arm: enable rcpc feature on neoverse n1

2023-03-20 Thread Thomas Monjalon
20/03/2023 04:26, Joyce Kong: > Enable rcpc meson configuration for Neoverse N1 platform. Please could you explain what it is in the commit message? > -'march_features': ['crypto'], > +'march_features': ['crypto', 'rcpc'],

Re: [PATCH v1] raw/ifpga: remove virtual device unplug operation

2023-03-20 Thread Thomas Monjalon
16/03/2023 21:44, Wei Huang: > VDEV bus has implemented cleanup() function to perform cleanup for > devices on the bus during eal_cleanup(), so there is no need for > ifpga driver to record virtual devices and unplug them. Why no need? If the application wants to explicitly remove a device, what h

RE: MLX5 : Having RTE_FLOW_ACTION_TYPE_PORT_ID flow entry and RTE_FLOW_ACTION_TYPE_QUEUE flow entry in same flow group

2023-03-20 Thread Raslan Darawsheh
Hi Krishna, You have two types of tables: 1. FDB (those are the ones with the transfer attribute being set to 1) 2. NIC ( those are the ones with the ingress attribute only being set to 1) When you do jump from one group to another on FDB it will not reach the NIC groups It will jump to

Re: [PATCH v1] bus/ifpga: add fpga bus cleanup

2023-03-20 Thread Thomas Monjalon
> > In this patch, cleanup method is implemented for FPGA bus which will be > > called during eal_bus_cleanup(). > > > > Signed-off-by: Wei Huang > > Acked-by: Rosen Xu It looks to be simple enough to go in -rc3. Applied, thanks.

Re: [PATCH v1] bus/ifpga: fix issue of accessing null address

2023-03-20 Thread Thomas Monjalon
> > In function ifpga_scan_one(), variable 'path' is NULL if device argument > > 'afu_bts' is > > not set, subsequent string copy with 'path' would lead to segmentation > > fault. > > > > Fixes: 6fa4aa2b3645 ("bus/ifpga: fix forcing optional devargs") > > Cc: sta...@dpdk.org > > > > Signed-off-

[PATCH 4/4] net/mlx5/hws: add check for modify-header actions

2023-03-20 Thread Erez Shitrit
Allow only actions that are currently supported. Fixes: f8c8a6d8440d ("net/mlx5/hws: add action object") Reviewed-by: Alex Vesker Signed-off-by: Erez Shitrit --- drivers/common/mlx5/mlx5_prm.h| 1 + drivers/net/mlx5/hws/mlx5dr_action.c | 6 ++ drivers/net/mlx5/hws/mlx5dr_pat_ar

[PATCH 3/4] net/mlx5/hws: keep all jumbo tag for deletion

2023-03-20 Thread Erez Shitrit
In cases with more than one STE we didn't update the whole tag of the match jumbo STE, the ste_attr that keeps that indication was not updated at the last iteration. Now we indicate it is a jumbo frame before saving the tag for coming deletion of it. Fixes: 405242c52dd5 ("net/mlx5/hws: add rule

[PATCH 2/4] net/mlx5/hws: shared context uses defaults from local context

2023-03-20 Thread Erez Shitrit
Fix default miss behavior for shared resources, the problem could happen in two cases: When the table created, the default miss should go to the alias ft that will direct it back to local context. When the rule is without specific hit address and we are in a shared RTC from here it should be red

[PATCH 1/4] net/mlx5/hws: fix bug in pattern creation

2023-03-20 Thread Erez Shitrit
When creating a new pattern the data area should be clean, otherwise when the data will come from the arg object it will do OR operation on the data part in the pattern. Fixes: f8c8a6d8440d ("net/mlx5/hws: add action object") Reviewed-by: Alex Vesker Signed-off-by: Erez Shitrit --- drivers/ne

[v1 3/3] net/mlx5/hws: Enhance forward table and FTE creation

2023-03-20 Thread Hamdan Igbaria
Changed FW FT and FTE creation to allow dynamic creation. Till now only FTE with vport destination action was supported. Also enhanced forward table creation to be generic. Signed-off-by: Hamdan Igbaria Reviewed-by: Alex Vesker --- drivers/common/mlx5/mlx5_prm.h | 20 +++-- drivers/net

[v1 2/3] net/mlx5/hws: dump FT icm addresses

2023-03-20 Thread Hamdan Igbaria
Add the support for query FT command. Use the query FT command to dump the ICM addresses of table start anchor and matcher end anchor. Signed-off-by: Hamdan Igbaria Reviewed-by: Alex Vesker --- drivers/common/mlx5/mlx5_prm.h | 50 --- drivers/net/mlx5/hws/mlx5dr_cmd.c

[v1 1/3] net/mlx5/hws: support dest root table action

2023-03-20 Thread Hamdan Igbaria
Add support for dest root table action creation. This support will allow to redirect the packets to the kernel from non root tables. Signed-off-by: Hamdan Igbaria Reviewed-by: Alex Vesker --- drivers/common/mlx5/linux/meson.build | 2 + drivers/common/mlx5/linux/mlx5_glue.c | 28 + dri

Re: [PATCH v2 2/2] ci: test compilation with debug in GHA

2023-03-20 Thread Thomas Monjalon
20/03/2023 13:18, David Marchand: > We often miss compilation issues with -O0 -g. > Switch to debug in GHA for the gcc job. > > Signed-off-by: David Marchand Series applied, thanks.

MLX5 : Having RTE_FLOW_ACTION_TYPE_PORT_ID flow entry and RTE_FLOW_ACTION_TYPE_QUEUE flow entry in same flow group

2023-03-20 Thread Krishna, Parameswaran
Hi Experts, I'm using DPDK 21.08 with Mlx5 NIC. I'm trying to configure rte-flows with multiple groups. I'm observing that under certain circumstances, jump-group action from Group-0 to Group-1 is not working. I installed a flow rule in group 0 with Attribute Transfer=1, matching src-mac ce:25

Re: [PATCH v6 03/10] dts: add dpdk build on sut

2023-03-20 Thread David Marchand
On Mon, Mar 20, 2023 at 2:12 PM Juraj Linkeš wrote: > On Mon, Mar 20, 2023 at 9:30 AM David Marchand > wrote: > > On Fri, Mar 3, 2023 at 11:25 AM Juraj Linkeš > > wrote: > > > +class MesonArgs(object): > > > +""" > > > +Aggregate the arguments needed to build DPDK: > > > +default_li

Re: [PATCH v2 1/3] examples/l3fwd: validate ptype only for type of traffic sent

2023-03-20 Thread Thomas Monjalon
06/03/2023 17:25, Kamalakshitha Aligeri: > The check_ptype function is not considering the ptype of the incoming > traffic. --parse-ptype flag must be provided only when the NIC does not > support parsing the ptype of the incoming traffic > > Suggested-by: Nathan Brown > Signed-off-by: Kamalakshi

Re: [PATCH v6 03/10] dts: add dpdk build on sut

2023-03-20 Thread Juraj Linkeš
On Mon, Mar 20, 2023 at 9:30 AM David Marchand wrote: > > Hi Juraj, > > On Fri, Mar 3, 2023 at 11:25 AM Juraj Linkeš > wrote: > > +class MesonArgs(object): > > +""" > > +Aggregate the arguments needed to build DPDK: > > +default_library: Default library type, Meson allows "shared", "

RE: [PATCH v1] net/ipn3ke: fix representor name

2023-03-20 Thread Zhang, Qi Z
> -Original Message- > From: Xu, Rosen > Sent: Monday, March 20, 2023 2:53 PM > To: Huang, Wei ; dev@dpdk.org; > tho...@monjalon.net; david.march...@redhat.com > Cc: sta...@dpdk.org; Zhang, Tianfei ; Zhang, Qi Z > > Subject: RE: [PATCH v1] net/ipn3ke: fix representor name > > Hi, > >

RE: [PATCH v1] net/ipn3ke: fix thread exit issue

2023-03-20 Thread Zhang, Qi Z
> -Original Message- > From: Xu, Rosen > Sent: Monday, March 20, 2023 2:54 PM > To: Huang, Wei ; dev@dpdk.org; > tho...@monjalon.net; david.march...@redhat.com > Cc: sta...@dpdk.org; Zhang, Tianfei ; Zhang, Qi Z > > Subject: RE: [PATCH v1] net/ipn3ke: fix thread exit issue > > Hi, >

Re: [PATCH] kni: fix build with Linux 6.3

2023-03-20 Thread David Marchand
On Mon, Mar 20, 2023 at 1:10 PM David Marchand wrote: > > On Tue, Feb 28, 2023 at 9:45 PM David Marchand > wrote: > > > > On Tue, Feb 28, 2023 at 6:29 PM Ferruh Yigit wrote: > > > > > > KNI calls `get_user_pages_remote()` API which is using `FOLL_TOUCH` > > > flag, but `FOLL_TOUCH` is no more in

RE: [PATCH v1] raw/ifpga: remove virtual device unplug operation

2023-03-20 Thread Zhang, Qi Z
> -Original Message- > From: Zhang, Qi Z > Sent: Monday, March 20, 2023 8:59 PM > To: Xu, Rosen ; Huang, Wei ; > dev@dpdk.org; tho...@monjalon.net; david.march...@redhat.com > Cc: sta...@dpdk.org; Zhang, Tianfei > Subject: RE: [PATCH v1] raw/ifpga: remove virtual device unplug operation

RE: [PATCH v1] raw/ifpga: remove virtual device unplug operation

2023-03-20 Thread Zhang, Qi Z
> -Original Message- > From: Xu, Rosen > Sent: Monday, March 20, 2023 2:52 PM > To: Huang, Wei ; dev@dpdk.org; > tho...@monjalon.net; david.march...@redhat.com > Cc: sta...@dpdk.org; Zhang, Tianfei ; Zhang, Qi Z > > Subject: RE: [PATCH v1] raw/ifpga: remove virtual device unplug operat

RE: [PATCH v5] net/ice: fix ice dcf control thread crash

2023-03-20 Thread Zhang, Qi Z
> -Original Message- > From: Ye, MingjinX > Sent: Monday, March 20, 2023 5:41 PM > To: dev@dpdk.org > Cc: Yang, Qiming ; sta...@dpdk.org; Zhou, YidingX > ; Ye, MingjinX ; Zhang, > Ke1X ; Zhang, Qi Z > Subject: [PATCH v5] net/ice: fix ice dcf control thread crash > > The control thread

[PATCH v2 2/2] ci: test compilation with debug in GHA

2023-03-20 Thread David Marchand
We often miss compilation issues with -O0 -g. Switch to debug in GHA for the gcc job. Signed-off-by: David Marchand --- Changes since v1: - rather than introduce a new job, updated the ABI check job to build with debug, --- .ci/linux-build.sh | 8 +++- .github/workflows/build.yml

[PATCH v2 1/2] app/mldev: fix build with debug

2023-03-20 Thread David Marchand
Compiling with -O0 and -g triggers these warnings: ../app/test-mldev/test_inference_common.c: In function ‘ml_request_finish’: ../app/test-mldev/test_inference_common.c:946:51: error: ‘.q.’ directive output may be truncated writing 3 bytes into a region of size between 0 an

Re: [PATCH] kni: fix build with Linux 6.3

2023-03-20 Thread David Marchand
On Tue, Feb 28, 2023 at 9:45 PM David Marchand wrote: > > On Tue, Feb 28, 2023 at 6:29 PM Ferruh Yigit wrote: > > > > KNI calls `get_user_pages_remote()` API which is using `FOLL_TOUCH` > > flag, but `FOLL_TOUCH` is no more in public headers since v6.3, > > causing a build error. > > Something lo

RE: cryptodev API question with out of order support

2023-03-20 Thread Suanming Mou
Hi Declan, I see, thank you very much for the clear clarification. BR, Suanming > -Original Message- > From: Doherty, Declan > Sent: Monday, March 20, 2023 7:58 PM > To: Suanming Mou > Cc: dev@dpdk.org > Subject: Re: cryptodev API question with out of order support > > Hey Suanming, >

RE: [PATCH v2 42/44] event/sw: fix segment fault when parse devargs

2023-03-20 Thread Van Haaren, Harry
> -Original Message- > From: Chengwen Feng > Sent: Monday, March 20, 2023 9:21 AM > To: tho...@monjalon.net; ferruh.yi...@amd.com; Van Haaren, Harry > ; Richardson, Bruce > ; Jerin Jacob ; > Nicolau, Radu > Cc: dev@dpdk.org > Subject: [PATCH v2 42/44] event/sw: fix segment fault when pars

Re: cryptodev API question with out of order support

2023-03-20 Thread Doherty, Declan
Hey Suanming, I haven't been actively involved in the development of DPDK in a number of years but as far as I'm aware (and I don't believe this has changed recently), out of order processing from the cryptodev API user perspective is not supported, and for most scenarios I'm aware of (for sy

Re: [PATCH v5] lib/bpf: Rename bpf function names to avoid potential conflict with libpcap

2023-03-20 Thread Thomas Monjalon
16/03/2023 01:58, Konstantin Ananyev: > 14/03/2023 14:20, J.J. Martzki пишет: > > The library libpcap has their function 'bpf_validate' either so there would > > be a multiple definition issue when linking with librte_bpf.a and libpcap.a > > statically (Same as http://dpdk.org/patch/52631). So just

Re: [EXT] Re: [PATCH] MAINTAINERS: update maintainers list for qede

2023-03-20 Thread Thomas Monjalon
13/03/2023 12:37, Alok Prasad: > From: Thomas Monjalon > > 09/03/2023 14:51, Devendra Singh Rawat: > > > Add new maintainer and remove old one from list for qede PMD. > > > > > > Signed-off-by: Devendra Singh Rawat > > > --- > > > Marvell QLogic qede PMD > > > -M: Rasesh Mody > > > M: Devendra

回复: af_packet can't send packet more than framecnt

2023-03-20 Thread hfli
Hi, The issue has been resolved when I patched new code from dpdk 22.12, my dpdk version is 19.11 Index: rte_eth_af_packet.c === --- rte_eth_af_packet.c (版本 44115) +++ rte_eth_af_packet.c (版本 44128) @@ -169,6 +169,29 @@ } /* + *

RE: [EXT] Re: [PATCH 1/2] app/mldev: fix build with debug

2023-03-20 Thread Srikanth Yalavarthi
> -Original Message- > From: David Marchand > Sent: 20 March 2023 16:11 > To: dev@dpdk.org > Cc: Srikanth Yalavarthi ; Anup Prabhu > > Subject: [EXT] Re: [PATCH 1/2] app/mldev: fix build with debug > > External Email > > --

Re: [PATCH 1/2] app/mldev: fix build with debug

2023-03-20 Thread David Marchand
On Mon, Mar 20, 2023 at 11:26 AM David Marchand wrote: > ../app/test-mldev/test_inference_common.c:952:48: note: using the range > [-2147483648, 2147483647] for directive argument > 952 | snprintf(str, sizeof(str) - 1, "%s.%d", > |

[PATCH 2/2] ci: test compilation with debug

2023-03-20 Thread David Marchand
We often miss compilation issues with -O0 -g. Add a test in GHA. Signed-off-by: David Marchand --- .ci/linux-build.sh | 8 +++- .github/workflows/build.yml | 4 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh index ab099438

[PATCH 1/2] app/mldev: fix build with debug

2023-03-20 Thread David Marchand
Compiling with -O0 and -g triggers these warnings: ../app/test-mldev/test_inference_common.c: In function ‘ml_request_finish’: ../app/test-mldev/test_inference_common.c:946:51: error: ‘.q.’ directive output may be truncated writing 3 bytes into a region of size between 0 an

RE: [PATCH v2 00/16] replace __atomic operations returning new value

2023-03-20 Thread Ruifeng Wang
> -Original Message- > From: Tyler Retzlaff > Sent: Thursday, March 16, 2023 5:15 AM > To: dev@dpdk.org > Cc: Honnappa Nagarahalli ; Ruifeng Wang > ; tho...@monjalon.net; Tyler Retzlaff > > Subject: [PATCH v2 00/16] replace __atomic operations returning new value > > This series replace

[Bug 1192] [dpdk-22.03][asan][mlx5]: detected memory leaks when detach and attach device

2023-03-20 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1192 Bug ID: 1192 Summary: [dpdk-22.03][asan][mlx5]: detected memory leaks when detach and attach device Product: DPDK Version: 23.03 Hardware: x86 OS: Linux

[PATCH v5] net/ice: fix ice dcf control thread crash

2023-03-20 Thread Mingjin Ye
The control thread accesses the hardware resources after the resources were released, which results in a segment error. The 'ice-reset' threads are detached, so thread resources cannot be reclaimed by `pthread_join` calls. This commit synchronizes the number of 'ice-reset' threads by adding two v

RE: [PATCH] test/crypto: fix errors for test stats testcase

2023-03-20 Thread Power, Ciara
Hi Saoirse, > -Original Message- > From: Saoirse O'Donovan > Sent: Monday 20 March 2023 09:30 > To: Thomas Monjalon ; Akhil Goyal > ; Fan Zhang > Cc: dev@dpdk.org; O'Donovan, Saoirse ; > sta...@dpdk.org; Doherty, Declan > Subject: [PATCH] test/crypto: fix errors for test stats testcase

RE: [EXT] [PATCH v2 22/44] net/mvneta: fix segment fault when parse devargs

2023-03-20 Thread Liron Himi
Acked-by: Liron Himi -Original Message- From: Chengwen Feng Sent: Monday, 20 March 2023 11:21 To: tho...@monjalon.net; ferruh.yi...@amd.com; Zyta Szpak ; Liron Himi ; Dmitri Epshtein ; Natalie Samsonov ; Andrzej Ostruszka ; Yelena Krivosheev Cc: dev@dpdk.org Subject: [EXT] [PATCH v2

RE: [EXT] [PATCH v2 23/44] net/mvpp2: fix segment fault when parse devargs

2023-03-20 Thread Liron Himi
Acked-by: Liron Himi -Original Message- From: Chengwen Feng Sent: Monday, 20 March 2023 11:21 To: tho...@monjalon.net; ferruh.yi...@amd.com; Liron Himi ; Tomasz Duszynski ; Jacek Siuda Cc: dev@dpdk.org Subject: [EXT] [PATCH v2 23/44] net/mvpp2: fix segment fault when parse devargs Ex

RE: [EXT] [PATCH v2 34/44] crypto/mvsam: fix segment fault when parse devargs

2023-03-20 Thread Liron Himi
Acked-by: Liron Himi -Original Message- From: Chengwen Feng Sent: Monday, 20 March 2023 11:21 To: tho...@monjalon.net; ferruh.yi...@amd.com; Michael Shamis ; Liron Himi ; Pablo de Lara ; Tomasz Duszynski Cc: dev@dpdk.org Subject: [EXT] [PATCH v2 34/44] crypto/mvsam: fix segment fault

[PATCH] test/crypto: fix errors for test stats testcase

2023-03-20 Thread Saoirse O'Donovan
The test stats testcase was printing the same error message for multiple errors in the test stats testcase. This is now replaced with descriptive error messages, which match the cause of the failure. Fixes: 202d375 ("app/test: add cryptodev unit and performance tests") Cc: sta...@dpdk.org Cc: decl

cryptodev API question with out of order support

2023-03-20 Thread Suanming Mou
Hi Declan, While reading the cryptodev API and define docs, I don't see some places mention the out of order support. Does current crypto enqueue and dequeue function support out of order mode? Or should we add a hint capability flag for that? Not sure if such topics have been discussed before,

[PATCH v2 44/44] raw/cnxk_gpio: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: d0b8a4e19131 ("raw/cnxk_gpio

[PATCH v2 42/44] event/sw: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: aaa4a221da26 ("event/sw: add

[PATCH v2 43/44] mempool/cnxk: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 0a50a5aad299 ("mempool/cnxk:

[PATCH v2 40/44] event/octeontx: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 3516327e00fd ("event/octeont

[PATCH v2 41/44] event/opdl: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 3c7f3dcfb099 ("event/opdl: a

[PATCH v2 37/44] event/cnxk: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 38c2e3240ba8 ("event/cnxk: a

[PATCH v2 39/44] event/dpaa: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 77b5311d0ece ("event/dpaa: s

[PATCH v2 38/44] event/dlb2: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 8d1d9070bbe9 ("event/dlb2: o

[PATCH v2 26/44] net/pfe: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 67fc3ff97c39 ("net/pfe: intr

[PATCH v2 31/44] crypto/cnxk: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 135e0b71fa30 ("crypto/cnxk:

[PATCH v2 35/44] crypto/scheduler: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 503e9c5afb38 ("crypto/schedu

[PATCH v2 36/44] dma/dpaa2: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 9e2f8ca6c224 ("dma/dpaa2: su

[PATCH v2 34/44] crypto/mvsam: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: 25b05a1c806b ("crypto/mvsam:

[PATCH v2 32/44] crypto/dpaa_sec: fix segment fault when parse devargs

2023-03-20 Thread Chengwen Feng
The rte_kvargs_process() was used to parse KV pairs, it also supports to parse 'only keys' (e.g. socket_id) type. And the callback function parameter 'value' is NULL when parsed 'only keys'. This patch fixes segment fault when parse input args with 'only keys'. Fixes: b1bbf222bef1 ("crypto/dpaa_s

  1   2   >