[PATCH v10 3/3] net/cnxk: skip red drop for ingress policer

2023-02-15 Thread Rakesh Kudurumalla
Dropping of packets is based on action configured to meter.If both skip_red and drop actions are configured then tail dropping in invoked else if only drop action is configured then RED drop is invoked.This action is supported only when RED is configured using rte_eth_cman_config_set() Signed-off-

Re: [PATCH] net/nfp: support 48-bit DMA address for firmware with NFDk

2023-02-15 Thread Niklas Söderlund
Hi Ferruh, Thanks for your continues effort in dealing with NFP patches. On 2023-02-15 13:42:01 +, Ferruh Yigit wrote: > On 2/8/2023 9:15 AM, Chaoyong He wrote: > > From: Peng Zhang > > > > 48-bit DMA address is supported in the firmware with NFDk, so enable > > this feature in PMD now. But

Re: [PATCH] doc: update NFP documentation with Corigine information

2023-02-15 Thread Niklas Söderlund
Hello Ferruh, Thanks for your feedback. On 2023-02-15 13:37:05 +, Ferruh Yigit wrote: > On 2/3/2023 8:08 AM, Chaoyong He wrote: > > From: Walter Heymans > > > > The NFP PMD documentation is updated to include information about > > Corigine and their new vendor device ID. > > > > Outdated i

Re: [PATCH] net/nfp: support 48-bit DMA address for firmware with NFDk

2023-02-15 Thread Ferruh Yigit
On 2/15/2023 5:47 PM, Niklas Söderlund wrote: > Hi Ferruh, > > Thanks for your continues effort in dealing with NFP patches. > > On 2023-02-15 13:42:01 +, Ferruh Yigit wrote: >> On 2/8/2023 9:15 AM, Chaoyong He wrote: >>> From: Peng Zhang >>> >>> 48-bit DMA address is supported in the firmwa

Re: [PATCH v7 20/22] hash: move rte_thash_gfni stubs out of header file

