Re: [dpdk-dev] [PATCH v3 4/8] crypto/cnxk: add security capabilities

2025-06-08 Thread Zhen Yit Chong

RE: [EXTERNAL] [dpdk-dev] [PATCH v3 2/2] net/cnxk: support rte flow on cn20k

2025-01-22 Thread Satheesh Paul Antonysamy
: [EXTERNAL] [dpdk-dev] [PATCH v3 2/2] net/cnxk: support rte flow on cn20k > -Original Message- > From: psathe...@marvell.com > Sent: Tuesday, November 12, 2024 3:29 PM > To: Nithin Kumar Dabilpuram ; Kiran Kumar > Kokkilagadda ; Sunil Kumar Kori > ; Satha Kot

RE: [EXTERNAL] [dpdk-dev] [PATCH v3 2/2] net/cnxk: support rte flow on cn20k

2025-01-22 Thread Jerin Jacob
ul Antonysamy > Subject: [EXTERNAL] [dpdk-dev] [PATCH v3 2/2] net/cnxk: support rte flow on > cn20k > > From: Satheesh Paul Support for rte flow in cn20k. > Signed-off-by: Satheesh Paul Reviewed-by: Kiran > Kumar K --- drivers/net/cnxk/cn10k_flow. c | 227 > ++---

[dpdk-dev] [PATCH v3 2/2] net/cnxk: support rte flow on cn20k

2024-11-12 Thread psatheesh
From: Satheesh Paul Support for rte flow in cn20k. Signed-off-by: Satheesh Paul Reviewed-by: Kiran Kumar K --- drivers/net/cnxk/cn10k_flow.c | 227 ++--- drivers/net/cnxk/cn10k_flow.h | 10 +- drivers/net/cnxk/cn20k_ethdev.c| 4 + drivers/net/c

[dpdk-dev] [PATCH v3 1/2] common/cnxk: support NPC flow on cn20k

2024-11-12 Thread psatheesh
From: Satheesh Paul ROC changes to support NPC flow on cn20k. Signed-off-by: Satheesh Paul Reviewed-by: Kiran Kumar K --- v2: * Fixed generic platform compiler error. v3: * Removed compile time macros. drivers/common/cnxk/roc_mbox.h | 144 +- drivers/common/cnxk/roc_nix.h

Re: [dpdk-dev] [PATCH v3 5/5] devtools: test different build types

2024-08-15 Thread Stephen Hemminger
On Sun, 8 Aug 2021 14:51:38 +0200 Thomas Monjalon wrote: > All builds were of type debugoptimized. > It is kept only for builds having an ABI check. > Others will have the default build type (release), > except if specified differently as in the x86 generic build > which will be a test of the no

Re: [dpdk-dev] [PATCH v3 0/8] Introduce emudev library and iavf emudev driver

2024-02-12 Thread Stephen Hemminger
On Thu, 14 Jan 2021 14:25:04 +0800 Chenbo Xia wrote: > This series introduces a new device abstraction called emudev for emulated > devices. A new library (librte_emudev) is implemented. The first emudev > driver is also introduced, which emulates Intel Adaptive Virtual Function > (iavf) as a sof

Re: [dpdk-dev] [PATCH v3] eal: refactor rte_eal_init into sub-functions

2024-01-19 Thread Stephen Hemminger
On Fri, 19 Jan 2024 08:58:17 -0800 Rahul Gupta wrote: > diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c > index 9e4e99e53b..345f3c1c04 100644 > --- a/app/test-pmd/testpmd.c > +++ b/app/test-pmd/testpmd.c > @@ -4531,6 +4531,8 @@ main(int argc, char** argv) > portid_t port_id; >

Re: [dpdk-dev] [PATCH v3] eal: refactor rte_eal_init into sub-functions

