NVIDIA roadmap for 23.07

2023-04-20 Thread Maayan Kashani
Please find below NVIDIA roadmap for 23.07 release: A. rte_flow new APIs = [1] Updated existing rule's actions in flow template API table​. Value: The user can update an existing flow action in flight directly without removing an old rule entry and then inserting a new on

[PATCH] net/cpfl: update the doc of CPFL PMD

2023-04-20 Thread Mingxia Liu
This patch updates cpfl.rst doc, adjusting the order of chapters referring to IDPF PMD doc. Signed-off-by: Mingxia Liu --- doc/guides/nics/cpfl.rst | 44 +--- 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/doc/guides/nics/cpfl.rst b/doc/guides

[PATCH 4/4] app: add testgraph application

2023-04-20 Thread Vamsi Attunuru
Patch adds test-graph application to validate graph and node libraries. Signed-off-by: Vamsi Attunuru --- app/meson.build|1 + app/test-graph/cmdline.c | 212 ++ app/test-graph/cmdline_graph.c | 297 app/test-graph/cmdline_graph.h | 19 + app/test-graph

[PATCH 3/4] node: remove hardcoded node next details

2023-04-20 Thread Vamsi Attunuru
For ethdev_rx node, node_next details can be populated during node cloning time and same gets assigned to node context structure during node initialization. Patch removes overriding node_next details in node init(). Signed-off-by: Vamsi Attunuru --- lib/node/ethdev_rx.c | 2 -- 1 file changed,

[PATCH 2/4] node: add a node to receive pkts from kernel

2023-04-20 Thread Vamsi Attunuru
Patch adds a node to receive packets from kernel over a raw socket. Signed-off-by: Vamsi Attunuru --- doc/guides/prog_guide/graph_lib.rst | 7 + lib/node/kernel_recv.c | 277 lib/node/kernel_recv_priv.h | 74 lib/node/meson.build

[PATCH 0/4] app: introduce testgraph application

2023-04-20 Thread Vamsi Attunuru
This patch series introduces testgraph application that verifies graph architecture, it provides an infra to verify the graph & node libraries and scale the test coverage by adding newer configurations to exercise various graph topologies & graph-walk models required by the DPDK applications. Also

[PATCH 1/4] node: add pkt punt to kernel node

2023-04-20 Thread Vamsi Attunuru
Patch adds a node to punt the packets to kernel over a raw socket. Signed-off-by: Vamsi Attunuru --- doc/guides/prog_guide/graph_lib.rst | 10 +++ lib/node/meson.build| 1 + lib/node/punt_kernel.c | 125 lib/node/punt_kernel_priv.h

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

2023-04-20 Thread Jerin Jacob
On Thu, Apr 13, 2023 at 1:31 AM Carrillo, Erik G wrote: > > > -Original Message- > > From: Shijith Thotton > > Sent: Tuesday, March 21, 2023 12:20 AM > > To: Carrillo, Erik G ; jer...@marvell.com > > Cc: Shijith Thotton ; dev@dpdk.org; > > pbhagavat...@marvell.com; sta...@dpdk.org > > Sub

Re: [PATCH v2 10/10] net/octeon_ep: set secondary process dev ops

2023-04-20 Thread Jerin Jacob
On Wed, Apr 5, 2023 at 7:57 PM Sathesh Edara wrote: > > This patch sets the dev ops and transmit/receive > callbacks for secondary process. Change the message as "fix ..." and fixes: tag if it just bug fixes. BTW, "Multiprocess aware" is missing in doc/guides/nics/features/octeon_ep.ini > > Sig

Re: [PATCH v2 08/10] net/octeon_ep: support Mailbox between VF and PF

2023-04-20 Thread Jerin Jacob
On Wed, Apr 5, 2023 at 7:56 PM Sathesh Edara wrote: > > This patch adds the mailbox communication between > VF and PF and supports the following mailbox > messages. > - Get and set MAC address > - Get link information > - Get stats > - Get and set link status > - Set and get MTU > - Send notifica

Re: [PATCH v2 05/10] net/octeon_ep: support ISM

