Re: [PATCH v7] ethdev: add special flags when creating async transfer table

2023-01-17 Thread Andrew Rybchenko
On 1/17/23 18:13, Ferruh Yigit wrote: On 11/14/2022 11:59 AM, Rongwei Liu wrote: In case flow rules match only one kind of traffic in a flow table, then optimization can be done via allocation of this table. Such optimization is possible only if the application gives a hint about its usage of th

Re: [PATCH v7] ethdev: add special flags when creating async transfer table

2023-01-17 Thread Andrew Rybchenko
On 11/14/22 14:59, Rongwei Liu wrote: In case flow rules match only one kind of traffic in a flow table, then optimization can be done via allocation of this table. Such optimization is possible only if the application gives a hint about its usage of the table during initial configuration. The t

Re: [PATCH v5 2/4] eal: remove thread getname API

2023-01-17 Thread Jerin Jacob
On Tue, Jan 17, 2023 at 11:51 PM Tyler Retzlaff wrote: > > Remove the rte_thread_getname API. The API is __rte_experimental and > requires no deprecation notice. > > Fold the platform specific variants into the one place it is used as a > special case to retain the functionality for linux only. >

[PATCH 8/8] net/txgbe: add SFP hot-plug identification support

2023-01-17 Thread Jiawen Wu
Support to identify the new SFP/SFP+ module when the device is started. Signed-off-by: Jiawen Wu --- doc/guides/rel_notes/release_23_03.rst | 1 + drivers/net/txgbe/base/txgbe_regs.h| 1 + drivers/net/txgbe/txgbe_ethdev.c | 70 +++--- 3 files changed, 65 insertion

[PATCH 7/8] net/txgbe: add chip overheat support

2023-01-17 Thread Jiawen Wu
Support to handle overheat interrupt. Signed-off-by: Jiawen Wu --- doc/guides/rel_notes/release_23_03.rst | 4 drivers/net/txgbe/base/txgbe_hw.c | 1 + drivers/net/txgbe/base/txgbe_phy.c | 22 ++ drivers/net/txgbe/base/txgbe_phy.h | 1 + drivers/net/txgbe/txg

[PATCH 6/8] net/ngbe: add chip overheat support

2023-01-17 Thread Jiawen Wu
Support to handle overheat interrupt. Signed-off-by: Jiawen Wu --- doc/guides/rel_notes/release_23_03.rst | 4 drivers/net/ngbe/ngbe_ethdev.c | 32 +- drivers/net/ngbe/ngbe_ethdev.h | 1 + 3 files changed, 36 insertions(+), 1 deletion(-) diff --git

[PATCH 4/8] net/ngbe: fix packet type to parse from offload flags