2023-02-15 Thread Medvedkin, Vladimir
Hi Stepthen, There is a problem with the build on a machine that supports GFNI: ../lib/hash/rte_thash_gfni.c:15:1: error: redefinition of ‘rte_thash_gfni’    15 | rte_thash_gfni(const uint64_t *mtrx __rte_unused,   | ^~ In file included from ../lib/hash/rte_thash_gfni.h:13,  

Re: [PATCH v3] hash: add XOR32 hash function

2023-02-15 Thread Bili Dong
Hi Morten, Thanks for your comments! For endianness conversion, I double-checked my usages. I did use both rte_cpu_to_be_32() and rte_be_to_cpu_32(). I might have missed something but I think I used them (4 occurrences) in a semantically meaningful way. Could you point me to the lines that are co

reminder - DPDK CI Community Testing Meeting - Tomorrow 2/15/23 @ 6am PT/9am ET/15:00h CET

2023-02-15 Thread Nathan Southern
Good evening, Tomorrow, Thu. Feb. 16, 2023, DPDK will hold its biweekly CI Community Testing Meeting at 6am PT/9am ET/15:00h CET. Zoom information to follow. We hope to see you there. Thanks, Nathan Nathan C. Southern, Project Coordinator Data Plane Development Kit The Linux Foundation 248.8

RE: [PATCH v6 00/21] add support for cpfl PMD in DPDK

2023-02-15 Thread Liu, Mingxia
Yes, this patchset is based on the idpf PMD code: http://patches.dpdk.org/project/dpdk/cover/20230206054618.40975-1-beilei.x...@intel.com/ http://patches.dpdk.org/project/dpdk/cover/20230106090501.9106-1-beilei.x...@intel.com/ http://patches.dpdk.org/project/dpdk/cover/20230207084549.2225214-1-wenj

RE: [PATCH v7 01/22] gso: don't log message on non TCP/UDP

2023-02-15 Thread Hu, Jiayu
> -Original Message- > From: Stephen Hemminger > Sent: Thursday, February 16, 2023 1:23 AM > To: dev@dpdk.org > Cc: Stephen Hemminger ; Hu, Jiayu > ; Mark Kavanagh > Subject: [PATCH v7 01/22] gso: don't log message on non TCP/UDP > > If a large packet is passed into GSO routines of unk

Re: [PATCH v2 6/6] test/dmadev: add tests for stopping and restarting dev

2023-02-15 Thread fengchengwen
On 2023/2/15 19:57, Bruce Richardson wrote: > On Wed, Feb 15, 2023 at 09:59:06AM +0800, fengchengwen wrote: >> On 2023/1/17 1:37, Bruce Richardson wrote: >>> Validate device operation when a device is stopped or restarted. >>> >>> The only complication - and gap in the dmadev ABI specification - is

[PATCH v7 00/21] add support for cpfl PMD in DPDK

2023-02-15 Thread Mingxia Liu
The patchset introduced the cpfl (Control Plane Function Library) PMD for Intel?? IPU E2100???s Configure Physical Function (Device ID: 0x1453) The cpfl PMD inherits all the features from idpf PMD which will follow an ongoing standard data plan function spec https://www.oasis-open.org/committees/t

[PATCH v7 01/21] net/cpfl: support device initialization

2023-02-15 Thread Mingxia Liu
Support device init and add the following dev ops: - dev_configure - dev_close - dev_infos_get - link_update - dev_supported_ptypes_get Signed-off-by: Mingxia Liu --- MAINTAINERS| 8 + doc/guides/nics/cpfl.rst | 66 +++ doc/guides/nics/features/c

[PATCH v7 02/21] net/cpfl: add Tx queue setup

2023-02-15 Thread Mingxia Liu
Add support for tx_queue_setup ops. In the single queue model, the same descriptor queue is used by SW to post buffer descriptors to HW and by HW to post completed descriptors to SW. In the split queue model, "RX buffer queues" are used to pass descriptor buffers from SW to HW while Rx queues are

[PATCH v7 03/21] net/cpfl: add Rx queue setup

2023-02-15 Thread Mingxia Liu
Add support for rx_queue_setup ops. Signed-off-by: Mingxia Liu --- drivers/net/cpfl/cpfl_ethdev.c | 11 ++ drivers/net/cpfl/cpfl_rxtx.c | 232 + drivers/net/cpfl/cpfl_rxtx.h | 6 + 3 files changed, 249 insertions(+) diff --git a/drivers/net/cpfl/cpfl_ethde

[PATCH v7 04/21] net/cpfl: support device start and stop

2023-02-15 Thread Mingxia Liu
Add dev ops dev_start, dev_stop and link_update. Signed-off-by: Mingxia Liu --- drivers/net/cpfl/cpfl_ethdev.c | 35 ++ 1 file changed, 35 insertions(+) diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl/cpfl_ethdev.c index 3029f03d02..d1dfcfff9b 1006

[PATCH v7 05/21] net/cpfl: support queue start

2023-02-15 Thread Mingxia Liu
Add support for these device ops: - rx_queue_start - tx_queue_start Signed-off-by: Mingxia Liu --- drivers/net/cpfl/cpfl_ethdev.c | 41 ++ drivers/net/cpfl/cpfl_rxtx.c | 138 + drivers/net/cpfl/cpfl_rxtx.h | 4 + 3 files changed, 183 insertions(+)

[PATCH v7 06/21] net/cpfl: support queue stop

2023-02-15 Thread Mingxia Liu
Add support for these device ops: - rx_queue_stop - tx_queue_stop Signed-off-by: Mingxia Liu --- drivers/net/cpfl/cpfl_ethdev.c | 10 +++- drivers/net/cpfl/cpfl_rxtx.c | 87 ++ drivers/net/cpfl/cpfl_rxtx.h | 3 ++ 3 files changed, 99 insertions(+), 1 deleti

[PATCH v7 07/21] net/cpfl: support queue release

2023-02-15 Thread Mingxia Liu
Add support for queue operations: - rx_queue_release - tx_queue_release Signed-off-by: Mingxia Liu --- drivers/net/cpfl/cpfl_ethdev.c | 2 ++ drivers/net/cpfl/cpfl_rxtx.c | 35 ++ drivers/net/cpfl/cpfl_rxtx.h | 2 ++ 3 files changed, 39 insertions(+) diff

[PATCH v7 08/21] net/cpfl: support MTU configuration

2023-02-15 Thread Mingxia Liu
Add dev ops mtu_set. Signed-off-by: Mingxia Liu --- doc/guides/nics/features/cpfl.ini | 1 + drivers/net/cpfl/cpfl_ethdev.c| 27 +++ 2 files changed, 28 insertions(+) diff --git a/doc/guides/nics/features/cpfl.ini b/doc/guides/nics/features/cpfl.ini index a2d1ca9e1

[PATCH v7 10/21] net/cpfl: support basic Tx data path

2023-02-15 Thread Mingxia Liu
Add basic Tx support in split queue mode and single queue mode. Signed-off-by: Mingxia Liu --- drivers/net/cpfl/cpfl_ethdev.c | 3 +++ drivers/net/cpfl/cpfl_rxtx.c | 20 drivers/net/cpfl/cpfl_rxtx.h | 1 + 3 files changed, 24 insertions(+) diff --git a/drivers/net/cpf

[PATCH v7 09/21] net/cpfl: support basic Rx data path

2023-02-15 Thread Mingxia Liu
Add basic Rx support in split queue mode and single queue mode. Signed-off-by: Mingxia Liu --- drivers/net/cpfl/cpfl_ethdev.c | 2 ++ drivers/net/cpfl/cpfl_rxtx.c | 18 ++ drivers/net/cpfl/cpfl_rxtx.h | 1 + 3 files changed, 21 insertions(+) diff --git a/drivers/net/cpfl/c

[PATCH v7 11/21] net/cpfl: support write back based on ITR expire

2023-02-15 Thread Mingxia Liu
Enable write back on ITR expire, then packets can be received one by Signed-off-by: Mingxia Liu --- drivers/net/cpfl/cpfl_ethdev.c | 45 +- drivers/net/cpfl/cpfl_ethdev.h | 2 ++ 2 files changed, 46 insertions(+), 1 deletion(-) diff --git a/drivers/net/cpfl/cpfl

[PATCH v7 12/21] net/cpfl: support RSS

2023-02-15 Thread Mingxia Liu
Add RSS support. Signed-off-by: Mingxia Liu --- drivers/net/cpfl/cpfl_ethdev.c | 51 ++ drivers/net/cpfl/cpfl_ethdev.h | 15 ++ 2 files changed, 66 insertions(+) diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl/cpfl_ethdev.c index 7e0630c605

[PATCH v7 13/21] net/cpfl: support Rx offloading

2023-02-15 Thread Mingxia Liu
Add Rx offloading support: - support CHKSUM and RSS offload for split queue model - support CHKSUM offload for single queue model Signed-off-by: Mingxia Liu --- doc/guides/nics/features/cpfl.ini | 2 ++ drivers/net/cpfl/cpfl_ethdev.c| 6 ++ 2 files changed, 8 insertions(+) diff --git

[PATCH v7 14/21] net/cpfl: support Tx offloading

2023-02-15 Thread Mingxia Liu
Add Tx offloading support: - support TSO for single queue model and split queue model. Signed-off-by: Mingxia Liu --- doc/guides/nics/features/cpfl.ini | 1 + drivers/net/cpfl/cpfl_ethdev.c| 8 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/guides/nics/features/c

[PATCH v7 15/21] net/cpfl: add AVX512 data path for single queue model

2023-02-15 Thread Mingxia Liu
Add support of AVX512 vector data path for single queue model. Signed-off-by: Wenjun Wu Signed-off-by: Mingxia Liu --- doc/guides/nics/cpfl.rst| 24 +- drivers/net/cpfl/cpfl_ethdev.c | 3 +- drivers/net/cpfl/cpfl_rxtx.c| 94 ++ dr

[PATCH v7 16/21] net/cpfl: support timestamp offload

2023-02-15 Thread Mingxia Liu
Add support for timestamp offload. Signed-off-by: Mingxia Liu --- doc/guides/nics/features/cpfl.ini | 1 + drivers/net/cpfl/cpfl_ethdev.c| 3 ++- drivers/net/cpfl/cpfl_rxtx.c | 7 +++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/doc/guides/nics/features/cpfl.ini b

[PATCH v7 17/21] net/cpfl: add AVX512 data path for split queue model

2023-02-15 Thread Mingxia Liu
Add support of AVX512 data path for split queue model. Signed-off-by: Wenjun Wu Signed-off-by: Mingxia Liu --- drivers/net/cpfl/cpfl_rxtx.c| 56 +++-- drivers/net/cpfl/cpfl_rxtx_vec_common.h | 20 - drivers/net/cpfl/meson.build| 6 ++- 3 file

[PATCH v7 18/21] net/cpfl: add HW statistics

2023-02-15 Thread Mingxia Liu
This patch add hardware packets/bytes statistics. Signed-off-by: Mingxia Liu --- drivers/net/cpfl/cpfl_ethdev.c | 86 ++ 1 file changed, 86 insertions(+) diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl/cpfl_ethdev.c index 1e40f3e55c..0fb9f0455b 100

[PATCH v7 19/21] net/cpfl: add RSS set/get ops

2023-02-15 Thread Mingxia Liu
Add support for these device ops: - rss_reta_update - rss_reta_query - rss_hash_update - rss_hash_conf_get Signed-off-by: Mingxia Liu --- drivers/net/cpfl/cpfl_ethdev.c | 270 - 1 file changed, 269 insertions(+), 1 deletion(-) diff --git a/drivers/net/cpfl/cpfl_e

[PATCH v7 20/21] net/cpfl: support scalar scatter Rx datapath for single queue model

2023-02-15 Thread Mingxia Liu
This patch add single q recv scatter Rx function. Signed-off-by: Wenjun Wu Signed-off-by: Mingxia Liu --- drivers/net/cpfl/cpfl_ethdev.c | 3 ++- drivers/net/cpfl/cpfl_rxtx.c | 27 +++ drivers/net/cpfl/cpfl_rxtx.h | 2 ++ 3 files changed, 31 insertions(+), 1 deleti

Re: [PATCH] eal/bsd: fix spinlock not unlock in alarm callback

2023-02-15 Thread fengchengwen
add cc maintainer On 2023/2/13 20:44, Chengwen Feng wrote: > The spinlock should unlock when clock_gettime() failed. This patch > fixes it by invoking clock_gettime() before lock. > > Fixes: 26021a715067 ("eal/bsd: support alarm API") > Cc: sta...@dpdk.org > > Signed-off-by: Chengwen Feng > ---

[PATCH v7 21/21] net/cpfl: add xstats ops

2023-02-15 Thread Mingxia Liu
Add support for these device ops: - dev_xstats_get - dev_xstats_get_names - dev_xstats_reset Signed-off-by: Mingxia Liu --- drivers/net/cpfl/cpfl_ethdev.c | 80 ++ 1 file changed, 80 insertions(+) diff --git a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl/cpf

RE: [PATCH v5] enhance NUMA affinity heuristic

2023-02-15 Thread You, KaisenX
> -Original Message- > From: Burakov, Anatoly > Sent: 2023年2月15日 22:23 > To: You, KaisenX ; dev@dpdk.org > Cc: Zhou, YidingX ; tho...@monjalon.net; > david.march...@redhat.com; Matz, Olivier ; > ferruh.yi...@amd.com; zhou...@loongson.cn; sta...@dpdk.org > Subject: Re: [PATCH v5] enhance

Re: [External] Re: [PATCH] malloc: fix malloc performance may becomes worse as the number of malloc increases

2023-02-15 Thread Fengnan Chang
Stephen Hemminger 于2023年2月16日周四 01:16写道: > > On Wed, 15 Feb 2023 12:10:23 +0100 > Morten Brørup wrote: > > > Looking isolated at the patch itself... > > > > I agree with the way the patch modifies the ranges of the free list, and > > the consequential removal of the "- 1" from the calculation of

RE: [PATCH v4 11/12] app/mldev: enable reporting stats in mldev app

2023-02-15 Thread Anup Prabhu
> -Original Message- > From: Srikanth Yalavarthi > Sent: Tuesday, February 7, 2023 9:20 PM > To: Srikanth Yalavarthi > Cc: dev@dpdk.org; Shivah Shankar Shankar Narayan Rao > ; Jerin Jacob Kollanukkaran > ; Anup Prabhu ; Prince Takkar > ; Parijat Shukla > Subject: [PATCH v4 11/12] app/m

RE: [PATCH v5 39/39] ml/cnxk: enable support for configurable ocm page

2023-02-15 Thread Prince Takkar
> -Original Message- > From: Srikanth Yalavarthi > Sent: Tuesday, February 7, 2023 9:37 PM > To: Srikanth Yalavarthi > Cc: dev@dpdk.org; Shivah Shankar Shankar Narayan Rao > ; Jerin Jacob Kollanukkaran ; > Anup Prabhu ; Prince Takkar ; > Parijat Shukla > Subject: [PATCH v5 39/39] ml/cn

RE: [PATCH v5 32/39] ml/cnxk: enable support to get xstats in cycles

2023-02-15 Thread Prince Takkar
> -Original Message- > From: Srikanth Yalavarthi > Sent: Tuesday, February 7, 2023 9:37 PM > To: Srikanth Yalavarthi > Cc: dev@dpdk.org; Shivah Shankar Shankar Narayan Rao > ; Jerin Jacob Kollanukkaran ; > Anup Prabhu ; Prince Takkar ; > Parijat Shukla > Subject: [PATCH v5 32/39] ml/cn

RE: [PATCH v5 38/39] ml/cnxk: add user guide for marvell cnxk ml driver

2023-02-15 Thread Prince Takkar
> -Original Message- > From: Srikanth Yalavarthi > Sent: Tuesday, February 7, 2023 9:37 PM > To: Thomas Monjalon ; Srikanth Yalavarthi > > Cc: dev@dpdk.org; Shivah Shankar Shankar Narayan Rao > ; Jerin Jacob Kollanukkaran ; > Anup Prabhu ; Prince Takkar ; > Parijat Shukla > Subject: [P

[PATCH v1] net/mlx5: enable hint in async table

2023-02-15 Thread Rongwei Liu
Driver gets the hint value from rte_table_attr for async flow. Parse the value and pass the supported value to hardware accordingly. Signed-off-by: Rongwei Liu Acked-by: Ori Kam --- drivers/net/mlx5/mlx5_flow_hw.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/net/mlx5/mlx

[PATCH] net/nfp: remove the unneeded check logic

2023-02-15 Thread Chaoyong He
Remove the unneeded check logic of ingress and egress flow attribute. After the OVS commit c7da49bc ("netdev-offload-dpdk: Fix transfer flows"), the flow can not offload anymore if we don't do this modification. Signed-off-by: Chaoyong He Reviewed-by: Niklas Söderlund --- drivers/net/nfp/nfp_fl

[PATCH] net/nfp: only flush specified port flow table

2023-02-15 Thread Chaoyong He
From: Jin Liu The flow flush function will destroy all the flow table on all the port of NFP nic rather than the provide port. Modify logic, only destroy the flow table on the corresponding port. Fixes: 30ecce522732 ("net/nfp: support flow API") Cc: sta...@dpdk.org Signed-off-by: Jin Liu Revie

RE: [RFC] eal: use same atomic intrinsics for gcc and clang

2023-02-15 Thread Ruifeng Wang
> -Original Message- > From: Honnappa Nagarahalli > Sent: Saturday, February 11, 2023 9:56 AM > To: roret...@linux.microsoft.com; bruce.richard...@intel.com; > m...@smartsharesystems.com > Cc: dev@dpdk.org; Honnappa Nagarahalli ; > Ruifeng Wang > ; jer...@marvell.com; nd ; > sta...@dpdk

Re: [PATCH v4 3/3] ring: add telemetry cmd for ring info

2023-02-15 Thread lihuisong (C)
在 2023/2/10 10:48, Jie Hai 写道: This patch supports dump of ring information by its name. An example using this command is shown below: --> /ring/info,MP_mb_pool_0 { "/ring/info": { "name": "MP_mb_pool_0", "socket": 0, "flags": "0x0", "producer_type": "MP", "consumer

Re: [PATCH v4 2/3] ring: add telemetry cmd to list rings

2023-02-15 Thread lihuisong (C)
在 2023/2/10 10:48, Jie Hai 写道: Add a telemetry command to list the rings used in the system. An example using this command is shown below: --> /ring/list { "/ring/list": [ "HT_:7d:00.2", "MP_mb_pool_0" ] } Signed-off-by: Jie Hai Acked-by: Konstantin Ananyev Reviewed-by:

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

2023-02-15 Thread Chaoyong He
App may not support the LACP negotiation in some cases. This patch series solves this problem and add logics to testpmd app to support the forward of bonding port in mode 4 with the disabled dedicated queue. Long Wu (2): net/bonding: add independent LACP sending function app/testpmd: add suppo

[PATCH 1/2] net/bonding: add independent LACP sending function

2023-02-15 Thread Chaoyong He
From: Long Wu Sending LACP control packets depends on calling the bonding port's sending function if we disable dedicated queue. In some cases app would not call the bonding port's sending function if there are only LACP control packets and the negotiation between the two bonding ports will fail.

[PATCH 2/2] app/testpmd: add support for bonding port's LACP negotiation

2023-02-15 Thread Chaoyong He
From: Long Wu If bonding port is mode4 with disabling dedicated queue and there are no other packets, forward loop will not call port's TX function and bonding port will not send LACP packets. Add sending LACP packets periodically in forward loop to avoid LACP negotiation failed. Signed-off-by:

RE: [PATCH v10 1/4] lib: add generic support for reading PMU events

2023-02-15 Thread Ruifeng Wang
> -Original Message- > From: Tomasz Duszynski > Sent: Monday, February 13, 2023 7:32 PM > To: dev@dpdk.org; tho...@monjalon.net; Tomasz Duszynski > > Cc: roret...@linux.microsoft.com; Ruifeng Wang ; > bruce.richard...@intel.com; jer...@marvell.com; mattias.ronnb...@ericsson.com; > m...@s

RE: [PATCH v10 2/4] pmu: support reading ARM PMU events in runtime

2023-02-15 Thread Ruifeng Wang
> -Original Message- > From: Tomasz Duszynski > Sent: Monday, February 13, 2023 7:32 PM > To: dev@dpdk.org; Tomasz Duszynski ; Ruifeng Wang > > Cc: roret...@linux.microsoft.com; Ruifeng Wang ; > bruce.richard...@intel.com; jer...@marvell.com; mattias.ronnb...@ericsson.com; > m...@smartsha

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

2023-02-15 Thread Zhang, Ke1X
> -Original Message- > From: Thomas Monjalon > Sent: Tuesday, February 14, 2023 7:03 PM > To: Zhang, Ke1X > Cc: Zhang, Qi Z ; Yang, Qiming > ; dev@dpdk.org; Tyler Retzlaff > > Subject: Re: [PATCH v2] net/ice: fix ice dcf control thread crash > > 13/02/2023 08:16, Ke Zhang: > > --- a/

<    1   2