2023-04-20 Thread Jerin Jacob
On Wed, Apr 5, 2023 at 7:56 PM Sathesh Edara wrote: > > This patch adds ISM specific functionality. See following commit as reference, and update new acronyms like ISM and others at devtools/words-case.txt commit 33c942d19260817502b49403f0baaab6113774b2 Author: Ashwin Sekhar T K Date: Fri Sep

Re: [PATCH v2 06/10] net/octeon_ep: fix DMA incompletion

2023-04-20 Thread Jerin Jacob
On Wed, Apr 5, 2023 at 7:56 PM Sathesh Edara wrote: > > This patch fixes the DMA incompletion 1) Please remove "This patch" in every commit description in this series, as it is quite implicit. 2) Please add Fixes: tag 3) Tell what was the problem and how it is fixing it?

RE: [PATCH v5] enhance NUMA affinity heuristic

2023-04-20 Thread You, KaisenX
> -Original Message- > From: Thomas Monjalon > Sent: 2023年4月19日 20:17 > To: You, KaisenX > Cc: dev@dpdk.org; Zhou, YidingX ; > david.march...@redhat.com; Matz, Olivier ; > ferruh.yi...@amd.com; zhou...@loongson.cn; sta...@dpdk.org; > Richardson, Bruce ; jer...@marvell.com; > Burakov, A

RE: [PATCH] usertools: enhance CPU layout

2023-04-20 Thread Lu, Wenzhuo
Hi Stephen, > -Original Message- > From: Stephen Hemminger > Sent: Wednesday, April 19, 2023 12:47 AM > To: Lu, Wenzhuo > Cc: dev@dpdk.org > Subject: Re: [PATCH] usertools: enhance CPU layout > > On Tue, 18 Apr 2023 13:25:41 +0800 > Wenzhuo Lu wrote: > > > The cores in a single CPU ma

[PATCH 1/2] vhost: add ingress API for port mirroring datapath

2023-04-20 Thread Cheng Jiang
Similar to the port mirroring function on the switch or router, this patch also implements an ingress function on the Vhost lib. When data is sent to a front-end, it will also send the data to its mirror front-end. Signed-off-by: Cheng Jiang Signed-off-by: Yuan Wang Signed-off-by: Wenwu Ma ---

[PATCH 2/2] vhost: add egress API for port mirroring datapath

2023-04-20 Thread Cheng Jiang
This patch implements egress function on the Vhost lib. When packets are received from a front-end, it will also send the packets to its mirror front-end. Signed-off-by: Cheng Jiang Signed-off-by: Yuan Wang Signed-off-by: Wenwu Ma --- lib/vhost/rte_vhost_async.h | 11 + lib/vhost/version.map

[PATCH 0/2] vhost: add port mirroring function in the vhost lib

2023-04-20 Thread Cheng Jiang
Similar to the port mirroring function on the switch or router, this patch set implements such function on the Vhost lib. When data is sent to a front-end, it will also send the data to its mirror front-end. When data is received from a front-end, it will also send the data to its mirror front-end.

Re: [PATCH 1/1] net/ixgbe: add a proper memory barrier for LoongArch

2023-04-20 Thread zhoumin
On Fri, Apr 7, 2023 at 4:50PM, Min Zhou wrote: Segmentation fault has been observed while running the ixgbe_recv_pkts_lro() function to receive packets on the Loongson 3C5000 processor which has 64 cores and 4 NUMA nodes. Reason is the read ordering of the status and the rest of the descriptor f

Re: [RFC] lib: set/get max memzone segments

2023-04-20 Thread Tyler Retzlaff
On Thu, Apr 20, 2023 at 09:43:28AM +0200, Thomas Monjalon wrote: > 19/04/2023 16:51, Tyler Retzlaff: > > On Wed, Apr 19, 2023 at 11:36:34AM +0300, Ophir Munk wrote: > > > In current DPDK the RTE_MAX_MEMZONE definition is unconditionally hard > > > coded as 2560. For applications requiring differen

Re: [RFC 06/27] vhost: don't dump unneeded pages with IOTLB

2023-04-20 Thread Mike Pattrick
On Fri, Mar 31, 2023 at 11:43 AM Maxime Coquelin wrote: > > On IOTLB entry removal, previous fixes took care of not > marking pages shared with other IOTLB entries as DONTDUMP. > > However, if an IOTLB entry is spanned on multiple pages, > the other pages were kept as DODUMP while they might not >