2023-01-17 Thread Jiawen Wu
In some external applications, developers may fill in wrong packet_type in rte_mbuf for transmission. It will result in Tx ring hang when Tx checksum offload is on. So change it to parse from ol_flags. And remove redundant tunnel type since the NIC does not support it. Fixes: 9f3206140274 ("net/ng

[PATCH 5/8] net/ngbe: add spinlock protection on YT PHY

2023-01-17 Thread Jiawen Wu
For yt8521s/yt8531s PHY, if other registers are accessing between reads/writes of ext field registers, the value of ext filed registers will get weird for unknown reasons. So it's protected when all of ext field registers accessing. Fixes: 44e97550ca68 ("net/ngbe: identify and reset PHY") Cc: sta.

[PATCH 3/8] net/txgbe: fix packet type to parse from offload flags

2023-01-17 Thread Jiawen Wu
In some external applications, developers may fill in wrong packet_type in rte_mbuf for transmission. It will result in Tx ring hang when Tx checksum offload is on. So change it to parse from ol_flags. Fixes: ca46fcd753b1 ("net/txgbe: support Tx with hardware offload") Cc: sta...@dpdk.org Signed-

[PATCH 2/8] net/txgbe: fix default signal quality value for KX/KX4

2023-01-17 Thread Jiawen Wu
On old firmware versions, the default value of signal quality(TX_EQ) is configured by the driver. Fix it for KX/KX4 mode. Fixes: 01c3cf5c85a7 ("net/txgbe: add autoneg control read and write") Cc: sta...@dpdk.org Signed-off-by: Jiawen Wu --- drivers/net/txgbe/base/txgbe_phy.c | 7 --- 1 file

[PATCH 1/8] net/txgbe: fix Rx buffer size in configure register

2023-01-17 Thread Jiawen Wu
When round up buffer size to 1K, to configure the register, hardware will receive packets exceeding the buffer size in LRO mode. It will cause a segment fault in the receive function. Fixes: be797cbf4582 ("net/txgbe: add Rx and Tx init") Cc: sta...@dpdk.org Signed-off-by: Jiawen Wu --- drivers/

[PATCH 0/8] Wangxun fixes and new supports

2023-01-17 Thread Jiawen Wu
Fix some bugs and support to process more interrupt events. Jiawen Wu (8): net/txgbe: fix Rx buffer size in configure register net/txgbe: fix default signal quality value for KX/KX4 net/txgbe: fix packet type to parse from offload flags net/ngbe: fix packet type to parse from offload flags

RE: [PATCH v4 03/15] common/idpf: add virtual channel functions

2023-01-17 Thread Zhang, Qi Z
> -Original Message- > From: Zhang, Qi Z > Sent: Wednesday, January 18, 2023 12:00 PM > To: Xing, Beilei ; Wu, Jingjing > Cc: dev@dpdk.org; Wu, Wenjun1 > Subject: RE: [PATCH v4 03/15] common/idpf: add virtual channel functions > > > > > -Original Message- > > From: Xing, Bei

RE: [PATCH v4 03/15] common/idpf: add virtual channel functions

2023-01-17 Thread Zhang, Qi Z
> -Original Message- > From: Xing, Beilei > Sent: Tuesday, January 17, 2023 4:06 PM > To: Wu, Jingjing > Cc: dev@dpdk.org; Zhang, Qi Z ; Xing, Beilei > ; Wu, Wenjun1 > Subject: [PATCH v4 03/15] common/idpf: add virtual channel functions > > From: Beilei Xing > > Move most of the vi

[PATCH v7 1/1] common/idpf: add AVX512 data path for split queue model

2023-01-17 Thread Wenjun Wu
Add support of AVX512 data path for split queue model. Signed-off-by: Wenjun Wu Reviewed-by: Wenjing Qiao Acked-by: Wenzhuo Lu --- drivers/common/idpf/idpf_common_rxtx.c| 22 +- drivers/common/idpf/idpf_common_rxtx.h| 19 +- drivers/common/idpf/idpf_common_rxtx_avx512.c | 797

[PATCH v7 0/1] Add support AVX512 split queue datapath

2023-01-17 Thread Wenjun Wu
This patchset enables AVX512 data path for split queue model. It is based on the below pathset 1. https://patches.dpdk.org/project/dpdk/cover/20230117080622.105657-1-beilei.x...@intel.com/ v3: fix logical error. v4: rebase to the new baseline. v5: fix compilation error. v6: remove unexpected ch

[RFC 8/8] net/gve: add AdminQ command to verify driver compatibility

2023-01-17 Thread Junfeng Guo
Check whether the driver is compatible with the device presented. Signed-off-by: Rushil Gupta Signed-off-by: Jordan Kimbrough Signed-off-by: Junfeng Guo Signed-off-by: Jeroen de Borst --- drivers/net/gve/base/gve_adminq.c | 19 ++ drivers/net/gve/base/gve_adminq.h | 48 +++

[RFC 7/8] net/gve: support jumbo frame for GQI

2023-01-17 Thread Junfeng Guo
Add multi-segment support to enable GQI Rx Jumbo Frame. Signed-off-by: Jordan Kimbrough Signed-off-by: Rushil Gupta Signed-off-by: Junfeng Guo Signed-off-by: Jeroen de Borst --- drivers/net/gve/gve_ethdev.h | 8 +++ drivers/net/gve/gve_rx.c | 128 ++- 2 f

[RFC 6/8] net/gve: support basic stats for DQO

2023-01-17 Thread Junfeng Guo
Add basic stats support for DQO. Signed-off-by: Junfeng Guo Signed-off-by: Rushil Gupta Signed-off-by: Jordan Kimbrough Signed-off-by: Jeroen de Borst --- drivers/net/gve/gve_ethdev.c | 60 drivers/net/gve/gve_ethdev.h | 11 +++ drivers/net/gve/gve_rx_

[RFC 5/8] net/gve: support basic Rx data path for DQO

2023-01-17 Thread Junfeng Guo
Add basic Rx data path support for DQO. Signed-off-by: Junfeng Guo Signed-off-by: Rushil Gupta Signed-off-by: Jordan Kimbrough Signed-off-by: Jeroen de Borst --- drivers/net/gve/gve_ethdev.c | 1 + drivers/net/gve/gve_ethdev.h | 3 + drivers/net/gve/gve_rx_dqo.c | 128

[RFC 4/8] net/gve: support basic Tx data path for DQO

2023-01-17 Thread Junfeng Guo
Add basic Tx data path support for DQO. Signed-off-by: Junfeng Guo Signed-off-by: Rushil Gupta Signed-off-by: Jordan Kimbrough Signed-off-by: Jeroen de Borst --- drivers/net/gve/gve_ethdev.c | 1 + drivers/net/gve/gve_ethdev.h | 4 + drivers/net/gve/gve_tx_dqo.c | 141

[RFC 3/8] net/gve: support queue release and stop for DQO

2023-01-17 Thread Junfeng Guo
Add support for queue operations: - gve_tx_queue_release_dqo - gve_rx_queue_release_dqo - gve_stop_tx_queues_dqo - gve_stop_rx_queues_dqo Signed-off-by: Junfeng Guo Signed-off-by: Rushil Gupta Signed-off-by: Jordan Kimbrough Signed-off-by: Jeroen de Borst --- drivers/net/gve/gve_ethdev.c

[RFC 2/8] net/gve: support device start and close for DQO

2023-01-17 Thread Junfeng Guo
Add device start and close support for DQO. Signed-off-by: Junfeng Guo Signed-off-by: Rushil Gupta Signed-off-by: Jordan Kimbrough Signed-off-by: Jeroen de Borst --- drivers/net/gve/base/gve_adminq.c | 10 +++ drivers/net/gve/gve_ethdev.c | 43 ++- 2 files

[RFC 0/8] gve PMD enhancement

2023-01-17 Thread Junfeng Guo
This patch set includs three main enhancements for gve PMD: - support basic data path for DQO queue format - support jumbo frame for GQI queue format - add new AdminQ cmd to verify driver compatibility Junfeng Guo (8): net/gve: add Rx queue setup for DQO net/gve: support device start and cl

[RFC 1/8] net/gve: add Rx queue setup for DQO

2023-01-17 Thread Junfeng Guo
Add support for rx_queue_setup_dqo ops. Signed-off-by: Junfeng Guo Signed-off-by: Rushil Gupta Signed-off-by: Jordan Kimbrough Signed-off-by: Jeroen de Borst --- drivers/net/gve/gve_ethdev.c | 1 + drivers/net/gve/gve_ethdev.h | 14 drivers/net/gve/gve_rx_dqo.c | 148 +

RE: [PATCH v7] ethdev: add special flags when creating async transfer table

2023-01-17 Thread Rongwei Liu
HI Ferruh: BR Rongwei > -Original Message- > From: Ferruh Yigit > Sent: Wednesday, January 18, 2023 01:02 > To: Rongwei Liu ; Matan Azrad ; > Slava Ovsiienko ; Ori Kam ; > Aman Singh ; Yuying Zhang > ; Andrew Rybchenko > ; Ivan Malov ; > NBU-Contact-Thomas Monjalon (EXTERNAL) > Cc: dev@

RE: [PATCH] net/af_xdp: parse numa node id from sysfs

2023-01-17 Thread Du, Frank
> -Original Message- > From: Ferruh Yigit > Sent: Tuesday, January 17, 2023 5:14 PM > To: Du, Frank ; Loftus, Ciara > Cc: dev@dpdk.org > Subject: Re: [PATCH] net/af_xdp: parse numa node id from sysfs > > On 1/17/2023 1:35 AM, Du, Frank wrote: > > Moved down, please don't top post. > >

RE: [PATCH v2] app/dma-perf: introduce dma-perf application

2023-01-17 Thread Jiang, Cheng1
Hi Bruce, > -Original Message- > From: Richardson, Bruce > Sent: Tuesday, January 17, 2023 10:04 PM > To: Jiang, Cheng1 > Cc: tho...@monjalon.net; m...@smartsharesystems.com; dev@dpdk.org; Hu, > Jiayu ; Ding, Xuan ; Ma, WenwuX > ; Wang, YuanX ; He, > Xingguang > Subject: Re: [PATCH v2]

[PATCH v1 5/6] baseband/acc: rename of remaining acc200 prefix to vrb1

2023-01-17 Thread Nicolas Chautru
Rename remaining variable, comments and enums names when generic usage is applicable. VRB1 is specific to current HW support and VRB is more generic. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/acc_common.h | 12 +- drivers/baseband/acc/rte_acc100_pmd.c | 4 +-

[PATCH v1 6/6] doc: updated naming convention for acc200 PMD

2023-01-17 Thread Nicolas Chautru
The documentation for the Intel vRAN Boost PMD is being updated in term of filename and content to match with new branding and product name. Signed-off-by: Nicolas Chautru --- .../bbdevs/features/{acc200.ini => vrb1.ini} | 2 +- doc/guides/bbdevs/{acc200.rst => vrb1.rst}| 33 ++

[PATCH v1 4/6] baseband/acc: update prefix for VRB PMD functions

2023-01-17 Thread Nicolas Chautru
Include vrb_ prefix for all generic functions for VRB PMD. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/rte_vrb_pmd.c | 248 ++--- drivers/baseband/acc/vrb_pmd.h | 2 +- 2 files changed, 124 insertions(+), 126 deletions(-) diff --git a/drivers/baseband/a

[PATCH v1 3/6] baseband/acc: adding prefix to VRB1 registers

2023-01-17 Thread Nicolas Chautru
Adding prefix to register names specific to VRB1 (ACC200) to avoid future enum collision. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/acc200_pf_enum.h | 174 +- drivers/baseband/acc/acc200_vf_enum.h | 128 +-- drivers/baseband/acc/rte_vrb_pmd.c

[PATCH v1 2/6] baseband/acc: extension of the device structure

2023-01-17 Thread Nicolas Chautru
Make the device structure more generic so that to have personnalization of the VRB PMD to support multiple variants. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/acc200_pf_enum.h | 8 +- drivers/baseband/acc/acc_common.h | 6 ++ drivers/baseband/acc/rte_vrb_pmd.c| 134

[PATCH v1 1/6] baseband/acc: file renaming from acc200 to generic vrb

2023-01-17 Thread Nicolas Chautru
Renaming files as part of refactor to have generic intel vRAN Boost PMD (vrb) whose acc200 is only one variant. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/meson.build | 2 +- drivers/baseband/acc/rte_acc100_pmd.c| 2 +- drivers/baseband/ac

[PATCH v1 0/6] baseband/acc: ACC200 PMD refactor and rename

2023-01-17 Thread Nicolas Chautru
In this serie we are renaming the ACC200PMD to a more generic VRB PMD (Intel vRAN Boost). The 2nd commit is also making sure this is future prood to be able to support both the first implementation of VRB (The one in SPR-EE) as well as future implementations of integrated product. Most of changes a

Re: [PATCH v7 4/4] eal: add nonnull and access function attributes

2023-01-17 Thread Tyler Retzlaff
On Tue, Jan 17, 2023 at 09:19:22AM +0100, Morten Brørup wrote: > > From: Ferruh Yigit [mailto:ferruh.yi...@amd.com] > > Sent: Monday, 16 January 2023 18.02 > > > > On 1/16/2023 1:07 PM, Morten Brørup wrote: > > > Add nonnull function attribute to help the compiler detect a NULL > > > pointer being

Re: [PATCH] build: fix missing crypto vec limits in version

2023-01-17 Thread Thomas Monjalon
17/01/2023 17:25, Jerin Jacob: > On Tue, Dec 6, 2022 at 2:58 PM Zhang, Fan wrote: > > > > On 12/6/2022 9:23 AM, Volodymyr Fialko wrote: > > > Add missing function `rte_event_crypto_adapter_vector_limits_get` to > > > version.map. > > > > > > Fixes: c1749bc5ee10 ("eventdev: introduce event cryptode

Re: [PATCH v4 2/4] eal: remove thread getname API

2023-01-17 Thread Tyler Retzlaff
On Tue, Jan 17, 2023 at 01:19:25PM +0530, Jerin Jacob wrote: > On Sat, Jan 14, 2023 at 12:22 AM Tyler Retzlaff > wrote: > > > > Remove the rte_thread_getname API. The API is __rte_experimental and > > requires no deprecation notice. > > > > Fold the platform specific variants into the one place i

[PATCH v5 2/4] eal: remove thread getname API

2023-01-17 Thread Tyler Retzlaff
Remove the rte_thread_getname API. The API is __rte_experimental and requires no deprecation notice. Fold the platform specific variants into the one place it is used as a special case to retain the functionality for linux only. Adjust the function as follows. * limit use of this very platform g

[PATCH v5 1/4] eal: add thread set name API operating on rte thread

2023-01-17 Thread Tyler Retzlaff
Add a rte_thread_set_name that sets the name of an rte_thread_t thread. This is a replacement for the rte_thread_setname(pthread_t, ...) which exposes platform-specific details. Signed-off-by: Tyler Retzlaff --- Series-acked-by: Morten Brørup lib/eal/common/eal_common_thread.c | 9 +++-

[PATCH v5 0/4] add rte_thread_set_name API for rte_thread_t

2023-01-17 Thread Tyler Retzlaff
Replace the rte_thread_setname API which operates on pthread_t with rte_thread_set_name that operates on rte_thread_t. We should try to align tracing output from the EAL for all platforms but in this case we are retaining an exception for linux as requested from the community. v5: * rename rt

[PATCH v5 4/4] eal: deprecate rte thread setname API

2023-01-17 Thread Tyler Retzlaff
Notify deprecation of rte_thread_setname API, it is being removed as it exposes platform-specific thread details. The functionality it provided is now implicitly provided via the rte_lcore_set_name API if the underlying platform supports it. Signed-off-by: Tyler Retzlaff --- doc/guides/rel_notes

[PATCH v5 3/4] drivers: mlx5 use rte thread set name

2023-01-17 Thread Tyler Retzlaff
Use the new internal rte_thread_set_name API instead of the now deprecated rte_thread_setname API. Signed-off-by: Tyler Retzlaff --- drivers/net/mlx5/mlx5_hws_cnt.c | 3 ++- drivers/vdpa/mlx5/mlx5_vdpa_event.c | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/ne

Re: [PATCH v7] ethdev: add special flags when creating async transfer table

2023-01-17 Thread Ferruh Yigit
On 1/17/2023 3:13 PM, Ferruh Yigit wrote: > On 11/14/2022 11:59 AM, Rongwei Liu wrote: >> In case flow rules match only one kind of traffic in a flow table, >> then optimization can be done via allocation of this table. >> Such optimization is possible only if the application gives a hint >> about

Re: [PATCH v2] net/nfp: store counter reset before zeroing flow query

2023-01-17 Thread Ferruh Yigit
On 12/9/2022 8:17 AM, Chaoyong He wrote: > The reset flag in the query structure are cleared by mistake, cause > the flow count never be reset, so the query API will always has count > value even the flow has stopped, and this will cause the flow never > been aged. > > Fixes: 30ecce522732 ("net/nf

Re: [PATCH v3] app/dma-perf: introduce dma-perf application

2023-01-17 Thread Bruce Richardson
On Tue, Jan 17, 2023 at 12:05:26PM +, Cheng Jiang wrote: > There are many high-performance DMA devices supported in DPDK now, and > these DMA devices can also be integrated into other modules of DPDK as > accelerators, such as Vhost. Before integrating DMA into applications, > developers need t

[PATCH v1 13/13] test/bbdev: remove iteration count check

2023-01-17 Thread Hernan Vargas
To make the test compatible with devices that do not support early termination, the iteration count assert can be removed. Signed-off-by: Hernan Vargas --- app/test-bbdev/test_bbdev_perf.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/test-bbdev/test_bbdev_perf.c b

[PATCH v1 12/13] test/bbdev: remove check for invalid opaque data

2023-01-17 Thread Hernan Vargas
Assert also if the opaque date is invalid. Signed-off-by: Hernan Vargas --- app/test-bbdev/test_bbdev_perf.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev_perf.c index 0930786fda..81bf2c8b60 100644 --- a/a

[PATCH v1 11/13] test/bbdev: expose warning counters

2023-01-17 Thread Hernan Vargas
Print warnings reported on queues for offload test. No functional impact. Signed-off-by: Hernan Vargas --- app/test-bbdev/test_bbdev_perf.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev_perf.c index 1d18d9e054..0930786fda 1006

[PATCH v1 10/13] test/bbdev: adjustment for soft output

2023-01-17 Thread Hernan Vargas
Extend bbdev-test for soft output check, notably due to the logic in bbdev-test to enable termination changing. Signed-off-by: Hernan Vargas --- app/test-bbdev/test_bbdev_perf.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/app/test-bbdev/test_b

[PATCH v1 09/13] test/bbdev: bbdev-test cannot compare some scenarios

2023-01-17 Thread Hernan Vargas
Updating logic for compression usecases. Signed-off-by: Hernan Vargas --- app/test-bbdev/test_bbdev_perf.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev_perf.c index fdf7a28ba2..3b2578baf6 100644 --- a/ap

[PATCH v1 07/13] test/bbdev: add support for BLER for 4G

2023-01-17 Thread Hernan Vargas
New feature to add BLER support for 4G in bbdev-test. Signed-off-by: Hernan Vargas --- app/test-bbdev/test_bbdev_perf.c | 184 ++- 1 file changed, 183 insertions(+), 1 deletion(-) diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev_perf.c index

[PATCH v1 08/13] test/bbdev: extend support for large TB

2023-01-17 Thread Hernan Vargas
Add support for large TB when it cannot fit into a true mbuf. Signed-off-by: Hernan Vargas --- app/test-bbdev/test_bbdev_perf.c | 21 - 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev_perf.c index 69b

[PATCH v1 06/13] test/bbdev: log capture from queue stop

2023-01-17 Thread Hernan Vargas
Improve log capture in bbdev not requiring standard output. Signed-off-by: Hernan Vargas --- app/test-bbdev/test_bbdev_perf.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev_perf.c index 36ea399938..ffb2de0604

[PATCH v1 05/13] test/bbdev: report device status in bbdev-test

2023-01-17 Thread Hernan Vargas
No functional impact. Signed-off-by: Hernan Vargas --- app/test-bbdev/test_bbdev_perf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev_perf.c index 12fa988da6..36ea399938 100644 --- a/app/test-bbdev/test_bbdev_perf.c +++ b/app/t

[PATCH v1 04/13] test/bbdev: early termination not explicit set

2023-01-17 Thread Hernan Vargas
Early termination needs to be explicitly enabled. Signed-off-by: Hernan Vargas --- app/test-bbdev/test_bbdev_perf.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev_perf.c index 14fe76eb64..12fa988da6 100

[PATCH v1 03/13] test/bbdev: add timeout for latency tests

2023-01-17 Thread Hernan Vargas
Add a timeout to force exit the latency tests in case dequeue never happens. Signed-off-by: Hernan Vargas --- app/test-bbdev/test_bbdev_perf.c | 26 +- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bb

[PATCH v1 02/13] test/bbdev: refactor TB throughput report

2023-01-17 Thread Hernan Vargas
Refactor calculation for tb_size. No functional impact. Signed-off-by: Hernan Vargas --- app/test-bbdev/test_bbdev_perf.c | 11 --- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev_perf.c index cc7b5481d6..1a8a6b9f

[PATCH v1 00/13] test/bbdev: changes for 23.03

2023-01-17 Thread Hernan Vargas
Upstreaming bbdev-test changes for 23.03. Hernan Vargas (13): test/bbdev: fix seg fault for non supported HARQ len test/bbdev: refactor TB throughput report test/bbdev: add timeout for latency tests test/bbdev: early termination not explicit set test/bbdev: report device status in bbdev-

[PATCH v1 01/13] test/bbdev: fix seg fault for non supported HARQ len

2023-01-17 Thread Hernan Vargas
Catching a corner in bbdev-test (not in the actual PMD) when running some specific vectors which size are not supported by the PMD. Fixes: 335c11fd276 ("app/bbdev: support HARQ validation") Cc: sta...@dpdk.org Signed-off-by: Hernan Vargas --- app/test-bbdev/test_bbdev_perf.c | 6 +++--- 1 file

Re: [PATCH] build: fix missing crypto vec limits in version

2023-01-17 Thread Jerin Jacob
On Tue, Dec 6, 2022 at 2:58 PM Zhang, Fan wrote: > > On 12/6/2022 9:23 AM, Volodymyr Fialko wrote: > > Add missing function `rte_event_crypto_adapter_vector_limits_get` to > > version.map. > > > > Fixes: c1749bc5ee10 ("eventdev: introduce event cryptodev vector type") > > > > Signed-off-by: Volody

Re: [PATCH] eventdev/eth_tx: fix service function

2023-01-17 Thread Jerin Jacob
On Sat, Jan 7, 2023 at 10:11 PM Naga Harish K S V wrote: > > adapter service function is using RTE_ETH_FOREACH_DEV() macro for > looping through all available eth devices and flushing any pending > buffered packets. > > When Traffic Management nodes (vports) are added and deleted dynamically, > th

[PATCH v3 10/10] dts: add test results module

2023-01-17 Thread Juraj Linkeš
The module stores the results and errors from all executions, build targets, test suites and test cases. The result consist of the result of the setup and the teardown of each testing stage (listed above) and the results of the inner stages. The innermost stage is the case, which also contains the

[PATCH v3 09/10] dts: add test suite config and runner

2023-01-17 Thread Juraj Linkeš
The config allows users to specify which test suites and test cases within test suites to run. Also add test suite running capabilities to dts runner. Signed-off-by: Juraj Linkeš --- dts/conf.yaml | 2 ++ dts/framework/config/__init__.py | 29 +

[PATCH v3 08/10] dts: add hello world testsuite

2023-01-17 Thread Juraj Linkeš
The test suite implements test cases defined in the corresponding test plan. Signed-off-by: Juraj Linkeš --- dts/framework/remote_session/__init__.py | 2 +- dts/framework/remote_session/os_session.py| 16 - .../remote_session/remote/__init__.py | 2 +- dts/framework/testb

[PATCH v3 06/10] dts: add test suite module

2023-01-17 Thread Juraj Linkeš
The module implements the base class that all test suites inherit from. It implements methods common to all test suites. The derived test suites implement test cases and any particular setup needed for the suite or tests. Signed-off-by: Juraj Linkeš --- dts/conf.yaml

[PATCH v3 07/10] dts: add hello world testplan

2023-01-17 Thread Juraj Linkeš
The testplan describes the capabilities of the tested application along with the description of testcases to test it. Signed-off-by: Juraj Linkeš --- dts/test_plans/hello_world_test_plan.rst | 68 1 file changed, 68 insertions(+) create mode 100644 dts/test_plans/hello_

[PATCH v3 05/10] dts: add node memory setup

2023-01-17 Thread Juraj Linkeš
Setup hugepages on nodes. This is useful not only on SUT nodes, but also on TG nodes which use TGs that utilize hugepages. Signed-off-by: Juraj Linkeš --- dts/framework/config/__init__.py | 16 dts/framework/config/arch.py | 57 + dts/framework/remo

[PATCH v3 04/10] dts: add dpdk execution handling

2023-01-17 Thread Juraj Linkeš
Add methods for setting up and shutting down DPDK apps and for constructing EAL parameters. Signed-off-by: Juraj Linkeš --- dts/conf.yaml | 4 + dts/framework/config/__init__.py | 8 + dts/framework/config/conf_yaml_schema.json| 24 ++ dts/fr

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

2023-01-17 Thread Juraj Linkeš
Add the ability to build DPDK and apps on the SUT, using a configured target. Signed-off-by: Juraj Linkeš --- dts/framework/config/__init__.py | 2 + dts/framework/exception.py| 17 ++ dts/framework/remote_session/os_session.py| 90 +- dts/framewo

[PATCH v3 02/10] dts: add ssh command verification

2023-01-17 Thread Juraj Linkeš
This is a basic capability needed to check whether the command execution was successful or not. If not, raise a RemoteCommandExecutionError. When a failure is expected, the caller is supposed to catch the exception. Signed-off-by: Juraj Linkeš --- dts/framework/exception.py|

[PATCH v3 00/10] dts: add hello world testcase

2023-01-17 Thread Juraj Linkeš
Add code needed to run the HelloWorld testcase which just runs the hello world dpdk application. The patchset currently heavily refactors this original DTS code needed to run the testcase: * The whole architecture has been redone into more sensible class hierarchy * DPDK build on the System unde

[PATCH v3 01/10] dts: add node and os abstractions

2023-01-17 Thread Juraj Linkeš
The abstraction model in DTS is as follows: Node, defining and implementing methods common to and the base of SUT (system under test) Node and TG (traffic generator) Node. Remote Session, defining and implementing methods common to any remote session implementation, such as SSH Session. OSSession,

Re: [PATCH v3] app/dma-perf: introduce dma-perf application

2023-01-17 Thread Bruce Richardson
On Tue, Jan 17, 2023 at 12:05:26PM +, Cheng Jiang wrote: > There are many high-performance DMA devices supported in DPDK now, and > these DMA devices can also be integrated into other modules of DPDK as > accelerators, such as Vhost. Before integrating DMA into applications, > developers need t

RE: [EXT] [PATCH] app/testeventdev: add crypto producer burst mode

2023-01-17 Thread Shijith Thotton
>Add ability to set enqueue burst size for crypto producer. > >Existing parameter `--prod_enq_burst_sz` can be used in combination with >`--prod_type_cryptodev` to enable burst enqueue for crypto producer. > >Example: >./dpdk-test-eventdev -l 0-2 -a -a -- \ >--prod_type_cryptodev --crypto

RE: [EXT] [PATCH] app/testeventdev: add vector worker to perf test

2023-01-17 Thread Shijith Thotton
>Add worker for handling vector events to perf tests, vector events could >be generated by crypto adapter producer. > >Example: >./dpdk-test-eventdev -l 0-2 -a -a -- \ >--prod_type_cryptodev --crypto_adptr_mode 1 --test=perf_queue \ >--stlist=a --wlcores 1 --plcores 2 --prod_enq_bur

Re: [PATCH] eventdev/eth_rx: fix return of rx adapter instance get

2023-01-17 Thread Jerin Jacob
On Tue, Jan 3, 2023 at 6:39 PM Shijith Thotton wrote: > > The API to get rx adapter instance is returning error for event devices > with internal port capability and eth_rx_adapter_instance_get op > undefined. But as the Rx adapter is internally maintaining the queue > information needed to find t

Re: [PATCH v7] ethdev: add special flags when creating async transfer table

2023-01-17 Thread Ferruh Yigit
On 11/14/2022 11:59 AM, Rongwei Liu wrote: > In case flow rules match only one kind of traffic in a flow table, > then optimization can be done via allocation of this table. > Such optimization is possible only if the application gives a hint > about its usage of the table during initial configurat

Re: [PATCH v2] app/dma-perf: introduce dma-perf application

2023-01-17 Thread Bruce Richardson
On Tue, Jan 17, 2023 at 01:54:50PM +, Jiang, Cheng1 wrote: > Hi Bruce, > > Thanks for your comments. > Replies are inline. I'll fix them in the next version. > > Thanks, > Cheng > > > -Original Message- > > From: Richardson, Bruce > > Sent: Tuesday, January 17, 2023 9:00 PM > > To:

Re: [RFC] Fix cryptodev socket id for devices on unknown NUMA node

2023-01-17 Thread Bruce Richardson
On Tue, Jan 17, 2023 at 02:36:21PM +0100, Morten Brørup wrote: > > From: Bruce Richardson [mailto:bruce.richard...@intel.com] > > Sent: Tuesday, 17 January 2023 14.04 > > > > On Tue, Jan 17, 2023 at 12:32:14PM +0100, Morten Brørup wrote: > > > > From: Didier Pallard [mailto:didier.pall...@6wind.co

RE: [PATCH v2 0/4] crypto/ccp cleanup

2023-01-17 Thread Uttarwar, Sunil Prakashrao
[AMD Official Use Only - General] Hi David Regarding patch https://patches.dpdk.org/project/dpdk/patch/20221004095132.198777-5-david.march...@redhat.com/ As mentioned earlier, observed floating point exception with using patch. Found issue that cryptodev_cnt variable is not getting updated an

RE: [PATCH v2] app/dma-perf: introduce dma-perf application

2023-01-17 Thread Jiang, Cheng1
Hi Bruce, Thanks for your comments. Replies are inline. I'll fix them in the next version. Thanks, Cheng > -Original Message- > From: Richardson, Bruce > Sent: Tuesday, January 17, 2023 9:00 PM > To: Jiang, Cheng1 > Cc: tho...@monjalon.net; m...@smartsharesystems.com; dev@dpdk.org; > H

RE: [RFC] Fix cryptodev socket id for devices on unknown NUMA node

2023-01-17 Thread Morten Brørup
> From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Tuesday, 17 January 2023 14.04 > > On Tue, Jan 17, 2023 at 12:32:14PM +0100, Morten Brørup wrote: > > > From: Didier Pallard [mailto:didier.pall...@6wind.com] > > > Sent: Tuesday, 17 January 2023 11.17 > > > > > > Since DPDK 22.1

[PATCH v2 3/3] net/igc: support IEEE 1588 PTP

2023-01-17 Thread Simei Su
Add igc support for new ethdev APIs to enable/disable and read/write/adjust IEEE1588 PTP timestamps. The example command for running ptpclient is as below: ./build/examples/dpdk-ptpclient -c 1 -n 3 -- -T 0 -p 0x1 Signed-off-by: Simei Su --- doc/guides/nics/features/igc.ini | 1 + doc/gu

[PATCH v2 2/3] net/igc/base: support PTP timesync

2023-01-17 Thread Simei Su
Add definitions for timesync enabling. Signed-off-by: Simei Su --- drivers/net/igc/base/igc_defines.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/net/igc/base/igc_defines.h b/drivers/net/igc/base/igc_defines.h index 61964bc..dd7330a 100644 --- a/drivers/net/igc/base

[PATCH v2 1/3] net/igc: code refactoring

2023-01-17 Thread Simei Su
This patch moves some structures from rxtx.c to rxtx.h for the timesync enabling feature. For example, variables in "igc_rx_queue" structure can be used by variables both in igc_ethdev.c and igc_txrx.c more conveniently. It is also consistent with other PMD coding styles. Signed-off-by: Simei Su

[PATCH v2 0/3] net/igc: support PTP timesync

2023-01-17 Thread Simei Su
[PATCH v2 1/3] code refactoring. [PATCH v2 2/3] add related definitions for ptp timesync. [PATCH v2 3/3] add IEEE1588 API to support timesync. v2: * Refine commit log. * Update the doc/guides/nics/features/igc.ini to add "Timesync" feature. * Add release notes. Simei Su (3): net/igc: code refac

[PATCH v2 2/2] ring: add ring info telemetry cmd

2023-01-17 Thread Jie Hai
This patch supports dump of the info of ring 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": 0, "producer_type": "MP", "consumer_type": "MC", "size": 262144, "mask":

[PATCH v2 1/2] ring: add ring list telemetry cmd

2023-01-17 Thread Jie Hai
This patch supports the list of rings with telemetry cmd. 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 --- lib/ring/meson.build | 1 + lib/ring/rte_ring.c | 40 ++

[PATCH v2 0/2] add ring telemetry cmds

2023-01-17 Thread Jie Hai
This patch set supports telemetry list rings and dump ring info by its name. Jie Hai (2): ring: add ring list telemetry cmd ring: add ring info telemetry cmd lib/ring/meson.build | 1 + lib/ring/rte_ring.c | 128 +++ 2 files changed, 129 insertions(

Re: [RFC] Fix cryptodev socket id for devices on unknown NUMA node

2023-01-17 Thread Bruce Richardson
On Tue, Jan 17, 2023 at 12:32:14PM +0100, Morten Brørup wrote: > > From: Didier Pallard [mailto:didier.pall...@6wind.com] > > Sent: Tuesday, 17 January 2023 11.17 > > > > Since DPDK 22.11 and below commit: > > https://git.dpdk.org/dpdk/commit/?id=7dcd73e37965ba0bfa430efeac362fe183 > > ed0ae2 > > r

Re: [PATCH v2] app/dma-perf: introduce dma-perf application

2023-01-17 Thread Bruce Richardson
On Tue, Jan 17, 2023 at 01:56:23AM +, Cheng Jiang wrote: > There are many high-performance DMA devices supported in DPDK now, and > these DMA devices can also be integrated into other modules of DPDK as > accelerators, such as Vhost. Before integrating DMA into applications, > developers need t

[PATCH v3] app/dma-perf: introduce dma-perf application

2023-01-17 Thread Cheng Jiang
There are many high-performance DMA devices supported in DPDK now, and these DMA devices can also be integrated into other modules of DPDK as accelerators, such as Vhost. Before integrating DMA into applications, developers need to know the performance of these DMA devices in various scenarios and

Re: [PATCH] net/cnxk: add threshold validation for RED config

2023-01-17 Thread Jerin Jacob
On Mon, Jan 2, 2023 at 10:14 PM wrote: > > From: Sunil Kumar Kori > > Validation is added to check minimum and maximum RED > threshold values, passed by user. > > Fixes: b7d3a0fe71eb ("net/cnxk: support congestion management operations") > > Signed-off-by: Sunil Kumar Kori Updated the git commi

Re: [PATCH 9/9] common/cnxk: skip L4 checks on inline IPsec traffic

2023-01-17 Thread Jerin Jacob
On Mon, Jan 16, 2023 at 3:11 PM Nithin Dabilpuram wrote: > > Skip L4 checks on inline IPsec traffic as even first fragment > is set as valid ESP packet in order to send it via CPT. > > Signed-off-by: Nithin Dabilpuram 1) Squashed 1/9 with old patch in next-net-mrvl tree. 2) Updated the git commi

RE: [RFC] Fix cryptodev socket id for devices on unknown NUMA node

2023-01-17 Thread Morten Brørup
> From: Didier Pallard [mailto:didier.pall...@6wind.com] > Sent: Tuesday, 17 January 2023 11.17 > > Since DPDK 22.11 and below commit: > https://git.dpdk.org/dpdk/commit/?id=7dcd73e37965ba0bfa430efeac362fe183 > ed0ae2 > rte_cryptodev_socket_id() could return an incorrect value of 255. > Problem ha

Re: [PATCH v3 7/7] baseband/acc: acc100 ignore missing mempools

2023-01-17 Thread Maxime Coquelin
On 1/12/23 20:36, Hernan Vargas wrote: Mempool not strictly required to be present in op for processing. Previous criteria too strict. No functional impact. Signed-off-by: Hernan Vargas --- drivers/baseband/acc/rte_acc100_pmd.c | 9 - 1 file changed, 9 deletions(-) diff --git a/d

Re: [PATCH v3 6/7] baseband/acc: acc100 use desc helper functions

2023-01-17 Thread Maxime Coquelin
On 1/12/23 20:36, Hernan Vargas wrote: Use the designated descriptor helper functions for descriptor address calculations. No functional impact. Signed-off-by: Hernan Vargas --- drivers/baseband/acc/rte_acc100_pmd.c | 35 +-- 1 file changed, 12 insertions(+), 23 de

Re: [PATCH v3 5/7] baseband/acc: acc100 use define constant

2023-01-17 Thread Maxime Coquelin
On 1/12/23 20:36, Hernan Vargas wrote: Use define constant ACC_HARQ_ALIGN_64B instead of hardcoded number. No functional impact. Signed-off-by: Hernan Vargas --- drivers/baseband/acc/rte_acc100_pmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/baseband/

Re: [PATCH v3 4/7] baseband/acc: acc100 fix queue mapping to 64 bits

2023-01-17 Thread Maxime Coquelin
On 1/12/23 20:36, Hernan Vargas wrote: Fix potential overflow for Q mapping extension to 64 bits. Fixes: 32e8b7ea35d ("baseband/acc100: refactor to segregate common code") Signed-off-by: Hernan Vargas --- drivers/baseband/acc/rte_acc100_pmd.c | 2 +- 1 file changed, 1 insertion(+), 1 del

  1   2   >