[PATCH v3 0/5] net/mlx5: support indirect quota flow action

2023-05-07 Thread Gregory Etelson
1. Prepare MLX5 PMD for upcoming indirect quota action. 2. Support query_update API. 3. Support indirect quota action. v3: prepare patches for dpdk-23.07 Gregory Etelson (5): net/mlx5: update query fields in async job structure net/mlx5: remove code duplication common/mlx5: update MTR ASO d

[PATCH v3 1/5] net/mlx5: update query fields in async job structure

2023-05-07 Thread Gregory Etelson
Query fields defined in `mlx5_hw_q_job` target CT type only. The patch updates `mlx5_hw_q_job` for other query types as well. Signed-off-by: Gregory Etelson Acked-by: Viacheslav Ovsiienko --- drivers/net/mlx5/mlx5.h | 10 +- drivers/net/mlx5/mlx5_flow_aso.c | 2 +- drivers/net

[PATCH v3 2/5] net/mlx5: remove code duplication

2023-05-07 Thread Gregory Etelson
Replace duplicated code with dedicated functions Signed-off-by: Gregory Etelson Acked-by: Viacheslav Ovsiienko --- drivers/net/mlx5/mlx5.h | 6 +- drivers/net/mlx5/mlx5_flow_hw.c | 182 2 files changed, 95 insertions(+), 93 deletions(-) diff --git a/d

[PATCH v3 3/5] common/mlx5: update MTR ASO definitions

2023-05-07 Thread Gregory Etelson
Update MTR ASO definitions for QUOTA flow action. Quota flow action requires WQE READ capability and access to token fields. Signed-off-by: Gregory Etelson Acked-by: Viacheslav Ovsiienko --- drivers/common/mlx5/mlx5_prm.h | 4 1 file changed, 4 insertions(+) diff --git a/drivers/common/ml

[PATCH v3 4/5] net/mlx5: add indirect QUOTA create/query/modify

2023-05-07 Thread Gregory Etelson
Implement HWS functions for indirect QUOTA creation, modification and query. Signed-off-by: Gregory Etelson Acked-by: Viacheslav Ovsiienko --- doc/guides/nics/features/mlx5.ini | 2 + doc/guides/nics/mlx5.rst | 10 + doc/guides/rel_notes/release_23_07.rst | 4 + drivers/

[PATCH v3 5/5] mlx5dr: Definer, translate RTE quota item

2023-05-07 Thread Gregory Etelson
MLX5 PMD implements QUOTA with Meter object. PMD Quota action translation implicitly increments Meter register value after HW assigns it. Meter register values are: HW QUOTA(HW+1) QUOTA state RED01 (01b) BLOCK YELLOW 12 (10b) PASS GREEN 2

[RFC PATCH v3] ethdev: add indirect list flow action

2023-05-07 Thread Gregory Etelson
Indirect API creates a shared flow action with unique action handle. Flow rules can access the shared flow action and resources related to that action through the indirect action handle. In addition, the API allows to update existing shared flow action configuration. After the update completes, ne

Re: [RFC] app/testpmd: use RSS conf from software when configuring DCB

2023-05-07 Thread zhoumin
Kindly ping. Should we solve this problem by modifying PMDs? Is it suitable to maintain the RSS configurations for NIC by testpmd in order to set DCB? On Thur, Apr 27, 2023 at 4:33PM, zhoumin wrote: Kindly ping. Any comments or suggestions will be appreciated. Best regards Min On 2023/4

RE: [RFC 0/4] Support VFIO sparse mmap in PCI bus

2023-05-07 Thread Xia, Chenbo
Gentle ping for some comments.. After rethink, personally I may choose option 2 as it will have no driver API change for PMDs and as I look at current code, that's how we do when MSI-X table can't be mmap-ed. Thanks, Chenbo > -Original Message- > From: Chenbo Xia > Sent: Tuesday, Apri

[PATCH] net/dpaa2: change threshold value

2023-05-07 Thread Tianli Lai
this threshold value can be changed with function argument nb_rx_desc. Signed-off-by: Tianli Lai --- drivers/net/dpaa2/dpaa2_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/dpaa2/dpaa2_ethdev.c b/drivers/net/dpaa2/dpaa2_ethdev.c index 679f33ae1a..ad892ded

