Re: [PATCH] eventdev: fix symbol export for port maintenance

2023-10-10 Thread Jerin Jacob
On Tue, Oct 10, 2023 at 7:30 PM David Marchand wrote: > > Trying to call rte_event_maintain out of the eventdev library triggers > a link failure, as the tracepoint symbol associated to this inline > helper was not exported. > > Fixes: 54f17843a887 ("eventdev: add port maintenance API") > Cc: sta.

Re: [PATCH] eventdev: fix symbol export for port maintenance

2023-10-10 Thread Mattias Rönnblom
On 2023-10-10 16:00, David Marchand wrote: Trying to call rte_event_maintain out of the eventdev library triggers a link failure, as the tracepoint symbol associated to this inline helper was not exported. Fixes: 54f17843a887 ("eventdev: add port maintenance API") Cc: sta...@dpdk.org Signed-off

Re: [PATCH v6 2/3] test: add dispatcher test suite

2023-10-10 Thread Mattias Rönnblom
On 2023-10-10 16:02, David Marchand wrote: On Mon, Oct 9, 2023 at 8:22 PM Mattias Rönnblom wrote: Add unit tests for the dispatcher. Fyi, this patch is the first external user of rte_event_maintain and it revealed an issue: http://mails.dpdk.org/archives/test-report/2023-October/475671.html

[PATCH] net/mlx5: fix the E-Switch mirror flow rule validation

2023-10-10 Thread Jiawei Wang
The port action and jump to flow table action are not supported in the mirror flows (RTE_FLOW_ACTION_TYPE_SAMPLE with sample ratio=1) in E-Switch domain (transfer attribute set) without presented encap action. The encap action is supported for uplink port only. So, if flow with mirroring contains

[PATCH] net/mlx5: support no host PF configuration

2023-10-10 Thread Jiawei Wang
From: Xueming Li In BlueField, a new firmware configuration option NUM_OF_PF=0 disables PF on the x86 host side, no HPF on the ARM side, and the only RDMA port on the ARM side is the bonding device(PF0). A device probe with devargs of representor=pf[0-1]vf[...] will probe PF0 and PF1 one by one,

Re: [PATCH v6 3/3] doc: add dispatcher programming guide

2023-10-10 Thread Mattias Rönnblom
On 2023-10-10 15:31, David Marchand wrote: On Mon, Oct 9, 2023 at 8:23 PM Mattias Rönnblom wrote: [snip] +A module may use more than one event handler, for convenience or to +further decouple sub-modules. However, the dispatcher may impose an +upper limit of the number handlers. In addition,

[PATCH] net/mlx5: fix wrong decap action checking in sample flow

2023-10-10 Thread Jiawei Wang
This patch uses the temp variable to check the current action type, to avoid overlap the sample action following the decap. Fixes: 7356aec64c48 ("net/mlx5: fix mirror flow split with L3 encapsulation") Cc: sta...@dpdk.org Signed-off-by: Jiawei Wang Acked-by: Suanming Mou --- drivers/net/mlx5/

Re: [PATCH v6 2/3] test: add dispatcher test suite

2023-10-10 Thread Mattias Rönnblom
On 2023-10-10 13:56, David Marchand wrote: On Mon, Oct 9, 2023 at 8:22 PM Mattias Rönnblom wrote: +static int +test_dispatcher(void) +{ + return unit_test_suite_runner(&test_suite); +} + +REGISTER_FAST_TEST(dispatcher_autotest, false, true, test_dispatcher); Since this test expects some

[PATCH] doc: update matching versions for idpf and cpfl

2023-10-10 Thread beilei . xing
From: Beilei Xing Update recommended matching list for idpf PMD and cpfl PMD. Signed-off-by: Beilei Xing --- doc/guides/nics/cpfl.rst | 2 ++ doc/guides/nics/idpf.rst | 2 ++ 2 files changed, 4 insertions(+) diff --git a/doc/guides/nics/cpfl.rst b/doc/guides/nics/cpfl.rst index ae5487f2f6..54

[PATCH v6] app/testpmd: enable cli for programmable action

2023-10-10 Thread Qi Zhang
Parsing command line for rte_flow_action_prog. Syntax: "prog name [arguments \ ... end]" Use parse_string0 to parse name string. Use parse_hex to parse hex string. Use struct action_prog_data to store parsed result. Example: Action with 2 arguments: "prog name action0 arguments field0 0

[PATCH v5] app/testpmd: enable cli for programmable action

2023-10-10 Thread Qi Zhang
Parsing command line for rte_flow_action_prog. Syntax: "prog name [arguments \ ... end]" Use parse_string0 to parse name string. Use parse_hex to parse hex string. Use struct action_prog_data to store parsed result. Example: Action with 2 arguments: "prog name action0 arguments field0 0

[PATCH] net/cpfl: update CP channel API