RE: [dpdk-dev] [PATCH v2] ring: fix use after free in ring release

2023-04-20 Thread Honnappa Nagarahalli
> -Original Message- > From: Yunjian Wang > Sent: Thursday, April 20, 2023 1:44 AM > To: dev@dpdk.org > Cc: Honnappa Nagarahalli ; > konstantin.v.anan...@yandex.ru; luyi...@huawei.com; Yunjian Wang > ; sta...@dpdk.org > Subject: [dpdk-dev] [PATCH v2] ring: fix use after free in ring rel

[Bug 1217] RTE flow: Port state changing to error when RTE flow is enabled/disabled on Intel X722

2023-04-20 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1217 Bug ID: 1217 Summary: RTE flow: Port state changing to error when RTE flow is enabled/disabled on Intel X722 Product: DPDK Version: 22.03 Hardware: x86 OS: Linux

Re: [PATCH] doc: add PMD known issue

2023-04-20 Thread Bruce Richardson
On Thu, Apr 20, 2023 at 06:14:29AM +, Mingjin Ye wrote: > Add a known issue: ASLR feature causes core dump. > > Signed-off-by: Mingjin Ye > --- > doc/guides/nics/ixgbe.rst | 15 +++ > 1 file changed, 15 insertions(+) > > diff --git a/doc/guides/nics/ixgbe.rst b/doc/guides/nics/i

Re: [PATCH] doc: add PMD known issue

2023-04-20 Thread Stephen Hemminger
On Thu, 20 Apr 2023 06:14:29 + Mingjin Ye wrote: > Add a known issue: ASLR feature causes core dump. > > Signed-off-by: Mingjin Ye > --- Please provide back trace. This should be fixable. Fixing a bug is always better than documenting it.

[PATCH v1] dts: create tarball from git ref

2023-04-20 Thread Juraj Linkeš
Add additional convenience options for specifying what DPDK version to test. Signed-off-by: Juraj Linkeš --- dts/framework/config/__init__.py | 11 +-- dts/framework/settings.py| 20 ++--- dts/framework/utils.py | 140 +++ 3 files changed, 152 inse

[PATCH v2] app/crypto-perf: check crypto result

2023-04-20 Thread Anoob Joseph
Check crypto result in latency tests. Checking result won't affect the test results as latency is calculated using timestamps which are done before enqueue and after dequeue. Ignoring result means the data can be false positive. Signed-off-by: Anoob Joseph --- v2: - Improved result check (treat a

[PATCH] devtools: allow patch to multiple groups for the same driver

2023-04-20 Thread Viacheslav Ovsiienko
The PMD's source code resides in the ./drivers folder of the DPDK project and split into the several groups depending on the PMD class (common, net, regex, etc.). For some vendors the drivers of different classes operate over the same hardware, for example Nvidia PMDs operate over ConnectX NIC ser

RE: [PATCH v2] crypto/ipsec_mb: enqueue counter fix

2023-04-20 Thread Power, Ciara
> -Original Message- > From: Saoirse O'Donovan > Sent: Thursday 20 April 2023 11:32 > To: Ji, Kai ; De Lara Guarch, Pablo > > Cc: dev@dpdk.org; O'Donovan, Saoirse ; > Bronowski, PiotrX ; sta...@dpdk.org > Subject: [PATCH v2] crypto/ipsec_mb: enqueue counter fix > > This patch removes

Re: [PATCH v2] crypto/ipsec_mb: enqueue counter fix

2023-04-20 Thread Kevin Traynor
On 20/04/2023 11:31, Saoirse O'Donovan wrote: This patch removes enqueue op counter update from the process_op_bit function where the process is now done in dequeue stage. The original stats increment was incorrect as they shouldn't have been updated at all in this function. Fixes: 4f1cfda59ad3

[PATCH v2] crypto/ipsec_mb: enqueue counter fix