[PATCH] net/dpaa2: set check sum good flags

2023-05-07 Thread Tianli Lai
set check sum good flags when dpaa2 hardware set check result. Signed-off-by: Tianli Lai --- drivers/net/dpaa2/dpaa2_rxtx.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/net/dpaa2/dpaa2_rxtx.c b/drivers/net/dpaa2/dpaa2_rxtx.c index f60e78e1fd..85910bbd

RE: [RFC 0/4] Support VFIO sparse mmap in PCI bus

2023-05-07 Thread Sunil Kumar Kori
+1 for option 2. Thanks & Regards Sunil Kumar Kori > -Original Message- > From: Xia, Chenbo > Sent: Monday, May 8, 2023 7:43 AM > To: dev@dpdk.org > Cc: Sunil Kumar Kori ; techbo...@dpdk.org; > tho...@monjalon.net; Richardson, Bruce ; > ferruh.yi...@amd.com; david.march...@redhat.com; Ca

[PATCH v2] app/test-pmd: fix not polling all queues without deferred starting

2023-05-07 Thread Jie Hai
Each stream has a read-only "disabled" field that control if this stream should be used to forward. This field depends on states of Rx/Tx queues, please see commit 3c4426db54fc ("app/testpmd: do not poll stopped queues"). Currently, the testpmd and DPDK frameworks maintain queue state separately.

RE: [PATCH] app/pdump: make dpdk-pdump can run multiple simultaneously

2023-05-07 Thread Chaoyong He
> -Original Message- > From: Stephen Hemminger > Sent: Saturday, May 6, 2023 11:48 PM > To: Chaoyong He > Cc: dev@dpdk.org; oss-drivers ; Niklas Soderlund > ; Nole Zhang > > Subject: Re: [PATCH] app/pdump: make dpdk-pdump can run multiple > simultaneously > > On Sat, 6 May 2023 16:52

Re: [PATCH v2] net/gve: add maintainers for GVE

2023-05-07 Thread Rushil Gupta
acked-by: Rushil Gupta On Thu, May 4, 2023 at 7:19 PM Junfeng Guo wrote: > > Add maintainers from Google for GVE. > > Signed-off-by: Junfeng Guo > Signed-off-by: Jeroen de Borst > Signed-off-by: Rushil Gupta > Signed-off-by: Joshua Washington > --- > MAINTAINERS | 3 +++ > 1 file changed,

RE: [PATCH] test/crypto: fix return value from session

2023-05-07 Thread Anoob Joseph
> > Fixing return value if session failure occurs due to unsupported feature. > > Fixes: eec136f3c54f ("aesni_gcm: add driver for AES-GCM crypto > operations") > Cc: sta...@dpdk.org > > Signed-off-by: Tejasree Kondoj Acked-by: Anoob Joseph

RE: [PATCH v3] net/ixgbe: add proper memory barriers for some Rx functions

2023-05-07 Thread Ruifeng Wang
> -Original Message- > From: Min Zhou > Sent: Saturday, May 6, 2023 6:24 PM > To: qi.z.zh...@intel.com; m...@smartsharesystems.com; > konstantin.v.anan...@yandex.ru; > qiming.y...@intel.com; wenjun1...@intel.com; zhou...@loongson.cn > Cc: Ruifeng Wang ; d...@linux.vnet.ibm.com; > roret...

Re: [PATCH] net/gve: Check whether the driver is compatible with the device presented.

2023-05-07 Thread Rushil Gupta
Thanks for reviewing Ferruh Yigit! I wanted to answer your queries before sending the next patch. Please find answers below: On Thu, May 4, 2023 at 8:06 AM Ferruh Yigit wrote: > > On 4/26/2023 10:37 PM, Rushil Gupta wrote: > > Change gve_driver_info fields to report DPDK as OS type and DPDK RTE

seeking community input on adapting DPDK to P4Runtime backend

2023-05-07 Thread Zhang, Qi Z
Hi: Our team is currently working on developing a DPDK PMD for a P4-programmed network controller, based on customer feedback to integrate DPDK into the P4Runtime backend .[https://p4.org/p4-spec/p4runtime/main/P4Runtime-Spec.html] (*) However, we are facing challenges in adapting DPDK's rte_fl