2023-10-10 Thread beilei . xing
From: Beilei Xing Update the cpchnl2 function type according to the definition in MEV 1.0 release. Signed-off-by: Beilei Xing --- drivers/net/cpfl/cpfl_cpchnl.h | 19 ++- drivers/net/cpfl/cpfl_ethdev.h | 2 +- drivers/net/cpfl/cpfl_representor.c | 20 ++--

RE: [PATCH v4] app/testpmd: enable cli for programmable action

2023-10-10 Thread Zhang, Qi Z
> -Original Message- > From: Ferruh Yigit > Sent: Tuesday, October 10, 2023 6:49 PM > To: Zhang, Qi Z ; Singh, Aman Deep > ; Zhang, Yuying > Cc: dev@dpdk.org; Dumitrescu, Cristian ; > or...@nvidia.com > Subject: Re: [PATCH v4] app/testpmd: enable cli for programmable action > > On 10/7/

Re: [PATCH] ethdev: add calculate hash function

2023-10-10 Thread fengchengwen
Hi, On 2023/10/10 19:05, Ferruh Yigit wrote: > On 9/26/2023 12:37 PM, Ori Kam wrote: >> rte_flow supports insert by index table[1]. >> >> Using the above table, the application can create rules >> that are based on hash. >> For example application can create the following logic in order >> to crea

Re: [PATCH] doc: remove confusing command to send patch

2023-10-10 Thread fengchengwen
Acked-by: Chengwen Feng On 2023/10/11 0:26, Thomas Monjalon wrote: > In the contributor guide, it was said that no need to Cc maintainers > for new additions, probably for new directories not having a maintainer. > There is no harm, and it is a good habit, to always Cc maintainers. > > Remove th

[PATCH 3/3] net/octeon_ep: add new fastpath routines

2023-10-10 Thread Vamsi Attunuru
Adds new fastpath routines for cn10k & cn9k endpoint devices and assigns the fastpath routines based on the offload flags. Patch also adds misc changes to improve performance and code-readability. Signed-off-by: Vamsi Attunuru --- drivers/net/octeon_ep/cnxk_ep_rx.c| 309

[PATCH 2/3] net/octeon_ep: clean up receive routine

2023-10-10 Thread Vamsi Attunuru
Patch improves Rx routine and pkt count update routines, packet count update routines need to drain inflight ISM memory updates while decrementing the packet count register. Signed-off-by: Vamsi Attunuru --- drivers/net/octeon_ep/otx_ep_rxtx.c | 162 1 file changed,

[PATCH 1/3] net/octeon_ep: support 32B IQ descriptor size

2023-10-10 Thread Vamsi Attunuru
From: Shijith Thotton Update input queue setup to consider descriptor size in driver conf. The default instruction size for otx2 and cnxk devices has been updated to 32 bytes. Signed-off-by: Shijith Thotton --- drivers/net/octeon_ep/cnxk_ep_vf.c| 10 +- drivers/net/octeon_ep/otx2_e

[PATCH 0/3] rewrite fastpath routines

2023-10-10 Thread Vamsi Attunuru
This series adds new fastpath routines for cn10k & cn9k endpoint devices and supports 32B Tx desciptor format which improves the performance. Shijith Thotton (1): net/octeon_ep: support 32B IQ descriptor size Vamsi Attunuru (2): net/octeon_ep: clean up receive routine net/octeon_ep: add new

RE: [PATCH v2] ethdev: add TCP/IP modify field IDs

2023-10-10 Thread Suanming Mou
Hi, > -Original Message- > From: Ferruh Yigit > Sent: Tuesday, October 10, 2023 6:24 PM > To: Suanming Mou ; Ori Kam ; > Aman Singh ; Yuying Zhang > ; NBU-Contact-Thomas Monjalon (EXTERNAL) > ; Andrew Rybchenko > > Cc: dev@dpdk.org > Subject: Re: [PATCH v2] ethdev: add TCP/IP modify fiel

[PATCH] eal/linux: verify mmu type for DPDK support (ppc64le)

2023-10-10 Thread David Christensen
IBM POWER systems support more than one type of memory management unit (MMU). The Power ISA 3.0 specification, which applies to P9 and later CPUs, defined a new Radix MMU which, among other things, allows an anonymous memory page mapping to be converted into a hugepage mapping at a specific addres

[PATCH v2 3/3] net/ark: support for large dataroom in FPGA

2023-10-10 Thread Ed Czeck
Allow for non-standard dataroom sizes for upstream data motion when using a custom mbuf pool. - New firmware version for UDM (Upstream Data Mover) - New layout on ark_rx_meta data Signed-off-by: Ed Czeck --- doc/guides/nics/ark.rst | 1 + drivers/net/ark/ark_ethdev_rx.c | 8 dr

[PATCH v2 2/3] net/ark: remove RQ pacing firmware from PMD

2023-10-10 Thread Ed Czeck
features and function have been removed from FPGA firmware Signed-off-by: Ed Czeck --- v2: * restore previously incorrectly deleted line --- drivers/net/ark/ark_ethdev.c | 60 --- drivers/net/ark/ark_global.h | 3 -- drivers/net/ark/ark_rqp.c| 70