2023-04-20 Thread Saoirse O'Donovan
This patch removes enqueue op counter update from the process_op_bit function where the process is now done in dequeue stage. The original stats increment was incorrect as they shouldn't have been updated at all in this function. Fixes: 4f1cfda59ad3 ("crypto/ipsec_mb: move snow3g PMD") Cc: piotrx.

[PATCH] app/crypto-perf: check crypto result

2023-04-20 Thread Anoob Joseph
Check crypto result in latency tests. Checking result won't affect the test results as latency is calculated using timestamps which are done before enqueue and after dequeue. Ignoring result means the data can be false positive. Signed-off-by: Anoob Joseph --- app/test-crypto-perf/cperf_test_lat

Re: 21.11.4 patches review and test

2023-04-20 Thread Kevin Traynor
On 20/04/2023 03:40, Xu, HailinX wrote: -Original Message- From: Xu, HailinX Sent: Thursday, April 13, 2023 2:13 PM To: Kevin Traynor ; sta...@dpdk.org Cc: dev@dpdk.org; Abhishek Marathe ; Ali Alnubani ; Walker, Benjamin ; David Christensen ; Hemant Agrawal ; Stokes, Ian ; Jerin Jacob ;

Re: [dpdk-web] [RFC PATCH] process: new library approval in principle

2023-04-20 Thread Jerin Jacob
On Wed, Apr 19, 2023 at 9:10 PM Kevin Traynor wrote: > > On 13/02/2023 09:26, jer...@marvell.com wrote: > > From: Jerin Jacob > > > > Based on TB meeting[1] action item, defining > > the process for new library approval in principle. > > > > [1] > > https://mails.dpdk.org/archives/dev/2023-Januar

Re: [RFC 1/5] app/testpmd: add trace dump command

2023-04-20 Thread Jerin Jacob
On Thu, Apr 20, 2023 at 3:39 PM Viacheslav Ovsiienko wrote: > > The "dump_trace" CLI command is added to trigger > saving the trace dumps to the trace directory. > > Signed-off-by: Viacheslav Ovsiienko > --- > app/test-pmd/cmdline.c | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) >

Re: [RFC 2/5] common/mlx5: introduce tracepoints for mlx5 drivers

2023-04-20 Thread Jerin Jacob
On Thu, Apr 20, 2023 at 3:38 PM Viacheslav Ovsiienko wrote: > > There is an intention to engage DPDK tracing capabilities > for mlx5 PMDs monitoring and profiling in various modes. > The patch introduces tracepoints for the Tx datapath in > the ethernet device driver. > > Signed-off-by: Viacheslav

[RFC 5/5] net/mlx5: add Tx datapath trace analyzing script

2023-04-20 Thread Viacheslav Ovsiienko
The Python script is intended to analyze mlx5 PMD datapath traces and report: - tx_burst routine timings - how packets are pushed to WQEs - how packet sending is completed with timings Signed-off-by: Viacheslav Ovsiienko --- drivers/net/mlx5/tools/mlx5_trace.py | 271 ++

[RFC 4/5] net/mlx5: add comprehensive send completion trace

2023-04-20 Thread Viacheslav Ovsiienko
There is the demand to trace the send completions of every WQE if time scheduling is enabled. The patch extends the size of completion queue and requests completion on every issued WQE in the send queue. As the result hardware provides CQE on each completed WQE and driver is able to fetch completi

[RFC 3/5] net/mlx5: add Tx datapath tracing

2023-04-20 Thread Viacheslav Ovsiienko
The patch adds tracing capability to Tx datapath. To engage this tracing capability the following steps should be taken: - meson option -Denable_trace_fp=true - meson option -Dc_args='-DALLOW_EXPERIMENTAL_API' - EAL command line parameter --trace=pmd.net.mlx5.tx.* The Tx datapath tracing allows t

[RFC 2/5] common/mlx5: introduce tracepoints for mlx5 drivers

2023-04-20 Thread Viacheslav Ovsiienko
There is an intention to engage DPDK tracing capabilities for mlx5 PMDs monitoring and profiling in various modes. The patch introduces tracepoints for the Tx datapath in the ethernet device driver. Signed-off-by: Viacheslav Ovsiienko --- drivers/common/mlx5/meson.build | 1 + drivers/common/m

[RFC 1/5] app/testpmd: add trace dump command