2024-01-19 Thread Bruce Richardson
On Fri, Jan 19, 2024 at 08:58:17AM -0800, Rahul Gupta wrote: > From: Rahul Gupta > > In continuation to the following email, I am sending this patch. > (https://inbox.dpdk.org/dev/20231110172523.ga17...@microsoft.com/) > > Initialization requires rte_eal_init + rte_pktmbuf_pool_create which > ca

[dpdk-dev] [PATCH v3] eal: refactor rte_eal_init into sub-functions

2024-01-19 Thread Rahul Gupta
From: Rahul Gupta In continuation to the following email, I am sending this patch. (https://inbox.dpdk.org/dev/20231110172523.ga17...@microsoft.com/) Initialization requires rte_eal_init + rte_pktmbuf_pool_create which can consume a total time of 500-600 ms: a) For many devices FLR may take a si

Re: [dpdk-dev] [PATCH v3 1/2] eal: fix side effects in align mul macros

2023-07-04 Thread Stephen Hemminger
On Tue, 11 May 2021 01:10:06 +0530 wrote: > Avoid expanding parameters inside the macro multiple times. > For example: > RTE_ALIGN_MUL_NEAR(rte_rdtsc() - start, CYC_PER_10MHZ); > Here rte_rdtsc() call is expanded multiple times in the macro > causing it to return different values that leads

Re: [dpdk-dev] [PATCH v3 0/2] Add example l3fwd-regex

2023-06-29 Thread Stephen Hemminger
On Sun, 15 Nov 2020 15:07:37 +0100 Thomas Monjalon wrote: > 18/10/2020 14:03, g...@marvell.com: > > From: Guy Kaneti > > > > The L3 Forwarding with Regex application is a simple example of > > packet processing using DPDK Regex framework. > > The application performs L3 LPM based forwarding whi

Re: [dpdk-dev] [PATCH v3] log: support custom log function

2023-06-15 Thread Stephen Hemminger
On Wed, 10 Feb 2021 13:20:19 +0800 Li Feng wrote: > By default, the dpdk log is out to stdout/stderr and syslog. > The rte_openlog_stream could set an external FILE* stream, but it asks > the > consumer to give it a FILE* pointer. > For C++ or other languages, it's hard to get a libc FILE*. > >

Re: [dpdk-dev] [PATCH v3] net/cnxk: support port ID flow action item

2023-06-13 Thread Jerin Jacob
On Tue, Jun 13, 2023 at 10:27 AM wrote: > > From: Satheesh Paul > > Currently PORT_ID action can redirect traffic only between > VFs of a PF. This patch extends PORT_ID action to redirect > traffic from one PF port to another PF port also. > > Signed-off-by: Satheesh Paul > Reviewed-by: Kiran Ku

[dpdk-dev] [PATCH v3] net/cnxk: support port ID flow action item

2023-06-12 Thread psatheesh
From: Satheesh Paul Currently PORT_ID action can redirect traffic only between VFs of a PF. This patch extends PORT_ID action to redirect traffic from one PF port to another PF port also. Signed-off-by: Satheesh Paul Reviewed-by: Kiran Kumar K --- v2: * Updated release notes. v3: * Rebased and

Re: [dpdk-dev] [PATCH v3] doc: remove warning with doxygen 1.9.7

2023-06-12 Thread Thomas Monjalon
02/06/2023 13:16, Bruce Richardson: > On Fri, Jun 02, 2023 at 04:36:59PM +0530, jer...@marvell.com wrote: > > From: Jerin Jacob > > > > Since doxygen 1.9.7 version, HTML_TIMESTAMP configuration option > > changed to TIMESTAMP [2]. Fixed the following warning[1] by > > removing TIMESTAMP options a

Re: [dpdk-dev] [PATCH v3] doc/testpmd: update compile steps for bpf examples

2023-06-12 Thread Stephen Hemminger
On Mon, 10 Jun 2019 11:11:21 +0530 Vipin Varghese wrote: > Add note in the missing arguments for compiling BPF examples. > > Signed-off-by: Vipin Varghese > Acked-by: John McNamara > > --- > > V3: > - update the dependency for DPDK and others - Thomas Monjalon > > V2: > - ACK for document

Re: [dpdk-dev] [PATCH v3] doc: remove warning with doxygen 1.9.7

2023-06-02 Thread Bruce Richardson
On Fri, Jun 02, 2023 at 04:36:59PM +0530, jer...@marvell.com wrote: > From: Jerin Jacob > > Since doxygen 1.9.7 version, HTML_TIMESTAMP configuration option > changed to TIMESTAMP [2]. Fixed the following warning[1] by > removing TIMESTAMP options all together as all new versions(since 1.8.9) > o

[dpdk-dev] [PATCH v3] doc: remove warning with doxygen 1.9.7

2023-06-02 Thread jerinj
From: Jerin Jacob Since doxygen 1.9.7 version, HTML_TIMESTAMP configuration option changed to TIMESTAMP [2]. Fixed the following warning[1] by removing TIMESTAMP options all together as all new versions(since 1.8.9) of doxygen this option is disabled by default. Another option was considered to h

Re: [dpdk-dev] [PATCH v3] ring: fix use after free in ring release

2023-05-23 Thread Thomas Monjalon
05/05/2023 08:48, Yunjian Wang: > After the memzone is freed, it is not removed from the 'rte_ring_tailq'. > If rte_ring_lookup is called at this time, it will cause a use-after-free > problem. This change prevents that from happening. > > Fixes: 4e32101f9b01 ("ring: support freeing") > Cc: sta...

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

2023-05-04 Thread Yunjian Wang
After the memzone is freed, it is not removed from the 'rte_ring_tailq'. If rte_ring_lookup is called at this time, it will cause a use-after-free problem. This change prevents that from happening. Fixes: 4e32101f9b01 ("ring: support freeing") Cc: sta...@dpdk.org Signed-off-by: Yunjian Wang Acke

Re: [dpdk-dev] [PATCH v3 00/12] mldev: introduce machine learning device library

2023-03-09 Thread Thomas Monjalon
07/02/2023 16:13, jer...@marvell.com: > Jerin Jacob (1): > mldev: introduce machine learning device library > > Srikanth Yalavarthi (11): > mldev: support PMD functions for ML device > mldev: support ML device handling functions > mldev: support ML device queue-pair setup > mldev: suppor

Re: [dpdk-dev] [PATCH v3 00/12] mldev: introduce machine learning device library

2023-02-15 Thread Jerin Jacob
On Wed, Feb 15, 2023 at 6:25 PM Ferruh Yigit wrote: > > On 2/7/2023 3:13 PM, jer...@marvell.com wrote: > > From: Jerin Jacob > > > > Hi Jerin, > > Please find some comments/questions gathered with the help of some > collegues. Thanks Ferruh for the review. > > > Machine learning inference lib

Re: [dpdk-dev] [PATCH v3 00/12] mldev: introduce machine learning device library

2023-02-15 Thread Ferruh Yigit
On 2/7/2023 3:13 PM, jer...@marvell.com wrote: > From: Jerin Jacob > Hi Jerin, Please find some comments/questions gathered with the help of some collegues. > Machine learning inference library > == > > Definition of machine learning inference > ---

[dpdk-dev] [PATCH v3 12/12] mldev: support to get debug info and test device

2023-02-07 Thread jerinj
From: Srikanth Yalavarthi Added functions for ML device debug APIs. The APIs are used to dump ML device debug information and to run selftest. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Jerin Jacob --- lib/mldev/rte_mldev.c | 39 ++ lib/mldev/rt

[dpdk-dev] [PATCH v3 11/12] mldev: support to retrieve error information

2023-02-07 Thread jerinj
From: Srikanth Yalavarthi Added functions to get error information for an ML op. This information can include both drive specific error message and error code. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Jerin Jacob --- lib/mldev/rte_mldev.c | 31 +++ li

[dpdk-dev] [PATCH v3 10/12] mldev: support device extended statistics

2023-02-07 Thread jerinj
From: Srikanth Yalavarthi Added functions to handle device extended stats. xstats supported are driver specific and can include stats specific to ML device or ML model and I/O. Added prototypes for functions to be called by the device drivers. Signed-off-by: Srikanth Yalavarthi Signed-off-by: J

[dpdk-dev] [PATCH v3 09/12] mldev: support device statistics

2023-02-07 Thread jerinj
From: Srikanth Yalavarthi Added functions to get and reset device stats. Device stats include number of requests enqueued, dequeued and errors. Added function prototypes to used by driver implementations. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Jerin Jacob --- lib/mldev/rte_mldev.c

[dpdk-dev] [PATCH v3 08/12] mldev: support inference enqueue and dequeue

2023-02-07 Thread jerinj
From: Srikanth Yalavarthi Added implementations of fast-path functions to enqueue and dequeue ML requests from an ML device queue-pair. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Jerin Jacob --- lib/mldev/rte_mldev.c | 75 ++ lib/mldev/rte_mldev

[dpdk-dev] [PATCH v3 07/12] mldev: support ML op pool and ops

2023-02-07 Thread jerinj
From: Srikanth Yalavarthi Added library functions to create and free ML op pool. Create function allocates new ML op pool and initializes ML ops to their defaults. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Jerin Jacob --- lib/mldev/rte_mldev.c | 69

[dpdk-dev] [PATCH v3 06/12] mldev: support input and output data handling

2023-02-07 Thread jerinj
From: Srikanth Yalavarthi Added library functions to handle model input and output data. The APIs can be used to get the size of I/O buffers, quantize input data and dequantize output data. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Jerin Jacob --- lib/mldev/rte_mldev.c | 94

[dpdk-dev] [PATCH v3 05/12] mldev: support handling ML models

2023-02-07 Thread jerinj
From: Srikanth Yalavarthi Added RTE functions to handle ML models. These APIs can load, unload, start, and stop an ML model. Additional APIs to update model parameters and get model information are added. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Jerin Jacob --- lib/mldev/rte_mldev.c

[dpdk-dev] [PATCH v3 04/12] mldev: support ML device queue-pair setup

2023-02-07 Thread jerinj
From: Srikanth Yalavarthi Added APIs to create a queue-pair attached to ML device. Queue pairs are created with a user specified ID. Added function prototypes to be used by ML drivers for queue pair create and destroy. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Jerin Jacob --- lib/mlde

[dpdk-dev] [PATCH v3 03/12] mldev: support ML device handling functions

2023-02-07 Thread jerinj
From: Srikanth Yalavarthi Added ML device handling APIs. These APIs are used to get device information, configure, start, stop and close ML devices. Added function prototypes to PMD layer which are used by the ML driver implementations in the poll mode driver. Signed-off-by: Srikanth Yalavarthi

[dpdk-dev] [PATCH v3 02/12] mldev: support PMD functions for ML device

2023-02-07 Thread jerinj
From: Srikanth Yalavarthi Added PMD functions to handle ML devices. The rte_mldev_pmd.* files are for drivers only and should be private to DPDK, and are not installed for application use. Added implementation for rte_ml_dev_init. Signed-off-by: Srikanth Yalavarthi Signed-off-by: Jerin Jacob -

[dpdk-dev] [PATCH v3 01/12] mldev: introduce machine learning device library

2023-02-07 Thread jerinj
From: Jerin Jacob Add mldev API specification to standardize and use the machine learning device and inference operations in vendor neutral way. Following operations are abstracted through APIs - ML device capability probe - ML device configuration - ML device queue pair configuration - ML devi

[dpdk-dev] [PATCH v3 00/12] mldev: introduce machine learning device library

2023-02-07 Thread jerinj
From: Jerin Jacob Machine learning inference library == Definition of machine learning inference Inference in machine learning is the process of making an output prediction based on new input data using a pre-trained machin

RE: [dpdk-dev] [PATCH v3] net/i40e: disable source pruning

2022-12-26 Thread Morten Brørup
> From: Zhang, Ke1X [mailto:ke1x.zh...@intel.com] > Sent: Monday, 26 December 2022 10.04 > > > From: Morten Brørup > > Sent: Monday, February 21, 2022 5:35 PM > > > > > From: Jiang, YuX [mailto:yux.ji...@intel.com] > > > Sent: Monday, 21 February 2022 09.31 > > > > > > > From: dev On Behalf Of A

Recall: [dpdk-dev] [PATCH v3] net/i40e: disable source pruning

2022-12-26 Thread Morten Brørup
Morten Brørup would like to recall the message, "[dpdk-dev] [PATCH v3] net/i40e: disable source pruning".

RE: [dpdk-dev] [PATCH v3] net/i40e: disable source pruning

2022-12-26 Thread Morten Brørup
+CC Ethernet API maintainers, you might have an opinion about expected default behavior > From: Zhang, Ke1X [mailto:ke1x.zh...@intel.com] > Sent: Monday, 26 December 2022 10.04 > > > From: Morten Brørup > > Sent: Monday, February 21, 2022 5:35 PM > > > > > From: Jiang, YuX [mailto:yux.ji...@int

RE: [dpdk-dev] [PATCH v3] net/i40e: disable source pruning

2022-12-26 Thread Zhang, Ke1X
> -Original Message- > From: Morten Brørup > Sent: Monday, February 21, 2022 5:35 PM > To: Jiang, YuX ; Alvin Zhang ; > Xing, Beilei ; Guo, Junfeng > Cc: dev@dpdk.org; Zhang, AlvinX > Subject: RE: [dpdk-dev] [PATCH v3] net/i40e: disable source pruning &g

RE: [dpdk-dev] [PATCH v3] examples/ipsec-secgw: support more flow patterns and actions

2022-06-17 Thread Satheesh Paul Antonysamy
Hi, Please find reply inline. Thanks, Satheesh. -Original Message- From: Zhang, Roy Fan Sent: 17 June 2022 03:22 PM To: Satheesh Paul Antonysamy ; Nicolau, Radu ; Akhil Goyal Cc: dev@dpdk.org Subject: [EXT] RE: [dpdk-dev] [PATCH v3] examples/ipsec-secgw: support more flow patterns

RE: [dpdk-dev] [PATCH v3] examples/ipsec-secgw: support more flow patterns and actions

2022-06-17 Thread Zhang, Roy Fan
Hi, > -Original Message- > From: psathe...@marvell.com > Sent: Friday, June 3, 2022 4:17 AM > To: Nicolau, Radu ; Akhil Goyal > Cc: dev@dpdk.org; Satheesh Paul > Subject: [dpdk-dev] [PATCH v3] examples/ipsec-secgw: support more flow > patterns and actions >

[dpdk-dev] [PATCH v3] examples/ipsec-secgw: support more flow patterns and actions

2022-06-02 Thread psatheesh
From: Satheesh Paul Added support to create flow rules with count, mark and security actions and mark pattern. Signed-off-by: Satheesh Paul --- v3: * Fixed IPv4 and IPv6 dst addr setting in flow pattern spec v2: * Updated documentation in ipsec_secgw.rst doc/guides/sample_app_ug/ipsec_secgw.r

Re: [dpdk-dev] [PATCH v3 6/7] app/proc-info: provide way to request info on owned ports

2022-05-11 Thread Subendu Santra
Agreed. I will change it to uint64_t and send it for review. Thanks for your help. Regards, Subendu. On Wed, May 11, 2022 at 1:32 AM Stephen Hemminger wrote: > > On Tue, 10 May 2022 14:39:05 +0530 > Subendu Santra wrote: > > > Hi Stephen, Thomas, > > > > On a related note w.r.to commit 1dd6cff

Re: [dpdk-dev] [PATCH v3 6/7] app/proc-info: provide way to request info on owned ports

2022-05-10 Thread Stephen Hemminger
On Tue, 10 May 2022 14:39:05 +0530 Subendu Santra wrote: > Hi Stephen, Thomas, > > On a related note w.r.to commit 1dd6cffb6571f816d5a0d1fd620f43532240b40b > (app/procinfo: provide way to request info on owned ports), we see this > change: > > -static uint32_t enabled_port_mask; > > +static uns

Re: [dpdk-dev] [PATCH v3 6/7] app/proc-info: provide way to request info on owned ports

2022-05-10 Thread Subendu Santra
Hi Stephen, Thomas, On a related note w.r.to commit 1dd6cffb6571f816d5a0d1fd620f43532240b40b (app/procinfo: provide way to request info on owned ports), we see this change: -static uint32_t enabled_port_mask; > +static unsigned long enabled_port_mask; While this is ok for 64-bit machines, where

Re: [dpdk-dev] [PATCH v3 6/7] app/proc-info: provide way to request info on owned ports

2022-05-04 Thread Stephen Hemminger
On Tue, 03 May 2022 10:47:58 +0200 Thomas Monjalon wrote: > 24/04/2022 07:34, Subendu Santra: > > Hi Stephen, > > > > We were going through the patch set: > > https://inbox.dpdk.org/dev/20200715212228.28010-7-step...@networkplumber.org/ > > and hoping to get clarification on the behaviour if p

Re: [dpdk-dev] [PATCH v3 6/7] app/proc-info: provide way to request info on owned ports

2022-05-03 Thread Thomas Monjalon
24/04/2022 07:34, Subendu Santra: > Hi Stephen, > > We were going through the patch set: > https://inbox.dpdk.org/dev/20200715212228.28010-7-step...@networkplumber.org/ > and hoping to get clarification on the behaviour if post mask is not > specified in the input to `dpdk-proc-info` tool. > >

Re: [dpdk-dev] [PATCH v3 6/7] app/proc-info: provide way to request info on owned ports

2022-05-03 Thread Subendu Santra
Hi Stephen, Could you please help us understand the rationale behind showing just the last non-owned port in case the port mask was not specified? I really appreciate your help in this regard. Regards, Subendu. On Sun, Apr 24, 2022 at 11:04 AM Subendu Santra wrote: > Hi Stephen, > > We were

Re: [dpdk-dev] [PATCH v3 6/7] app/proc-info: provide way to request info on owned ports

2022-04-26 Thread Subendu Santra
Hi Stephen, We were going through the patch set: https://inbox.dpdk.org/dev/20200715212228.28010-7-step...@networkplumber.org/ and hoping to get clarification on the behaviour if post mask is not specified in the input to `dpdk-proc-info` tool. Specifically, In PATCH v3 6/7, we see this: +

Re: [dpdk-dev] [PATCH v3 1/2] net/cnxk: optimize Rx packet size extraction

2022-02-24 Thread Jerin Jacob
On Fri, Feb 25, 2022 at 12:09 AM wrote: > > From: Pavan Nikhilesh > > In vWQE mode, the mbuf address is calculated without using the > iova list. > > Packet length can also be calculated by using NIX_PARSE_S by > which we can completely eliminate reading 2nd cache line > depending on the offloads

[dpdk-dev] [PATCH v3 2/2] net/cnxk: align perfetchs to CN10K cache model

2022-02-24 Thread jerinj
From: Pavan Nikhilesh Align perfetchs for CN10K cache model for vWQE in Rx and Tx. Move mbuf->next NULL assignment to Tx path and enabled it only when multi segments offload is enabled to reduce L1 pressure. Add macros to detect corrupted mbuf->next values when MEMPOOL_DEBUG is set. Signed-off-b

[dpdk-dev] [PATCH v3 1/2] net/cnxk: optimize Rx packet size extraction

2022-02-24 Thread jerinj
From: Pavan Nikhilesh In vWQE mode, the mbuf address is calculated without using the iova list. Packet length can also be calculated by using NIX_PARSE_S by which we can completely eliminate reading 2nd cache line depending on the offloads enabled. Signed-off-by: Pavan Nikhilesh Acked-by: Jeri

RE: [dpdk-dev] [PATCH v3] net/i40e: disable source pruning

2022-02-21 Thread Morten Brørup
> From: Jiang, YuX [mailto:yux.ji...@intel.com] > Sent: Monday, 21 February 2022 09.31 > > > From: dev On Behalf Of Alvin Zhang > > Sent: Wednesday, October 20, 2021 9:29 AM > > > > VRRP advertisement packets are dropped on i40e PF devices because > when > > a MAC address is added to a device, pa

RE: [dpdk-dev] [PATCH v3] net/i40e: disable source pruning

2022-02-21 Thread Jiang, YuX
> -Original Message- > From: dev On Behalf Of Alvin Zhang > Sent: Wednesday, October 20, 2021 9:29 AM > To: Xing, Beilei ; Guo, Junfeng > > Cc: dev@dpdk.org; Zhang, AlvinX > Subject: [dpdk-dev] [PATCH v3] net/i40e: disable source pruning > > VRRP advertise

Re: [dpdk-dev] [PATCH v3 1/2] ethdev: support queue-based priority flow control

2022-02-06 Thread Jerin Jacob
) On Thu, Feb 3, 2022 at 9:31 PM Ferruh Yigit wrote: > > On 1/31/2022 6:08 PM, jer...@marvell.com wrote: > > From: Jerin Jacob > > > > Based on device support and use-case need, there are two different ways > > to enable PFC. The first case is the port level PFC configuration, in > > this case,

RE: [EXT] Re: [dpdk-dev] [PATCH v3 2/2] app/testpmd: add queue based pfc CLI options

2022-02-03 Thread Sunil Kumar Kori
.com; > cloud.wangxiao...@huawei.com; yisen.zhu...@huawei.com; > yongw...@vmware.com; xuanziya...@huawei.com > Subject: [EXT] Re: [dpdk-dev] [PATCH v3 2/2] app/testpmd: add queue based > pfc CLI options > > External Email > >

Re: [dpdk-dev] [PATCH v3 2/2] app/testpmd: add queue based pfc CLI options

2022-02-03 Thread Ferruh Yigit
On 1/31/2022 6:08 PM, jer...@marvell.com wrote: From: Sunil Kumar Kori Patch adds command line options to configure queue based priority flow control. - Syntax command is given as below: set pfc_queue_ctrl rx\ tx Ahh I see the order is related to the configure struct, wher

Re: [dpdk-dev] [PATCH v3 1/2] ethdev: support queue-based priority flow control

2022-02-03 Thread Ferruh Yigit
On 1/31/2022 6:08 PM, jer...@marvell.com wrote: From: Jerin Jacob Based on device support and use-case need, there are two different ways to enable PFC. The first case is the port level PFC configuration, in this case, rte_eth_dev_priority_flow_ctrl_set() API shall be used to configure the PFC,

[dpdk-dev] [PATCH v3 2/2] app/testpmd: add queue based pfc CLI options

2022-01-31 Thread jerinj
From: Sunil Kumar Kori Patch adds command line options to configure queue based priority flow control. - Syntax command is given as below: set pfc_queue_ctrl rx\ tx - Example command to configure queue based priority flow control on rx and tx side for port 0, Rx queue 0, Tx

[dpdk-dev] [PATCH v3 1/2] ethdev: support queue-based priority flow control

2022-01-31 Thread jerinj
From: Jerin Jacob Based on device support and use-case need, there are two different ways to enable PFC. The first case is the port level PFC configuration, in this case, rte_eth_dev_priority_flow_ctrl_set() API shall be used to configure the PFC, and PFC frames will be generated using based on V

Re: [dpdk-dev] [PATCH v3 3/6] eal: support libunwind based backtrace

2022-01-28 Thread Stephen Hemminger
On Fri, 28 Jan 2022 19:57:40 +0530 Jerin Jacob wrote: > On Fri, Jan 28, 2022 at 2:11 PM Thomas Monjalon wrote: > > > > 28/01/2022 05:33, Jerin Jacob: > > > On Fri, Jan 28, 2022 at 2:18 AM Stephen Hemminger > > > wrote: > > > > > > > > On Mon, 6 Sep 2021 09:47:29 +0530 > > > > wrote: > > >

Re: [dpdk-dev] [PATCH v3 3/6] eal: support libunwind based backtrace

2022-01-28 Thread Jerin Jacob
On Fri, Jan 28, 2022 at 2:11 PM Thomas Monjalon wrote: > > 28/01/2022 05:33, Jerin Jacob: > > On Fri, Jan 28, 2022 at 2:18 AM Stephen Hemminger > > wrote: > > > > > > On Mon, 6 Sep 2021 09:47:29 +0530 > > > wrote: > > > > > > > From: Jerin Jacob > > > > > > > > adding optional libwind library d

Re: [dpdk-dev] [PATCH v3 3/6] eal: support libunwind based backtrace

2022-01-28 Thread Thomas Monjalon
28/01/2022 05:33, Jerin Jacob: > On Fri, Jan 28, 2022 at 2:18 AM Stephen Hemminger > wrote: > > > > On Mon, 6 Sep 2021 09:47:29 +0530 > > wrote: > > > > > From: Jerin Jacob > > > > > > adding optional libwind library dependency to DPDK for > > > enhanced backtrace based on ucontext. > > > > > >

Re: [dpdk-dev] [PATCH v3 3/6] eal: support libunwind based backtrace

2022-01-27 Thread Jerin Jacob
On Fri, Jan 28, 2022 at 2:18 AM Stephen Hemminger wrote: > > On Mon, 6 Sep 2021 09:47:29 +0530 > wrote: > > > From: Jerin Jacob > > > > adding optional libwind library dependency to DPDK for > > enhanced backtrace based on ucontext. > > > > Signed-off-by: Jerin Jacob > > > Was looking for bette

Re: [dpdk-dev] [PATCH v3 3/6] eal: support libunwind based backtrace

2022-01-27 Thread Stephen Hemminger
On Mon, 6 Sep 2021 09:47:29 +0530 wrote: > From: Jerin Jacob > > adding optional libwind library dependency to DPDK for > enhanced backtrace based on ucontext. > > Signed-off-by: Jerin Jacob Was looking for better backtrace and noticed that there is libbacktrace on github (BSD licensed). It

RE: [dpdk-dev] [PATCH v3] app/testpmd: fix l4 sw csum over multi segments

2021-12-03 Thread Li, Xiaoyun
Hi > -Original Message- > From: Olivier Matz > Sent: Friday, October 29, 2021 09:29 > To: Morten Brørup > Cc: Yigit, Ferruh ; Li, Xiaoyun > ; > Ananyev, Konstantin ; > step...@networkplumber.org; dev@dpdk.org; sta...@dpdk.org; > Medvedkin, Vladimir > Sub

Re: [dpdk-dev] [PATCH v3] doc/guides: add details for new test structure

2021-11-26 Thread Thomas Monjalon
> >The testing guide is now updated to include details about using > >sub-testsuites. > >Some example code is given to demonstrate how they can be used. > > > >A note is also added to highlight the need for using vdev EAL args when > >running cryptodev tests. > > > >Signed-off-by: Ciara Power > >

Re: [dpdk-dev] [PATCH v3] devtools: add acronyms in dictionary for commit checks

2021-11-25 Thread Thomas Monjalon
17/09/2021 13:03, Jerin Jacob: > On Fri, Sep 17, 2021 at 4:32 PM Ashwin Sekhar T K wrote: > > > > Update word list with Marvell specific acronyms. > > > > CPT -> Cryptographic Accelerator Unit > > CQ -> Completion Queue > > LBK -> Loopback Interface Unit > > LMT -> Large Atomic Store Unit > >

Re: [dpdk-dev] [PATCH v3 0/5] mlx5: workaround MR issues

2021-11-10 Thread Thomas Monjalon
> Matan Azrad (2): > common/mlx5: add wrapped MR create API > vdpa/mlx5: workaround dirty bitmap MR creation > > Michael Baum (3): > common/mlx5: glue MR registration with IOVA > vdpa/mlx5: workaround guest MR registrations > net/mlx5: workaround MR creation for flow counter Applied, th

[dpdk-dev] [PATCH v3] vhost: fix physical address mapping

2021-11-09 Thread Xuan Ding
When choosing IOVA as PA mode, IOVA is likely to be discontinuous, which requires page by page mapping for DMA devices. To be consistent, this patch implements page by page mapping instead of mapping at the region granularity for both IOVA as VA and PA mode. Fixes: 7c61fa08b716 ("vhost: enable IOM

[dpdk-dev] [PATCH v3] eal/arm64: support ASan

2021-11-09 Thread Volodymyr Fialko
This patch defines ASAN_SHADOW_OFFSET for arm64 according to the ASan documentation. This offset should cover all arm64 VMAs supported by ASan. Signed-off-by: Volodymyr Fialko Reviewed-by: David Marchand Acked-by: Jerin Jacob Acked-by: Ruifeng Wang --- Changes since v2: - added a comment that

Re: [dpdk-dev] [PATCH v3 2/5] dma/cnxk: create and initialize dmadev on pci probe

2021-11-09 Thread Thomas Monjalon
09/11/2021 04:52, Radha Mohan: > On Sun, Nov 7, 2021 at 6:04 PM Thomas Monjalon wrote: > > > > 03/11/2021 19:01, Radha Mohan Chintakuntla: > > > This patch creates and initializes a dmadev device on pci probe. > > > > > > Signed-off-by: Radha Mohan Chintakuntla > > > > Series applied with few sma

Re: [dpdk-dev] [PATCH v3 2/5] dma/cnxk: create and initialize dmadev on pci probe

2021-11-08 Thread Radha Mohan
On Sun, Nov 7, 2021 at 6:04 PM Thomas Monjalon wrote: > > 03/11/2021 19:01, Radha Mohan Chintakuntla: > > This patch creates and initializes a dmadev device on pci probe. > > > > Signed-off-by: Radha Mohan Chintakuntla > > Series applied with few small improvements in the doc, > compilation and o

Re: [dpdk-dev] [PATCH v3 1/1] gpu/cuda: introduce CUDA driver

2021-11-08 Thread David Marchand
On Mon, Nov 8, 2021 at 7:17 PM wrote: > diff --git a/drivers/gpu/cuda/meson.build b/drivers/gpu/cuda/meson.build > new file mode 100644 > index 00..92b30c35b4 > --- /dev/null > +++ b/drivers/gpu/cuda/meson.build > @@ -0,0 +1,13 @@ > +# SPDX-License-Identifier: BSD-3-Clause > +# Copyright (

Re: [dpdk-dev] [PATCH v3 0/9] code optimization for hns3 PMD

2021-11-08 Thread Ferruh Yigit
On 11/6/2021 1:42 AM, Min Hu (Connor) wrote: This patch set contains refactor patches and code check patches. Chengwen Feng (1): net/hns3: remove PF/VF duplicate code Huisong Li (7): net/hns3: fix the shift of DMA address in Rx/Tx queue net/hns3: remove a redundant function declaration

[dpdk-dev] [PATCH v3] ip_frag: hide internal structures

2021-11-08 Thread Konstantin Ananyev
Move internal reassembly structures into new private header 'ip_reassembly.h'. Signed-off-by: Konstantin Ananyev --- lib/ip_frag/ip_frag_common.h | 1 + lib/ip_frag/ip_reassembly.h | 89 lib/ip_frag/rte_ip_frag.h| 74 +- 3 fi

Re: [dpdk-dev] [PATCH v3] net/i40e: fix i40evf device initialization

2021-11-08 Thread Xueming(Steven) Li
On Tue, 2021-10-12 at 14:17 +, Ben Magistro wrote: > The i40evf driver is not initializing the eth_dev attribute which > can result in a nullptr dereference. Changes were modeled after the > iavf_dev_init() per suggestion from the mailing list[1]. > > [1] https://mails.dpdk.org/archives/dev/20

[dpdk-dev] [PATCH v3] kni: allow configuring the kni thread granularity

2021-11-08 Thread Tudor Cornea
The Kni kthreads seem to be re-scheduled at a granularity of roughly 1 millisecond right now, which seems to be insufficient for performing tests involving a lot of control plane traffic. Even if KNI_KTHREAD_RESCHEDULE_INTERVAL is set to 5 microseconds, it seems that the existing code cannot resch

Re: [dpdk-dev] [PATCH v3 7/7] doc: add user guide of DPAA DMA driver

2021-11-08 Thread Thomas Monjalon
08/11/2021 10:07, Gagandeep Singh: > This patch adds DPAA DMA user guide. > > Signed-off-by: Gagandeep Singh > --- > MAINTAINERS | 1 + > doc/guides/dmadevs/dpaa.rst | 60 + > 2 files changed, 61 insertions(+) Please do not forget the doc ind

Re: [dpdk-dev] [PATCH v3 3/7] dma/dpaa: add driver logs

2021-11-08 Thread Thomas Monjalon
08/11/2021 10:07, Gagandeep Singh: > This patch supports DPAA DMA driver logs. That's a strange patch. The log macros should be introduced in the first patch. And the error messages should come with the rest of the code (in patch 2?)

Re: [dpdk-dev] [PATCH v3 7/7] doc: add user guide of DPAA DMA driver

2021-11-08 Thread Thomas Monjalon
08/11/2021 10:07, Gagandeep Singh: > This patch adds DPAA DMA user guide. Please I prefer having doc introduced along other patches. Each time a patch introduce a feature, the doc should be updated.

Re: [dpdk-dev] [PATCH v3] app/flow-perf: added option to support flow priority

2021-11-08 Thread Thomas Monjalon
> > Added support to create flows with priority attribute set randomly between > > 0 and a user supplied maximum value. This is useful to measure performance > > on NICs which may have to rearrange flows to honor flow priority. > > > > Removed the lower limit of 10 flows per batch. > > > > Si

[dpdk-dev] [PATCH v3 7/7] doc: add user guide of DPAA DMA driver

2021-11-08 Thread Gagandeep Singh
This patch adds DPAA DMA user guide. Signed-off-by: Gagandeep Singh --- MAINTAINERS | 1 + doc/guides/dmadevs/dpaa.rst | 60 + 2 files changed, 61 insertions(+) create mode 100644 doc/guides/dmadevs/dpaa.rst diff --git a/MAINTAINERS b/MAINTA

[dpdk-dev] [PATCH v3 6/7] dma/dpaa: support statistics

2021-11-08 Thread Gagandeep Singh
This patch support DMA read and reset statistics operations Signed-off-by: Gagandeep Singh --- drivers/dma/dpaa/dpaa_qdma.c | 51 +++- drivers/dma/dpaa/dpaa_qdma.h | 1 + 2 files changed, 51 insertions(+), 1 deletion(-) diff --git a/drivers/dma/dpaa/dpaa_qdma.c

[dpdk-dev] [PATCH v3 5/7] dma/dpaa: support DMA operations

2021-11-08 Thread Gagandeep Singh
This patch support copy, submit, completed and completed status functionality of DMA driver. Signed-off-by: Gagandeep Singh --- drivers/dma/dpaa/dpaa_qdma.c | 334 +++ drivers/dma/dpaa/dpaa_qdma.h | 4 + 2 files changed, 338 insertions(+) diff --git a/drivers/d

[dpdk-dev] [PATCH v3 4/7] dma/dpaa: support basic operations

2021-11-08 Thread Gagandeep Singh
This patch support basic DMA operations which includes device capability and channel setup. Signed-off-by: Gagandeep Singh --- drivers/dma/dpaa/dpaa_qdma.c | 204 +++ drivers/dma/dpaa/dpaa_qdma.h | 6 ++ 2 files changed, 210 insertions(+) diff --git a/drivers/d

[dpdk-dev] [PATCH v3 3/7] dma/dpaa: add driver logs

2021-11-08 Thread Gagandeep Singh
This patch supports DPAA DMA driver logs. Signed-off-by: Gagandeep Singh --- drivers/dma/dpaa/dpaa_qdma.c | 22 --- drivers/dma/dpaa/dpaa_qdma_logs.h | 46 +++ 2 files changed, 64 insertions(+), 4 deletions(-) create mode 100644 drivers/dma/dpaa/dpaa

[dpdk-dev] [PATCH v3 2/7] dma/dpaa: add device probe and remove functionality

2021-11-08 Thread Gagandeep Singh
This patch add device initialisation functionality. Signed-off-by: Gagandeep Singh --- drivers/dma/dpaa/dpaa_qdma.c | 456 ++- drivers/dma/dpaa/dpaa_qdma.h | 236 ++ 2 files changed, 690 insertions(+), 2 deletions(-) create mode 100644 drivers/dma

[dpdk-dev] [PATCH v3 1/7] dma/dpaa: introduce DPAA DMA driver

2021-11-08 Thread Gagandeep Singh
The DPAA DMA driver is an implementation of the dmadev APIs, that provide means to initiate a DMA transaction from CPU. The initiated DMA is performed without CPU being involved in the actual DMA transaction. This is achieved via using the QDMA controller of DPAA SoC. Signed-off-by: Gagandeep Sin

[dpdk-dev] [PATCH v3 0/7] Introduce DPAA DMA driver

2021-11-08 Thread Gagandeep Singh
This series support DMA driver for NXP 1046A and 1043A SoCs. v2-change-log: * series rebased with latest dma driver v3-change-log: * support statistics. * replaced local endianness conversion functions with rte_*. * improved submit API logic. * Handled all comments given by fengchengwen Gagandee

Re: [dpdk-dev] [PATCH v3 2/5] dma/cnxk: create and initialize dmadev on pci probe

2021-11-07 Thread Thomas Monjalon
03/11/2021 19:01, Radha Mohan Chintakuntla: > This patch creates and initializes a dmadev device on pci probe. > > Signed-off-by: Radha Mohan Chintakuntla Series applied with few small improvements in the doc, compilation and other more or less important details like the release notes. I think

Re: [dpdk-dev] [PATCH v3 2/5] dma/cnxk: create and initialize dmadev on pci probe

2021-11-07 Thread Thomas Monjalon
03/11/2021 19:01, Radha Mohan Chintakuntla: > This patch creates and initializes a dmadev device on pci probe. > > Signed-off-by: Radha Mohan Chintakuntla > --- > MAINTAINERS| 6 ++ > doc/guides/dmadevs/cnxk.rst| 58 +++ > doc/guides/dmadevs/index.rst

[dpdk-dev] [PATCH v3 9/9] net/hns3: remove PF/VF duplicate code

2021-11-05 Thread Min Hu (Connor)
From: Chengwen Feng This patch remove PF/VF duplicate code of: 1. get firmware version. 2. get device info. 3. rx interrupt related functions. Signed-off-by: Chengwen Feng Signed-off-by: Min Hu (Connor) --- drivers/net/hns3/hns3_common.c| 339 +- drivers/net/hn

[dpdk-dev] [PATCH v3 5/9] net/hns3: extract a common file

2021-11-05 Thread Min Hu (Connor)
From: Huisong Li This patch extracts a common file to store the common code for PF and VF driver. Signed-off-by: Huisong Li Signed-off-by: Min Hu (Connor) --- drivers/net/hns3/hns3_cmd.c | 2 +- drivers/net/hns3/hns3_common.c| 426 + drivers/net/hns3/hn

[dpdk-dev] [PATCH v3 3/9] net/hns3: modifying code alignment

2021-11-05 Thread Min Hu (Connor)
From: Huisong Li This patch modifies some code alignment issues to make the code style more consistent. Signed-off-by: Huisong Li Signed-off-by: Min Hu (Connor) --- drivers/net/hns3/hns3_rxtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/hns3/hns3_rxtx.c b/

[dpdk-dev] [PATCH v3 6/9] net/hns3: add hns3 flow header file

2021-11-05 Thread Min Hu (Connor)
This patch adds a hns3_flow.h to make the code easier to maintain. Signed-off-by: Huisong Li Signed-off-by: Min Hu (Connor) --- drivers/net/hns3/hns3_ethdev.c| 1 + drivers/net/hns3/hns3_ethdev.h| 3 +-- drivers/net/hns3/hns3_ethdev_vf.c | 1 + drivers/net/hns3/hns3_fdir.h | 31

[dpdk-dev] [PATCH v3 8/9] net/hns3: fix the return value of the function

2021-11-05 Thread Min Hu (Connor)
From: Huisong Li Fixing the return value of the function to clear static warning. Fixes: 1181500b2fc5 ("net/hns3: adjust MAC address logging") Cc: sta...@dpdk.org Signed-off-by: Huisong Li Signed-off-by: Min Hu (Connor) --- drivers/net/hns3/hns3_common.c | 8 1 file changed, 4 inser

[dpdk-dev] [PATCH v3 4/9] net/hns3: use unsigned integer for bitwise operations

2021-11-05 Thread Min Hu (Connor)
From: Huisong Li Bitwise operations should be used only with unsigned integer. This patch modifies some code that does not meet this rule. Signed-off-by: Huisong Li Signed-off-by: Min Hu (Connor) --- drivers/net/hns3/hns3_ethdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) dif

  1   2   3   4   5   6   7   8   9   10   >