[PATCH v2 1/3] net/ark: support for single function with multiple port

2023-10-10 Thread Ed Czeck
Support the creation of multiple ports from one ark device via the use of ark pmd extension. I.e., one device with q queue can seen a p ports each with q/p queues. Add unique dev_private data for each port to manage queue assignment. This patch repairs a latent issue uncovered during testing. Fi

[PATCH v1 1/1] doc: bbdev device discovery clarification

2023-10-10 Thread Nicolas Chautru
Adding more context and information related the data exposed through device discovery notably for FEC and FFT operations. Signed-off-by: Nicolas Chautru --- doc/guides/prog_guide/bbdev.rst | 60 - lib/bbdev/rte_bbdev.h | 6 2 files changed, 57 inse

[PATCH v1 0/1] doc: bbdev device discovery clarification

2023-10-10 Thread Nicolas Chautru
Adding more information in bbdev documentation related to the bbdev device discovery from info_get which was not very verbose so far. Notably for FEC and FFT operations which have extra parameters to manage different implementation variants. Also use code snippet to refer to info structure and kee

[PATCH v6 12/12] baseband/acc: add configure helper for VRB2

2023-10-10 Thread Nicolas Chautru
This allows to configure the VRB2 device using a companion configuration function within the DPDK bbdev-test environment. Signed-off-by: Nicolas Chautru Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/acc100_pmd.h | 2 + drivers/baseband/acc/rte_acc100_pmd.c | 6 +- drivers/baseba

[PATCH v6 11/12] baseband/acc: add support for VRB2 engine error detection

2023-10-10 Thread Nicolas Chautru
Adding missing incremental functionality for the VRB2 variant. Notably detection of engine error during the dequeue. Minor cosmetic edits. Signed-off-by: Nicolas Chautru Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/rte_vrb_pmd.c | 19 --- drivers/baseband/acc/vrb1_pf_e

[PATCH v6 10/12] baseband/acc: add MLD support in VRB2 variant

2023-10-10 Thread Nicolas Chautru
Adding the capability for the MLD-TS processing specific to the VRB2 variant. Signed-off-by: Nicolas Chautru Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/rte_vrb_pmd.c | 374 + 1 file changed, 374 insertions(+) diff --git a/drivers/baseband/acc/rte_vrb_pmd.

[PATCH v6 09/12] baseband/acc: add FFT support to VRB2 variant

2023-10-10 Thread Nicolas Chautru
Support for the FFT the processing specific to the VRB2 variant. Signed-off-by: Nicolas Chautru Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/rte_vrb_pmd.c | 146 +++-- 1 file changed, 119 insertions(+), 27 deletions(-) diff --git a/drivers/baseband/acc/rte_vrb_

[PATCH v6 08/12] baseband/acc: add FEC capabilities for the VRB2 variant

2023-10-10 Thread Nicolas Chautru
New implementation for some of the FEC features specific to the VRB2 variant. Signed-off-by: Nicolas Chautru Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/rte_vrb_pmd.c | 370 + 1 file changed, 328 insertions(+), 42 deletions(-) diff --git a/drivers/baseband

[PATCH v6 07/12] baseband/acc: adding VRB2 device variant

2023-10-10 Thread Nicolas Chautru
No functionality exposed only device enumeration and configuration. Signed-off-by: Nicolas Chautru Reviewed-by: Maxime Coquelin --- doc/guides/bbdevs/features/vrb2.ini| 14 ++ doc/guides/bbdevs/index.rst| 1 + doc/guides/bbdevs/vrb2.rst | 206 +

[PATCH v6 06/12] baseband/acc: refactor to allow unified driver extension