2023-04-20 Thread Viacheslav Ovsiienko
The "dump_trace" CLI command is added to trigger saving the trace dumps to the trace directory. Signed-off-by: Viacheslav Ovsiienko --- app/test-pmd/cmdline.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index 7b20bef4e9

[RFC 0/5] net/mlx5: introduce Tx datapath tracing

2023-04-20 Thread Viacheslav Ovsiienko
The mlx5 provides the send scheduling on specific moment of time, and for the related kind of applications it would be extremely useful to have extra debug information - when and how packets were scheduled and when the actual sending was completed by the NIC hardware (it helps application to track

[PATCH] crypto/qat: support to enable insecure algorithms

2023-04-20 Thread Vikash Poddar
All the insecure algorithms are default disable from cryptodev. use qat_legacy_capa to enable all the legacy algorithms. Signed-off-by: Vikash Poddar --- drivers/common/qat/qat_device.c | 1 + drivers/common/qat/qat_device.h | 3 +- drivers/crypto/qat/dev/qat_crypto_p

[RFC PATCH v1 5/5] dts: add traffic generator node to dts runner

2023-04-20 Thread Juraj Linkeš
Initialize the TG node and do basic verification. Signed-off-by: Juraj Linkeš --- dts/framework/dts.py| 42 - dts/framework/testbed_model/__init__.py | 1 + 2 files changed, 28 insertions(+), 15 deletions(-) diff --git a/dts/framework/dts.py b/dts/fr

[RFC PATCH v1 4/5] dts: scapy traffic generator implementation

2023-04-20 Thread Juraj Linkeš
Scapy is a traffic generator capable of sending and receiving traffic. Since it's a software traffic generator, it's not suitable for performance testing, but it is suitable for functional testing. Signed-off-by: Juraj Linkeš --- dts/framework/remote_session/linux_session.py | 55 +++ .../remot

[RFC PATCH v1 2/5] dts: add traffic generator config

2023-04-20 Thread Juraj Linkeš
Node configuration - where to connect, what ports to use and what TG to use. Signed-off-by: Juraj Linkeš --- dts/conf.yaml | 25 +++ dts/framework/config/__init__.py | 107 +++-- dts/framework/config/conf_yaml_schema.json | 172

[RFC PATCH v1 3/5] dts: traffic generator abstractions

2023-04-20 Thread Juraj Linkeš
There are traffic abstractions for all traffic generators and for traffic generators that can capture (not just count) packets. There also related abstractions, such as TGNode where the traffic generators reside and some related code. Signed-off-by: Juraj Linkeš --- dts/framework/remote_session

[RFC PATCH v1 1/5] dts: add scapy dependency

2023-04-20 Thread Juraj Linkeš
Required for scapy traffic generator. Signed-off-by: Juraj Linkeš --- dts/poetry.lock| 18 +- dts/pyproject.toml | 1 + 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/dts/poetry.lock b/dts/poetry.lock index 64d6c18f35..4b6c42e280 100644 --- a/dts/poetry.lock

[RFC PATCH v1 0/5] dts: add tg abstractions and scapy

2023-04-20 Thread Juraj Linkeš
The implementation adds abstractions for all traffic generators as well as those that can capture individual packets and investigate (not just count) them. The traffic generators reside on traffic generator nodes which are also added, along with some related code. Juraj Linkeš (5): dts: add sca

[RFC] net/mlx5: add MPLS modify field support

2023-04-20 Thread Michael Baum
Add support for modify field in tunnel MPLS header. For now it is supported only to copy from. Signed-off-by: Michael Baum --- drivers/common/mlx5/mlx5_prm.h | 5 + drivers/net/mlx5/mlx5_flow_dv.c | 23 +++ drivers/net/mlx5/mlx5_flow_hw.c | 16 +--- 3 files

[PATCH 7/7] net/idpf: register timestamp mbuf when starting dev

2023-04-20 Thread Wenjing Qiao
Due to only support timestamp at port level, registering timestamp mbuf should be at dev start stage. Fixes: 8c6098afa075 ("common/idpf: add Rx/Tx data path") Cc: sta...@dpdk.org Signed-off-by: Wenjing Qiao Suggested-by: Jingjing Wu --- drivers/net/idpf/idpf_ethdev.c | 7 +++ drivers/net/i

[PATCH 6/7] net/cpfl: register timestamp mbuf when starting dev

2023-04-20 Thread Wenjing Qiao
Due to only support timestamp at port level, registering timestamp mbuf should be at dev start stage. Fixes: 8c6098afa075 ("common/idpf: add Rx/Tx data path") Cc: sta...@dpdk.org Signed-off-by: Wenjing Qiao Suggested-by: Jingjing Wu --- drivers/net/cpfl/cpfl_ethdev.c | 7 +++ drivers/net/c

[PATCH 5/7] common/idpf: add timestamp enable flag for rxq

2023-04-20 Thread Wenjing Qiao
A rxq can be configured with timestamp offload. So, add timestamp enable flag for rxq. Fixes: 8c6098afa075 ("common/idpf: add Rx/Tx data path") Cc: sta...@dpdk.org Signed-off-by: Wenjing Qiao Suggested-by: Jingjing Wu --- drivers/common/idpf/idpf_common_rxtx.c | 3 ++- drivers/common/idpf/idpf

[PATCH 4/7] common/idpf: support timestamp offload feature for ACC

2023-04-20 Thread Wenjing Qiao
For ACC, getting master time from MTS registers by shared memory. Notice: it is a workaroud, and it will be removed after generic solution are provided. Signed-off-by: Wenjing Qiao --- config/meson.build | 3 ++ drivers/common/idpf/base/idpf_osdep.h | 48 ++

[PATCH 3/7] net/cpfl: save master time by alarm

2023-04-20 Thread Wenjing Qiao
Using alarm to save master time from registers every 1 second. Fixes: 8c6098afa075 ("common/idpf: add Rx/Tx data path") Cc: sta...@dpdk.org Signed-off-by: Wenjing Qiao --- drivers/net/cpfl/cpfl_ethdev.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/net/cpfl/cpfl_ethd

[PATCH 2/7] net/idpf: save master time by alarm

2023-04-20 Thread Wenjing Qiao
Using alarm to save master time from registers every 1 second. Fixes: 8c6098afa075 ("common/idpf: add Rx/Tx data path") Cc: sta...@dpdk.org Signed-off-by: Wenjing Qiao --- drivers/net/idpf/idpf_ethdev.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/net/idpf/idpf_ethd

[PATCH 1/7] common/idpf: fix 64b timestamp roll over issue

2023-04-20 Thread Wenjing Qiao
Reading MTS register at first packet will cause timestamp roll over issue. To support caculating 64b timestamp, need an alarm to save master time from registers every 1 second. Fixes: 8c6098afa075 ("common/idpf: add Rx/Tx data path") Cc: sta...@dpdk.org Signed-off-by: Wenjing Qiao --- drivers/c

[PATCH 0/7] update idpf and cpfl timestamp

2023-04-20 Thread Wenjing Qiao
Add timestamp offload feature support for ACC. Using alarm to save master time to solve timestamp roll over issue. Ajust timestamp mbuf registering at dev start. Wenjing Qiao (7): common/idpf: fix 64b timestamp roll over issue net/idpf: save master time by alarm net/cpfl: save master time by

[RFC 2/2] ethdev: add MPLS header modification support

2023-04-20 Thread Michael Baum
Add support for MPLS modify header using "RTE_FLOW_FIELD_MPLS" id. Since MPLS heaser might appear more the one time in inner/outer/tunnel, a new field was added to "rte_flow_action_modify_data" structure in addition to "level" field. The "sub_level" field is the index of the header inside encapsul

[RFC 1/2] ethdev: add GENEVE TLV option modification support

2023-04-20 Thread Michael Baum
Add modify field support for GENEVE option fields: - "RTE_FLOW_FIELD_GENEVE_OPT_TYPE" - "RTE_FLOW_FIELD_GENEVE_OPT_CLASS" - "RTE_FLOW_FIELD_GENEVE_OPT_DATA" Each GENEVE TLV option is identified by both its "class" and "type", so 2 new fields were added to "rte_flow_action_modify_data" structure

[RFC 0/2] ethdev: extend modify field API

2023-04-20 Thread Michael Baum
This petch-set extend the modify field action API to support 2 special cases. 1. Modify field when the relevant header appears multiple times inside same encapsulation level. 2. Modify Geneve option header which is specified by its "type" and "class" fields. In current API, the header type is pro

[PATCH] net/mlx5: add timestamp ascending order error statistics

2023-04-20 Thread Viacheslav Ovsiienko
The ConnectX NICs support packet send scheduling on specified moment of time. Application can set the desired timestamp value in dynamic mbuf field and driver will push the special WAIT WQE to the hardware queue in order to suspend the entire queue operations till the specified time moment, then PM

[PATCH] common/idpf: remove unnecessary field in vport

2023-04-20 Thread Qi Zhang
Remove the pointer to rte_eth_dev instance, as 1. there is already a pointer to rte_eth_dev_data. 2. a pointer to rte_eth_dev will break multi-process usage. Signed-off-by: Qi Zhang --- drivers/common/idpf/idpf_common_device.h | 1 - drivers/net/cpfl/cpfl_ethdev.c | 4 ++-- drivers/ne

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

2023-04-20 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: [RFC] lib: set/get max memzone segments

2023-04-20 Thread Thomas Monjalon
19/04/2023 16:51, Tyler Retzlaff: > On Wed, Apr 19, 2023 at 11:36:34AM +0300, Ophir Munk wrote: > > In current DPDK the RTE_MAX_MEMZONE definition is unconditionally hard > > coded as 2560. For applications requiring different values of this > > parameter – it is more convenient to set the max val

[PATCH] common/idpf: remove device stop flag

2023-04-20 Thread Qi Zhang
Remove device stop flag, as we already have dev->data-dev_started. This also fixed the issue when close port directly without start it first, some error message will be reported in dev_stop. Fixes: 14aa6ed8f2ec ("net/idpf: support device start and stop") Fixes: 1082a773a86b ("common/idpf: add vpor

RE: [RFC] lib: set/get max memzone segments

2023-04-20 Thread Ophir Munk
Devendra Singh Rawat, Alok Prasad - can you please give your feedback on the qede driver updates? > -Original Message- > In current DPDK the RTE_MAX_MEMZONE definition is unconditionally hard > coded as 2560. For applications requiring different values of this parameter > – it is more co

RE: [PATCH 2/2] config/arm: Enable NUMA for generic Arm build

2023-04-20 Thread Ruifeng Wang
> -Original Message- > From: Akihiko Odaki > Sent: Friday, April 14, 2023 8:42 PM > To: Ruifeng Wang ; Bruce Richardson > > Cc: dev@dpdk.org; Akihiko Odaki > Subject: [PATCH 2/2] config/arm: Enable NUMA for generic Arm build > > We enable NUMA even if the presence of NUMA is unknown fo

RE: [EXT] [PATCH] crypto/uadk: set queue pair in dev_configure

2023-04-20 Thread Akhil Goyal
> By default, uadk only alloc two queues for each algorithm, which > will impact performance. > Set queue pair number as required in dev_configure. > The default max queue pair number is 8, which can be modified > via para: max_nb_queue_pairs > Please add documentation for the newly added devarg i

Re: [PATCH 1/2] config/arm: Do not require processor information

2023-04-20 Thread Akihiko Odaki
On 2023/04/20 16:10, Ruifeng Wang wrote: -Original Message- From: Akihiko Odaki Sent: Thursday, April 20, 2023 9:40 AM To: Ruifeng Wang ; Bruce Richardson ; Juraj Linkeš Cc: dev@dpdk.org; nd Subject: Re: [PATCH 1/2] config/arm: Do not require processor information On 2023/04/17 16:41

RE: [PATCH 1/2] config/arm: Do not require processor information

2023-04-20 Thread Ruifeng Wang
> -Original Message- > From: Akihiko Odaki > Sent: Thursday, April 20, 2023 9:40 AM > To: Ruifeng Wang ; Bruce Richardson > ; > Juraj Linkeš > Cc: dev@dpdk.org; nd > Subject: Re: [PATCH 1/2] config/arm: Do not require processor information > > On 2023/04/17 16:41, Ruifeng Wang wrote: >