2023-10-10 Thread Nicolas Chautru
Adding a few functions and common code prior to extending the VRB driver. Signed-off-by: Nicolas Chautru Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/acc_common.h | 175 ++--- drivers/baseband/acc/rte_vrb_pmd.c | 58 +- 2 files changed, 190 insertions(

[PATCH v6 05/12] baseband/acc: add support for MLD operation

2023-10-10 Thread Nicolas Chautru
There is no functionality related to the MLD operation but allows the unified PMD to support the operation being added moving forward. Signed-off-by: Nicolas Chautru Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/acc_common.h | 1 + drivers/baseband/acc/rte_vrb_pmd.c | 39 +

[PATCH v6 04/12] baseband/acc: allocate FCW memory separately

2023-10-10 Thread Nicolas Chautru
This allows more flexibility to the FCW size for the unified driver. No actual functional change. Signed-off-by: Nicolas Chautru Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/acc_common.h | 4 +++- drivers/baseband/acc/rte_vrb_pmd.c | 25 - 2 files changed, 27

[PATCH v6 03/12] baseband/acc: remove the 4G SO capability for VRB1

2023-10-10 Thread Nicolas Chautru
This removes the specific capability and support of LTE Decoder Soft Output option on the VRB1 PMD. This is triggered as a vendor decision to defeature the related optional capability so that to avoid theoretical risk of race conditions impacting the device reliability. That optional APP LLR outpu

[PATCH v6 02/12] baseband/acc: add FFT window width in the VRB PMD

2023-10-10 Thread Nicolas Chautru
This allows to expose the FFT window width being introduced in previous commit based on what is configured dynamically on the device platform. Signed-off-by: Nicolas Chautru Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/acc_common.h | 5 drivers/baseband/acc/rte_vrb_pmd.c | 41 ++

[PATCH v6 01/12] bbdev: add FFT window width member in driver info

2023-10-10 Thread Nicolas Chautru
This exposes the width of each windowing shape being configured on the device. This allows to distinguish different version of the flexible pointwise windowing applied to the FFT and expose this platform configuration to the application. This also add the total number of windows supported in the ca

[PATCH v6 00/12] VRB2 bbdev PMD introduction

2023-10-10 Thread Nicolas Chautru
v6: removed one empty line typo. Thanks v5: missed a line in v4 patch 2/12. change to 9/12 with suggested refactor. v4: updates based on Maxime's suggestions: - FFT windowing exposure tweaked to show number of windows as well in capacity to be more generic and future-proof. - few code ref

Re: [PATCH v2 13/15] crypto/cnxk: add support for raw APIs

2023-10-10 Thread Thomas Monjalon
26/09/2023 07:58, Tejasree Kondoj: > From: Anoob Joseph > > Add crypto RAW API support in cnxk PMD > Enable the flag to allow execution of raw test suite. > > Signed-off-by: Vidya Sagar Velumuri > Signed-off-by: Anoob Joseph > --- > doc/guides/cryptodevs/features/cn10k.ini | 1 + > drivers

RE: [PATCH v3] net/netvsc: add support for mtu_set

2023-10-10 Thread Long Li
> Subject: [PATCH v3] net/netvsc: add support for mtu_set > > Add support for changing the netvsc MTU. The MTU can only be set at nvs > initialization, therefore to change the MTU the underlying vmbus > channel(s) are torn down and the vmbus device unmapped and remapped. The > existing rx and tx q

[PATCH v3] net/netvsc: add support for mtu_set

2023-10-10 Thread Sam Andrew
Add support for changing the netvsc MTU. The MTU can only be set at nvs initialization, therefore to change the MTU the underlying vmbus channel(s) are torn down and the vmbus device unmapped and remapped. The existing rx and tx queue(s) are reconnected to the new vmbus channel(s). Signed-off-by:

[PATCH v1 2/2] doc: update FlexRAN SDK links

2023-10-10 Thread Hernan Vargas
Update FlexRAN SDK module link to use FEC_SDK_23.07. Update compiler links to use ICX. Update build SDK build instructions. Signed-off-by: Hernan Vargas --- doc/guides/bbdevs/turbo_sw.rst | 53 +++--- 1 file changed, 30 insertions(+), 23 deletions(-) diff --git a/doc

[PATCH v1 1/2] baseband/acc: support ACC100 deRM corner case SDK

2023-10-10 Thread Hernan Vargas
Implement de-ratematch pre-processing for ACC100 SW corner cases. Some specific 5GUL FEC corner cases may cause unintended back pressure and in some cases a potential stability issue on the ACC100. The PMD can detect such code block configuration and issue an info message to the user. Signed-off-b

[PATCH v1 0/2] FlexRAN SDK update for 23.11

2023-10-10 Thread Hernan Vargas
Upstreaming SDK workaround for ACC100 and updating documentation for new SDK release. Hernan Vargas (2): baseband/acc: support ACC100 deRM corner case SDK doc: update FlexRAN SDK links doc/guides/bbdevs/turbo_sw.rst| 53 +--- drivers/baseband/acc/meson.build

RE: [PATCH v4 1/2] security: add fallback security processing and Rx inject

2023-10-10 Thread Akhil Goyal
> -Original Message- > From: Anoob Joseph > Sent: Tuesday, October 10, 2023 4:02 PM > To: Akhil Goyal ; Jerin Jacob Kollanukkaran > ; Konstantin Ananyev > Cc: Hemant Agrawal ; dev@dpdk.org; Vidya Sagar > Velumuri ; david.co...@intel.com; kai...@intel.com; > kevin.osulli...@intel.com; C

Re: [PATCH v2 2/3] net/ark: remove RQ pacing firmware from PMD

2023-10-10 Thread Ferruh Yigit
On 10/10/2023 5:08 PM, Ed Czeck wrote: > features and function have been removed from FPGA firmware > > Signed-off-by: Ed Czeck > --- > v2: > * restore previously incorrectly deleted line > Can you please send v2 of whole set, this helps on CI checks and back tracing via patchwork etc...

[PATCH] doc: remove confusing command to send patch

2023-10-10 Thread Thomas Monjalon
In the contributor guide, it was said that no need to Cc maintainers for new additions, probably for new directories not having a maintainer. There is no harm, and it is a good habit, to always Cc maintainers. Remove this case as it can mislead to not Cc maintainers when needed. Signed-off-by: Th

[PATCH v2 2/3] net/ark: remove RQ pacing firmware from PMD

2023-10-10 Thread Ed Czeck
features and function have been removed from FPGA firmware Signed-off-by: Ed Czeck --- v2: * restore previously incorrectly deleted line --- drivers/net/ark/ark_ethdev.c | 60 --- drivers/net/ark/ark_global.h | 3 -- drivers/net/ark/ark_rqp.c| 70

Re: [PATCH v2] net/netvsc: add support for mtu_set

2023-10-10 Thread Stephen Hemminger
On Fri, 6 Oct 2023 20:09:09 + Sam Andrew wrote: > Add support for changing the netvsc MTU. The MTU can only be set at nvs > initialization, therefore to change the MTU the underlying vmbus > channel(s) are torn down and the vmbus device unmapped and remapped. The > existing rx and tx queue(s)

[RFC] doc/linux_gsg: add amd configuration section

2023-10-10 Thread Vipin Varghese
Add AMD EPYC SoC tuning guide as new setcion of linux getting started guide. Signed-off-by: Vipin Varghese --- doc/guides/linux_gsg/amd_platform.rst | 63 +++ doc/guides/linux_gsg/index.rst| 1 + 2 files changed, 64 insertions(+) create mode 100644 doc/guides/li

[RFC] doc/linux_gsg: add amd configuration section

2023-10-10 Thread Vipin Varghese
Add AMD EPYC SoC tuning guide as new setcion of linux getting started guide. Signed-off-by: Vipin Varghese --- doc/guides/linux_gsg/amd_platform.rst | 63 +++ doc/guides/linux_gsg/index.rst| 1 + 2 files changed, 64 insertions(+) create mode 100644 doc/guides/li

Re: [PATCH 2/3] net/ark: remove RQ pacing firmware from PMD

2023-10-10 Thread Ed Czeck
On Tue, Oct 10, 2023 at 9:51 AM Ferruh Yigit wrote: > > On 10/5/2023 9:52 PM, Ed Czeck wrote: > > features and function have been removed from FPGA firmware > > > > I am always a little confused how you manage the deployment, if a > customer requires RQ pacing, how you manage it, at least should i

RE: [EXT] Re: [PATCH 1/2] ethdev: add IPsec event subtype range for PMD specific code

2023-10-10 Thread Anoob Joseph
Hi Ferruh, > > -- > On 10/4/2023 1:59 PM, Nithin Dabilpuram wrote: > > Add IPsec event subtype range for PMD specific code in order to > > accommodate wide range of errors that PMD supports. > > These IPsec event subtypes are use

RE: [EXT] Re: [PATCH 1/2] ethdev: add IPsec event subtype range for PMD specific code

2023-10-10 Thread Akhil Goyal
> On 10/4/2023 1:59 PM, Nithin Dabilpuram wrote: > > Add IPsec event subtype range for PMD specific code in order > > to accommodate wide range of errors that PMD supports. > > These IPsec event subtypes are used when an error doesn't > > match the spec defined subtypes between > RTE_ETH_EVENT_IPSE

[PATCH v2] common/mlx5: Optimize mlx5 mempool get extmem

2023-10-10 Thread Aaron Conole
From: John Romein This patch reduces the time to allocate and register tens of gigabytes of GPU memory from hours to seconds, by sorting the heap only once instead of for each object in the mempool. Fixes: 690b2a88c2f7 ("common/mlx5: add mempool registration facilities") Signed-off-by: John Rom

[PATCH v2] ethdev: add calculate hash function

2023-10-10 Thread Ori Kam
rte_flow supports insert by index table[1]. Using the above table, the application can create rules that are based on hash. For example application can create the following logic in order to create load balancing: 1. Create insert by index table with 2 rules, that hashes based on dmac 2. Insert to

Re: [PATCH v5 09/12] baseband/acc: add FFT support to VRB2 variant

2023-10-10 Thread Maxime Coquelin
On 10/5/23 21:49, Nicolas Chautru wrote: Support for the FFT the processing specific to the VRB2 variant. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/rte_vrb_pmd.c | 146 +++-- 1 file changed, 119 insertions(+), 27 deletions(-) Reviewed-by: Maxime Co

DPDK summit in Dublin - videos & photos

2023-10-10 Thread Thomas Monjalon
Hello, As you probably know, the videos of the summit are online: https://www.youtube.com/playlist?list=PLo97Rhbj4ceJf9p-crjGvGvn8pMWrJ_cV You can find the group photo from Dublin here: http://fast.dpdk.org/events/images/DPDK-2023-09-Ireland-group-6.jpg and more in http://fast.dpdk.org/events/im

Re: [PATCH v6 2/3] test: add dispatcher test suite

2023-10-10 Thread David Marchand
On Mon, Oct 9, 2023 at 8:22 PM Mattias Rönnblom wrote: > > Add unit tests for the dispatcher. Fyi, this patch is the first external user of rte_event_maintain and it revealed an issue: http://mails.dpdk.org/archives/test-report/2023-October/475671.html I sent a fix, can you have a look? https://

[PATCH] eventdev: fix symbol export for port maintenance

2023-10-10 Thread David Marchand
Trying to call rte_event_maintain out of the eventdev library triggers a link failure, as the tracepoint symbol associated to this inline helper was not exported. Fixes: 54f17843a887 ("eventdev: add port maintenance API") Cc: sta...@dpdk.org Signed-off-by: David Marchand --- Caught by the CI whe

Re: [PATCH 2/3] net/ark: remove RQ pacing firmware from PMD

2023-10-10 Thread Ferruh Yigit
On 10/5/2023 9:52 PM, Ed Czeck wrote: > features and function have been removed from FPGA firmware > I am always a little confused how you manage the deployment, if a customer requires RQ pacing, how you manage it, at least should it be documented in driver documentation that RQ pacing supported

RE: [PATCH v3] net/axgbe: use CPUID to identify cpu

2023-10-10 Thread Sebastian, Selwin
[AMD Official Use Only - General] Hi Ferruh, Thank you. Yes, once David's patch is accepted, I will make changes to use new API. Regards Selwin -Original Message- From: Yigit, Ferruh Sent: Tuesday, October 10, 2023 6:24 PM To: Sebastian, Selwin ; dev@dpdk.org Cc: sta...@dpdk.org; David

Re: [PATCH v6 3/3] doc: add dispatcher programming guide

2023-10-10 Thread David Marchand
On Mon, Oct 9, 2023 at 8:23 PM Mattias Rönnblom wrote: [snip] > +A module may use more than one event handler, for convenience or to > +further decouple sub-modules. However, the dispatcher may impose an > +upper limit of the number handlers. In addition, installing a large > +number of handlers

Re: [PATCH 1/2] ethdev: add IPsec event subtype range for PMD specific code

2023-10-10 Thread Ferruh Yigit
On 10/4/2023 1:59 PM, Nithin Dabilpuram wrote: > Add IPsec event subtype range for PMD specific code in order > to accommodate wide range of errors that PMD supports. > These IPsec event subtypes are used when an error doesn't > match the spec defined subtypes between RTE_ETH_EVENT_IPSEC_UNKNOWN >

Re: [PATCH v3] net/axgbe: use CPUID to identify cpu

2023-10-10 Thread Ferruh Yigit
On 10/4/2023 11:07 AM, Selwin Sebastian wrote: > Using root complex to identify cpu will not work for vm passthrough. > CPUID is used to get family and modelid to identify cpu > > Fixes: b0db927b5eba ("net/axgbe: use PCI root complex device to distinguish > device") > Cc: sta...@dpdk.org > > Sig

Re: [PATCH v6 2/3] test: add dispatcher test suite

2023-10-10 Thread David Marchand
On Mon, Oct 9, 2023 at 8:22 PM Mattias Rönnblom wrote: > +static int > +test_dispatcher(void) > +{ > + return unit_test_suite_runner(&test_suite); > +} > + > +REGISTER_FAST_TEST(dispatcher_autotest, false, true, test_dispatcher); Since this test expects some lcores, wdyt of adding: @@ -104

RE: [PATCH] ethdev: add calculate hash function

2023-10-10 Thread Ori Kam
Hi Ferruh, > -Original Message- > From: Ferruh Yigit > Sent: Tuesday, October 10, 2023 2:06 PM > > On 9/26/2023 12:37 PM, Ori Kam wrote: > > rte_flow supports insert by index table[1]. > > > > Using the above table, the application can create rules > > that are based on hash. > > For exa

Re: [PATCH v3] ethdev: add packet type matching item

2023-10-10 Thread Ferruh Yigit
On 10/9/2023 5:24 PM, Alexander Kozyrev wrote: > Add RTE_FLOW_ITEM_TYPE_PTYPE to allow matching on > L2/L3/L4 and tunnel information as defined in mbuf. > > To match on RTE_PTYPE_L4_TCP and RTE_PTYPE_INNER_L4_UDP: > flow pattern_template 0 create pattern_template_id 1 > ingress template ptyp

Re: [PATCH] ethdev: add calculate hash function

2023-10-10 Thread Ferruh Yigit
On 9/26/2023 12:37 PM, Ori Kam wrote: > rte_flow supports insert by index table[1]. > > Using the above table, the application can create rules > that are based on hash. > For example application can create the following logic in order > to create load balancing: > 1. Create insert by index table

Re: [PATCH v1] app/testpmd: refine encap content

2023-10-10 Thread Ferruh Yigit
On 8/22/2023 2:13 AM, Zhang, Yuying wrote: > From: Yuying Zhang > > Refine vxlan encap content of all protocol headers. > > Fixes: 1960be7d32f8 ("app/testpmd: add VXLAN encap/decap") > Cc: sta...@dpdk.org > > Signed-off-by: Yuying Zhang > Ori, Aman, ping for review.

Re: [PATCH v4] app/testpmd: enable cli for programmable action

2023-10-10 Thread Ferruh Yigit
On 10/7/2023 11:47 AM, Qi Zhang wrote: > Parsing command line for rte_flow_action_prog. > > Syntax: > > "prog name [arguments \ >... end]" > Can you please put full rte flow command in the commit log? Like what is the 'pattern' for above command? > Use parse_string0 to parse name strin

[PATCH v4 1/2] security: add fallback security processing and Rx inject

2023-10-10 Thread Anoob Joseph
Add alternate datapath API for security processing which would do Rx injection (similar to loopback) after successful security processing. With inline protocol offload, variable part of the session context (AR windows, lifetime etc in case of IPsec), is not accessible to the application. If packet

[PATCH v4 2/2] test/cryptodev: add Rx inject test

2023-10-10 Thread Anoob Joseph
From: Vidya Sagar Velumuri Add test to verify Rx inject. The test case added would push a known vector to cryptodev which would be injected to ethdev Rx. The test case verifies that the packet is received from ethdev Rx and is processed successfully. It also verifies that the userdata matches wit

Re: [PATCH v2] ethdev: add TCP/IP modify field IDs

2023-10-10 Thread Ferruh Yigit
On 9/8/2023 4:49 AM, Suanming Mou wrote: > Currently, get TCP/IP header or data length information from traffic > is missing in the modify field IDs. This commit adds the missing > TCP data_offset, IPv4 IHL/total_len, IPv6 payload_len to modify filed > IDs. This allows users be able to manager more

Re: [PATCH v6 3/3] power: amd power monitor support

2023-10-10 Thread Konstantin Ananyev
09.10.2023 15:05, Sivaprasad Tummala пишет: mwaitx allows EPYC processors to enter a implementation dependent power/performance optimized state (C1 state) for a specific period or until a store to the monitored address range. Signed-off-by: Sivaprasad Tummala Acked-by: Anatoly Burakov --- li

Re: [PATCH] gpu/cuda: add PCI device ID for NVIDIA TU102GL [Quadro RTX 6000/8000]

2023-10-10 Thread Elena Agostini
Sounds good to me Thanks EA From: Levend Sayar Sent: Tuesday, October 10, 2023 12:02 To: Elena Agostini Cc: dev@dpdk.org ; Levend Sayar Subject: [PATCH] gpu/cuda: add PCI device ID for NVIDIA TU102GL [Quadro RTX 6000/8000] PCI device ID is added for NVIDIA TU

[PATCH] gpu/cuda: add PCI device ID for NVIDIA TU102GL [Quadro RTX 6000/8000]

2023-10-10 Thread Levend Sayar
PCI device ID is added for NVIDIA TU102GL [Quadro RTX 6000/8000] GPU card. Signed-off-by: Levend Sayar --- drivers/gpu/cuda/cuda.c| 4 drivers/gpu/cuda/devices.h | 1 + 2 files changed, 5 insertions(+) diff --git a/drivers/gpu/cuda/cuda.c b/drivers/gpu/cuda/cuda.c index a552aabeb8..001

Re: [RFC PATCH] ethdev: introduce NAT64 action

2023-10-10 Thread Ferruh Yigit
On 9/21/2023 4:45 PM, Ferruh Yigit wrote: > On 9/19/2023 11:05 AM, Ori Kam wrote: >> Hi Bing >> >>> -Original Message- >>> From: Bing Zhao >>> Sent: Friday, August 11, 2023 5:07 PM >>> Subject: [RFC PATCH] ethdev: introduce NAT64 action >>> >>> In order to support the communication between

Re: [PATCH] ethdev: remove init_color from METER_MARK action

2023-10-10 Thread Ferruh Yigit
On 8/8/2023 11:00 AM, Gregory Etelson wrote: > Indirect list API defines 2 types of action update: > • Action mutable context is always shared between all flows > that referenced indirect actions list handle. > Action mutable context can be changed by explicit invocation > of indirect handle

Re: [PATCH v3] hash: fix SSE comparison

2023-10-10 Thread David Marchand
On Mon, Oct 9, 2023 at 4:33 PM Bruce Richardson wrote: > > On Sat, Oct 07, 2023 at 03:36:34PM +0800, Jieqiang Wang wrote: > > __mm_cmpeq_epi16 returns 0x if the corresponding 16-bit elements are > > equal. In original SSE2 implementation for function compare_signatures, > > it utilizes _mm_mov

Re: [PATCH] random: clarify PRNG MT safety guarantees

2023-10-10 Thread David Marchand
On Wed, Oct 4, 2023 at 2:06 PM Morten Brørup wrote: > > > From: Mattias Rönnblom [mailto:mattias.ronnb...@ericsson.com] > > Sent: Wednesday, 4 October 2023 12.55 > random: clarify PRNG MT safety guarantees > > > > Clarify MT safety guarantees for unregistered non-EAL threads calling > > PRNG funct

Re: [PATCH v3] power: support amd-pstate cpufreq driver

2023-10-10 Thread David Marchand
On Mon, Oct 9, 2023 at 4:55 PM Sivaprasad Tummala wrote: > > amd-pstate introduces a new CPU frequency control mechanism for AMD > EPYC processors using the ACPI Collaborative Performance Power Control > feature for a finer grained frequency management. > > Patch to add support for amd-pstate driv

RE: [PATCH 1/5] net/mlx5/hws: add support for matching on bth_a bit

2023-10-10 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Itamar Gozlan > Sent: Monday, September 18, 2023 3:07 PM > To: Alex Vesker ; Slava Ovsiienko > ; NBU-Contact-Thomas Monjalon (EXTERNAL) > ; Suanming Mou ; Matan > Azrad ; Ori Kam > Cc: dev@dpdk.org > Subject: [PATCH 1/5] net/mlx5/hws: add support for matc

Re: [PATCH v4 09/12] baseband/acc: add FFT support to VRB2 variant

2023-10-10 Thread Maxime Coquelin
On 10/5/23 04:18, Nicolas Chautru wrote: Support for the FFT the processing specific to the VRB2 variant. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/rte_vrb_pmd.c | 137 +++-- 1 file changed, 129 insertions(+), 8 deletions(-) Reviewed-by: Maxime Coq

Re: [PATCH v6 3/3] power: amd power monitor support

2023-10-10 Thread David Marchand
Hello Siva, On Mon, Oct 9, 2023 at 4:06 PM Sivaprasad Tummala wrote: > > mwaitx allows EPYC processors to enter a implementation dependent > power/performance optimized state (C1 state) for a specific period > or until a store to the monitored address range. > > Signed-off-by: Sivaprasad Tummala

Re: [PATCH v6 1/3] eal: add x86 cpuid support for monitorx

2023-10-10 Thread David Marchand
On Mon, Oct 9, 2023 at 6:24 PM Patrick Robb wrote: > > Recheck-request: iol-unit-amd64-testing > > Failed for service_autotest on windows. I'm doing a retest to see if it's > reproducible. Thanks for checking. This unit test has never been entirely reliable... I see the rerun was fine. I'll go a

Re: [PATCH v3] vhost: add IRQ suppression

2023-10-10 Thread David Marchand
On Fri, Sep 29, 2023 at 12:38 PM Maxime Coquelin wrote: > > Guest notifications offloading, which has been introduced > in v23.07, aims at offloading syscalls out of the datapath. > > This patch optimizes the offloading by not offloading the > guest notification for a given virtqueue if one is alr

Re: [PATCH v5 02/12] baseband/acc: add FFT window width in the VRB PMD

2023-10-10 Thread Maxime Coquelin
On 10/6/23 09:55, Maxime Coquelin wrote: On 10/5/23 21:48, Nicolas Chautru wrote: This allows to expose the FFT window width being introduced in previous commit based on what is configured dynamically on the device platform. Signed-off-by: Nicolas Chautru ---   drivers/baseband/acc/acc_co

Re: [PATCH v5 01/12] bbdev: add FFT window width member in driver info

2023-10-10 Thread Maxime Coquelin
On 10/6/23 22:08, Chautru, Nicolas wrote: Hi Maxime, -Original Message- From: Maxime Coquelin Sent: Friday, October 6, 2023 12:54 AM To: Chautru, Nicolas ; dev@dpdk.org Cc: hemant.agra...@nxp.com; david.march...@redhat.com; Vargas, Hernan Subject: Re: [PATCH v5 01/12] bbdev: add FF

Re: [PATCH v5 08/12] baseband/acc: add FEC capabilities for the VRB2 variant

2023-10-10 Thread Maxime Coquelin
On 10/5/23 21:49, Nicolas Chautru wrote: New implementation for some of the FEC features specific to the VRB2 variant. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc/rte_vrb_pmd.c | 370 + 1 file changed, 328 insertions(+), 42 deletions(-) diff --git

回复: [PATCH v3 1/8] ethdev: add member notification for bonding port

2023-10-10 Thread Long Wu
> Hi Chaoyong, > > some comments as below. > > > 在 2023/10/8 9:50, Chaoyong He 写道: > > From: Long Wu > > > > Bonding PMD does not let member ports know the bonding port's > > information, like how many member ports the bonding port has, what > > mode the bonding port is in and so on. > > > >

Re: [PATCH v2] net/virtio: fixed missing next flag when sending packets in packed mode

2023-10-10 Thread Maxime Coquelin
Hi, Thanks for investigating the issue and proposing a fix! On 10/10/23 04:08, liufengjiang.0426 wrote: When the packets is sent in packed mode, and the packets data and virtio-header are divided into two desc, set the next flag of virtio-header desc Fix the warning that a single line of comm