RE: [PATCH 00/10] Sync BPHY changes

2022-06-14 Thread Tomasz Duszynski
Hi, Gentle reminder about this series. > -Original Message- > From: Tomasz Duszynski > Sent: Saturday, June 4, 2022 6:27 PM > To: dev@dpdk.org > Cc: tho...@monjalon.net; Jerin Jacob Kollanukkaran ; > Tomasz Duszynski > > Subject: [PATCH 00/10] Sync BPHY changes > > This series is a

RE: [v2] net/mlx5: support represented port item

2022-06-14 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Sean Zhang > Sent: Tuesday, June 7, 2022 2:18 PM > To: NBU-Contact-Thomas Monjalon (EXTERNAL) ; > Matan Azrad ; Slava Ovsiienko > > Cc: dev@dpdk.org > Subject: [v2] net/mlx5: support represented port item > > Add support for represented_port item in patt

RE: [v2 0/3] Add support for modifying ECN in IPv4/IPv6 header

2022-06-14 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Sean Zhang > Sent: Tuesday, June 7, 2022 2:19 PM > To: NBU-Contact-Thomas Monjalon (EXTERNAL) > Cc: dev@dpdk.org > Subject: [v2 0/3] Add support for modifying ECN in IPv4/IPv6 header > > This patch set adds support for modifying ECN fields in IPv4/IPv6 h

Re: [PATCH 05/12] net/enetfec: fix build with GCC 12

2022-06-14 Thread Sachin Saxena (OSS)
Acked-by: Sachin Saxena On 6/10/2022 6:38 PM, David Marchand wrote: On Wed, May 18, 2022 at 12:17 PM David Marchand wrote: GCC 12 raises the following warning: ../drivers/net/enetfec/enet_ethdev.c: In function ‘enetfec_rx_queue_setup’: ../drivers/net/enetfec/enet_ethdev.c:473:9: err

RE: [PATCH] net/af_xdp: allow using copy mode in XSK

2022-06-14 Thread Li, Xiaoyun
Hi > -Original Message- > From: Zhang, Qi Z > Sent: Tuesday, June 14, 2022 00:38 > To: Li, Xiaoyun ; Loftus, Ciara > ; dev@dpdk.org > Subject: RE: [PATCH] net/af_xdp: allow using copy mode in XSK > > > > > -Original Message- > > From: Li, Xiaoyun > > Sent: Monday, June 13, 202

Re: [PATCH v2 1/3] eal: fix segment fault when exit trace

2022-06-14 Thread David Marchand
On Tue, Jun 14, 2022 at 8:06 AM Chengwen Feng wrote: > > Bug scenario: > 1. start testpmd: > dpdk-testpmd -l 4-6 -a :7d:00.0 --trace=.* -- -i > 2. quit testpmd and then observed segment fault: > Bye... > Segmentation fault (core dumped) > > The root cause is that rte_tr

RE: [PATCH v7] net/i40e: add outer VLAN processing

2022-06-14 Thread Zhang, Yuying
Hi Kevin, Workaround should be replaced when root cause be found. Best regards, Yuying > -Original Message- > From: Liu, KevinX > Sent: Tuesday, June 14, 2022 11:07 AM > To: Zhang, Yuying ; dev@dpdk.org > Cc: Xing, Beilei ; Yang, SteveX > ; Zhang, RobinX > Subject: RE: [PATCH v7] net/i

RE: [PATCH v7] net/i40e: add outer VLAN processing

2022-06-14 Thread Liu, KevinX
Yes, that is necessary. Thank you very much for your review! > -Original Message- > From: Zhang, Yuying > Sent: 2022年6月14日 16:40 > To: Liu, KevinX ; dev@dpdk.org > Cc: Xing, Beilei ; Yang, SteveX > ; Zhang, RobinX > Subject: RE: [PATCH v7] net/i40e: add outer VLAN processing > > Hi Kevi

IPv6 in DPDK 21.11 library

2022-06-14 Thread Kamaraj P
Hi Team, After integrating with our code base, we are trying to build DPDK 21.11 and see a lot of ipv6 redefinition errors like below. ipv6_types.h:1027:9: error: redefinition of âstruct ip6_hdrctlâ 1027 | struct ip6_hdrctl { | ^~ In file included from /workspace/root/us

RE: [PATCH 00/14] Add support of NFP3800 chip and firmware with NFDk

2022-06-14 Thread Kevin Liu
Yes, I will update documentation and release notes, thanks -Original Message- From: Ferruh Yigit Sent: Friday, June 3, 2022 06:51 To: Kevin Liu Cc: Niklas Soderlund ; dev@dpdk.org Subject: Re: [PATCH 00/14] Add support of NFP3800 chip and firmware with NFDk On 6/2/2022 2:52 AM, Jin Liu

RE: [PATCH 07/14] net/nfp: support NFDK firmware

2022-06-14 Thread Kevin Liu
We also want to just use one function 'nfp_net_tx_queue_release()' to service both NFD3 and NFDk, But we can not get the version of NFD in function 'nfp_net_tx_queue_release()', now get NFD version through 'hw->ver' For the function 'nfp_net_ethdev_ops_mount()', the logic below is in two diffe

RE: [PATCH 08/14] net/nfp: structure adjustment

2022-06-14 Thread Kevin Liu
We want to distinguish between NFD3 and NFDk, and maybe it is not necessary, I will update it, thanks -Original Message- From: Ferruh Yigit Sent: Friday, June 3, 2022 06:54 To: Kevin Liu ; dev@dpdk.org Cc: Niklas Soderlund ; Diana Wang ; Nole Zhang ; Chaoyong He Subject: Re: [PATCH 0

RE: [PATCH 14/14] net/nfp: modify RSS logic

2022-06-14 Thread Kevin Liu
Yes, you are right, thanks for your comment. And I found this logic is not right, and I have update this logic as below We will use RSS2 if NIC cap support, otherwise will use RSS if (hw->cap & NFP_NET_CFG_CTRL_RSS2) new_ctrl |= NFP_NET_CFG_CTRL_RSS2;

RE: [PATCH 01/14] net/nfp: change the coding style

2022-06-14 Thread Kevin Liu
Will do, thanks -Original Message- From: Ferruh Yigit Sent: Friday, June 3, 2022 06:52 To: Kevin Liu ; dev@dpdk.org Cc: Niklas Soderlund ; Chaoyong He Subject: Re: [PATCH 01/14] net/nfp: change the coding style On 6/2/2022 2:52 AM, Jin Liu wrote: > From: Chaoyong He > > Change the c

RE: [PATCH 06/14] net/nfp: support NFP3800 card

2022-06-14 Thread Kevin Liu
Will do, thanks -Original Message- From: Ferruh Yigit Sent: Friday, June 3, 2022 06:53 To: Kevin Liu ; dev@dpdk.org Cc: Niklas Soderlund ; Diana Wang ; Nole Zhang ; Chaoyong He Subject: Re: [PATCH 06/14] net/nfp: support NFP3800 card On 6/2/2022 2:52 AM, Jin Liu wrote: > Add support

Re: [PATCH 07/14] net/nfp: support NFDK firmware

2022-06-14 Thread Ferruh Yigit
On 6/14/2022 9:49 AM, Kevin Liu wrote: We also want to just use one function 'nfp_net_tx_queue_release()' to service both NFD3 and NFDk, But we can not get the version of NFD in function 'nfp_net_tx_queue_release()', now get NFD version through 'hw->ver' Again, it is up to you, but it shoul

Re: [PATCH 10/12] vhost/crypto: fix build with GCC 12

2022-06-14 Thread David Marchand
On Thu, Jun 2, 2022 at 12:09 PM Bruce Richardson wrote: > > On Wed, May 18, 2022 at 12:16:55PM +0200, David Marchand wrote: > > GCC 12 raises the following warning: > > > > In file included from ../lib/mempool/rte_mempool.h:46, > > from ../lib/mbuf/rte_mbuf.h:38, > >

[PATCH v2] net/af_xdp: allow using copy mode in XSK

2022-06-14 Thread Xiaoyun Li
DPDK assumes that users only want AF_XDP socket (XSK) into zero copy mode when the kernel supports it. However, sometimes kernel driver doesn't support it well and copy mode is more stable and preferred. This patch allows using devarg "-a xx:xx.x,force_copy=1" to force the AF_XDP socket into copy

Re: [PATCH 10/12] vhost/crypto: fix build with GCC 12

2022-06-14 Thread Bruce Richardson
On Tue, Jun 14, 2022 at 11:22:24AM +0200, David Marchand wrote: > On Thu, Jun 2, 2022 at 12:09 PM Bruce Richardson > wrote: > > > > On Wed, May 18, 2022 at 12:16:55PM +0200, David Marchand wrote: > > > GCC 12 raises the following warning: > > > > > > In file included from ../lib/mempool/rte_mempoo

Re: [PATCH v3] event/dlb2: fix advertized capabilities

2022-06-14 Thread Jerin Jacob
On Mon, Jun 13, 2022 at 11:49 PM Timothy McDaniel wrote: > > This commit corrects the advertized capabilities reported by the DLB2 PMD. > > Previously DLB2 reported supporting RTE_EVENT_DEV_CAP_QUEUE_QOS, but the > DLB2 hardware does not support such capability. This commit removes that > feature

RE: [PATCH 07/14] net/nfp: support NFDK firmware

2022-06-14 Thread Kevin Liu
Now, I modify logic, just keep 'nfp_net_tx_queue_release()', delete 'nfp_net_nfdk_tx_queue_release()' & 'nfp_net_nfd3_tx_queue_release()' >>> My comment was to extract the logic into its own function as it is done >>> is PF, so to have something like 'nfp_netvf_ethdev_ops_mount()'. the logic

Re: [PATCH 0/4] clean up zero-length arrays

2022-06-14 Thread Bruce Richardson
On Wed, Jun 08, 2022 at 08:23:02AM -0700, Stephen Hemminger wrote: > On Thu, 2 Jun 2022 16:08:30 +0100 > Bruce Richardson wrote: > > > This patchset adds a coccinelle script to clean-up zero-length > > arrays in structures. The final patches are the result of running > > that script on the DPDK

Re: [PATCH] vdpa/mlx5: return correct error code after rte_intr_instance_alloc failed

2022-06-14 Thread Maxime Coquelin
Hi newsky647, On 6/12/22 16:09, 835703...@qq.com wrote: From: newsky647 <835703...@qq.com> After function rte_intr_instance_alloc failed, we should return ENOMEM for error code. Fixes: 5fe068bf7a2 ("vdpa/mlx5: reuse resources in reconfiguration") Signed-off-by: newsky647 <835703...@qq.com> --

Re: [PATCH v6] app/testpmd: add Host Shaper command

2022-06-14 Thread Singh, Aman Deep
Hi Spike, On 6/13/2022 8:20 AM, Spike Du wrote: Add command line options to support host shaper configure. - Command syntax: mlx5 set port host_shaper avail_thresh_triggered <0|1> rate - Example commands: To enable avail_thresh_triggered on port 1 and disable current host shaper: testpmd>

Re: [PATCH 0/4] clean up zero-length arrays

2022-06-14 Thread Bruce Richardson
On Tue, Jun 14, 2022 at 10:40:50AM +0100, Bruce Richardson wrote: > On Wed, Jun 08, 2022 at 08:23:02AM -0700, Stephen Hemminger wrote: > > On Thu, 2 Jun 2022 16:08:30 +0100 > > Bruce Richardson wrote: > > > > > This patchset adds a coccinelle script to clean-up zero-length > > > arrays in struct

Re: [PATCH v2] vdpa/mlx5: workaround var offset within page

2022-06-14 Thread Maxime Coquelin
Hi Yajun, On 6/1/22 11:46, Maxime Coquelin wrote: On 6/1/22 09:55, Maxime Coquelin wrote: Hi Yajun, On 3/15/22 03:47, Yajun Wu wrote: vDPA driver first uses kernel driver to allocate doorbell(VAR) area for each device. Then uses var->mmap_off and var->length to mmap uverbs device file as

RE: [PATCH v6] app/testpmd: add Host Shaper command

2022-06-14 Thread Spike Du
> -Original Message- > From: Singh, Aman Deep > Sent: Tuesday, June 14, 2022 5:44 PM > To: Spike Du ; Matan Azrad ; > Slava Ovsiienko ; Ori Kam ; > NBU-Contact-Thomas Monjalon (EXTERNAL) ; > Wenzhuo Lu ; Beilei Xing ; > Bernard Iremonger ; Shahaf Shuler > > Cc: andrew.rybche...@oktetlab

[PATCH v4 1/1] app/testpmd: support different input color method

2022-06-14 Thread skori
From: Sunil Kumar Kori To enable input coloring, based on VLAN or DSCP, patch adds command line interface to configure the following: - configuring input coloring using VLAN or DSCP while creating meter i.e. during rte_mtr_create() - Update VLAN input coloring table at runtime. - configu

Re: [kmods PATCH] linux/igb_uio: allow modules install

2022-06-14 Thread Ferruh Yigit
On 4/12/2022 2:14 PM, Bruce Richardson wrote: CAUTION: This message has originated from an External Source. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email. For those still using the "igb_uio" kernel module, there may be occasions w

Re: [kmods PATCH] linux/igb_uio: allow modules install

2022-06-14 Thread Ferruh Yigit
On 6/14/2022 11:25 AM, Ferruh Yigit wrote: On 4/12/2022 2:14 PM, Bruce Richardson wrote: CAUTION: This message has originated from an External Source. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email. For those still using the "igb_

Re: [PATCH v9] event/dlb2: add support for single 512B write of 4 QEs

2022-06-14 Thread Jerin Jacob
On Tue, Jun 14, 2022 at 2:09 AM Timothy McDaniel wrote: > > On Xeon, 512b accesses are available, so movdir64 instruction is able to > perform 512b read and write to DLB producer port. In order for movdir64 > to be able to pull its data from store buffers (store-buffer-forwarding) > (before actual

Re: [PATCH] event/dlb2: add ldb port specific COS support

2022-06-14 Thread Jerin Jacob
On Mon, Apr 11, 2022 at 4:26 AM Timothy McDaniel wrote: > > DLB supports 4 class of service domains, to aid in managing the > device bandwidth across ldb ports. This commit allows specifying > which ldb ports will participate in the COS scheme, which class > they are a part of, and the specific ba

Re: [PATCH] event/dlb2: add ldb port specific COS support

2022-06-14 Thread Jerin Jacob
On Tue, Jun 14, 2022 at 4:12 PM Jerin Jacob wrote: > > On Mon, Apr 11, 2022 at 4:26 AM Timothy McDaniel > wrote: > > > > DLB supports 4 class of service domains, to aid in managing the > > device bandwidth across ldb ports. This commit allows specifying > > which ldb ports will participate in the

[PATCH v7] app/testpmd: add Host Shaper command

2022-06-14 Thread Spike Du
this patch is taken out from series of "introduce per-queue available descriptor threshold and host shaper" to simplify the review, and it's the last one for non-PMD change. However it depends on a PMD commit for host shaper config API, should be merged after PMD patches. -- v7: - remove some t

[PATCH v7] app/testpmd: add Host Shaper command

2022-06-14 Thread Spike Du
Add command line options to support host shaper configure. - Command syntax: mlx5 set port host_shaper avail_thresh_triggered <0|1> rate - Example commands: To enable avail_thresh_triggered on port 1 and disable current host shaper: testpmd> mlx5 set port 1 host_shaper avail_thresh_triggered 1

Re: [dpdk-dev] [PATCH] common/cnxk: dump hardware flow MCAM entry data

2022-06-14 Thread Jerin Jacob
On Tue, May 17, 2022 at 9:34 AM wrote: > > From: Satheesh Paul > > When dumping flow data, read hardware MCAM entry corresponding > to the flow and print that data also. > > Signed-off-by: Satheesh Paul > Reviewed-by: Kiran Kumar Kokkilagadda Updated the git commit as follows and applied to d

[PATCH 0/2] add includes to help when editing in Eclipse

2022-06-14 Thread Bruce Richardson
These two small patches add in some additional header includes to 3 DPDK files, in order to improve the experience of anyone who, like me, sometimes uses eclipse-cdt as an editor for working with DPDK code. The C indexer in eclipse seems easily confused when missing some of our macro defintions, so

[PATCH 1/2] examples/l3fwd: add include for macro definition

2022-06-14 Thread Bruce Richardson
The header files "l3fwd_em.h" and "l3fwd_em_sequential.h" use the "__rte_always_inline" macro but don't directly include "rte_common.h" to get the definition of it. This inclusion is not necessary for compilation, but the lack of it can confuse some indexers - such as those in eclipse, which report

[PATCH 2/2] common/cnxk: add include for macro definition

2022-06-14 Thread Bruce Richardson
The header file "roc_io.h" uses the "__plt_always_inline" macro but don't include "roc_platform.h" to get the definition of it. This inclusion is not necessary for compilation, but the lack of it can confuse some indexers - such as those in eclipse, which reports the lines: "static __plt_always_in

Re: [PATCH 3/3] ci: use crossbuild-essential-riscv64 for compiling

2022-06-14 Thread Aaron Conole
Stanislaw Kardach writes: > The current packages installed for RISC-V build check do not contain a > C++ compiler, which hid an issue with C++ type conversion in the > rte_vect.h header on RISC-V or in the scalar implementation of the LPM > x4 lookup. Now that this issue is fixed, use the full to

[PATCH] examples/ipsec-secgw: fix ESN setting

2022-06-14 Thread Radu Nicolau
Fix ESN option flag and initial value for the rte_ipsec library path. Fixes: 560029d5cfc9 ("examples/ipsec-secgw: define initial ESN value") Cc: sta...@dpdk.org Signed-off-by: Radu Nicolau --- examples/ipsec-secgw/sa.c | 5 + 1 file changed, 5 insertions(+) diff --git a/examples/ipsec-secg

RE: [PATCH v4 1/2] mem: telemetry support for memseg and element information

2022-06-14 Thread Amit Prakash Shukla
Ping. > -Original Message- > From: Amit Prakash Shukla > Sent: Wednesday, May 25, 2022 4:04 PM > To: Anatoly Burakov > Cc: dev@dpdk.org; Jerin Jacob Kollanukkaran ; > bruce.richard...@intel.com; Amit Prakash Shukla > > Subject: [PATCH v4 1/2] mem: telemetry support for memseg and elemen

Re: [dpdk-dev] [PATCH] doc: update cnxk native compilation steps

2022-06-14 Thread Jerin Jacob
On Thu, May 19, 2022 at 1:34 PM Ruifeng Wang wrote: > > > -Original Message- > > From: jer...@marvell.com > > Sent: Wednesday, May 18, 2022 11:03 PM > > To: dev@dpdk.org; Nithin Dabilpuram ; Kiran > > Kumar K ; Sunil Kumar Kori > > ; Satha Rao > > Cc: tho...@monjalon.net; david.march...@

Re: [PATCH v5 1/2] vhost: support clear in-flight packets for async dequeue

2022-06-14 Thread Maxime Coquelin
On 6/9/22 19:34, Yuan Wang wrote: rte_vhost_clear_queue_thread_unsafe() supports to clear in-flight packets for async enqueue only. But after supporting async dequeue, this API should support async dequeue too. This patch also adds the thread-safe version of this API, the difference between t

[dpdk-dev v4 0/4] crypto/openssl: EVP api update for 3.0 lib

2022-06-14 Thread Kai Ji
This patch set update openssl pmd deprecated APIs to EVP APIs where supported in openssl 3.0 lib --- v4: - compilation issue fix v3: - rebase to 22.07 rc1 v2: - addin DSA routine --- Kai Ji (4): crypto/openssl: 3.0 EVP update on HMAC routine crypto/openssl: 3.0 EVP update on RSA routine

[dpdk-dev v4 1/4] crypto/openssl: 3.0 EVP update on HMAC routine

2022-06-14 Thread Kai Ji
This patch update the symmetric HMAC routine in crypto openssl pmd to adopt openssl 3.0 EVP apis. Signed-off-by: Kai Ji --- drivers/crypto/openssl/openssl_pmd_private.h | 4 + drivers/crypto/openssl/rte_openssl_pmd.c | 187 ++- 2 files changed, 181 insertions(+), 10 deletio

[dpdk-dev v4 2/4] crypto/openssl: 3.0 EVP update on RSA routine

2022-06-14 Thread Kai Ji
This patch updates asymmetric RSA routine in crypto openssl pmd to adopt openssl 3.0 EVP apis. Signed-off-by: Kai Ji --- drivers/crypto/openssl/openssl_pmd_private.h | 7 + drivers/crypto/openssl/rte_openssl_pmd.c | 149 +++ drivers/crypto/openssl/rte_openssl_pmd_ops.c | 11

[dpdk-dev v4 3/4] crypto/openssl: 3.0 EVP update on DH routine

2022-06-14 Thread Kai Ji
This patch updates asymmetric DH routine in crypto openssl pmd to adopt openssl 3.0 EVP apis. Signed-off-by: Kai Ji --- drivers/crypto/openssl/openssl_pmd_private.h | 4 + drivers/crypto/openssl/rte_openssl_pmd.c | 185 +++ drivers/crypto/openssl/rte_openssl_pmd_ops.c | 47

[dpdk-dev v4 4/4] crypto/openssl: 3.0 EVP update on DSA routine

2022-06-14 Thread Kai Ji
This patch updates asymmetric DSA routine in crypto openssl pmd to adopt openssl 3.0 EVP apis. Divide the single combined dsa sign test to two individual dsa sign and dsa verfiy tests. Signed-off-by: Kai Ji --- app/test/test_cryptodev_asym.c | 90 -- drivers/crypto/openssl

Re: [PATCH v5 2/2] example/vhost: support to clear in-flight packets for async dequeue

2022-06-14 Thread Maxime Coquelin
On 6/9/22 19:34, Yuan Wang wrote: This patch allows vring_state_changed() to clear in-flight dequeue packets. It also clears the in-flight packets in a thread-safe way in destroy_device(). Signed-off-by: Yuan Wang --- examples/vhost/main.c | 26 +- 1 file changed,

[PATCH V2] vdpa/mlx5: return correct error code after rte_intr_instance_alloc failed

2022-06-14 Thread 835703180
From: Shiqi Liu <835703...@qq.com> After function rte_intr_instance_alloc failed, we should return ENOMEM for error code. Fixes: 5fe068bf7a2 ("vdpa/mlx5: reuse resources in reconfiguration") Signed-off-by: Shiqi Liu <835703...@qq.com> --- drivers/vdpa/mlx5/mlx5_vdpa_event.c | 1 + 1 file change

[PATCH V2] vdpa/mlx5: return correct error code after rte_intr_instance_alloc failed

2022-06-14 Thread 835703180
From: Shiqi Liu <835703...@qq.com> To Maxime, I am so sorry too late to reply your comment.My name is Shiqi Liu. I got stuck in how to reply the comment before.Now, it seenms to be ok!Maybe there will be some mistakes I have taken , when I reply,please tell me how to do it correctly! Thanks, Shiq

Re: [PATCH V2] vdpa/mlx5: return correct error code after rte_intr_instance_alloc failed

2022-06-14 Thread Maxime Coquelin
On 6/14/22 15:36, 835703...@qq.com wrote: From: Shiqi Liu <835703...@qq.com> After function rte_intr_instance_alloc failed, we should return ENOMEM for error code. Fixes: 5fe068bf7a2 ("vdpa/mlx5: reuse resources in reconfiguration") Signed-off-by: Shiqi Liu <835703...@qq.com> --- drivers/

RE: [PATCH 22.07] doc: make doc roadmap common for Linux/BSD GSGs

2022-06-14 Thread Mcnamara, John
> -Original Message- > From: Bruce Richardson > Sent: Wednesday, March 16, 2022 4:06 PM > To: dev@dpdk.org > Cc: Richardson, Bruce > Subject: [PATCH 22.07] doc: make doc roadmap common for Linux/BSD GSGs > > Both the Linux and FreeBSD GSG docs had a "Documentation Roadmap" > section a

[PATCH] net/nfp: initialize the flbufsz

2022-06-14 Thread Peng Zhang
When the testpmd start-up, it will check MTU range, if MTU > flubfsz, it will lead testpmd start fail. Because the hw->flbufsz doesn't have the initialized value, so it will lead the bug. Fixes: 97a30c4d4c7b ("net/nfp: make sure MTU is never larger than mbuf size") Cc: sta...@dpdk.org Signed-off-

RE: [PATCH 1/2] common/mlx5: update log format after devx_general_cmd error

2022-06-14 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Gregory Etelson > Sent: Wednesday, June 8, 2022 2:58 PM > To: dev@dpdk.org; Gregory Etelson > Cc: Raslan Darawsheh ; Matan Azrad > ; Slava Ovsiienko > Subject: [PATCH 1/2] common/mlx5: update log format after > devx_general_cmd error > > Application can

RE: [PATCH] examples/ipsec-secgw: fix ESN setting

2022-06-14 Thread Zhang, Roy Fan
> -Original Message- > From: Radu Nicolau > Sent: Tuesday, June 14, 2022 1:43 PM > To: Nicolau, Radu ; Akhil Goyal > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: [PATCH] examples/ipsec-secgw: fix ESN setting > > Fix ESN option flag and initial value for the rte_ipsec library path. > > F

RE: [PATCH] examples/ipsec-secgw: fix packet type parsing

2022-06-14 Thread Zhang, Roy Fan
> -Original Message- > From: Radu Nicolau > Sent: Friday, June 10, 2022 11:46 AM > To: Nicolau, Radu ; Akhil Goyal > Cc: dev@dpdk.org; Buckley, Daniel M > Subject: [PATCH] examples/ipsec-secgw: fix packet type parsing > > Add new packet type flags instead of overwriting. > > Fixes: d04

RE: [PATCH 2/3] examples/ipsec-secgw: fix NAT-T header fields

2022-06-14 Thread Zhang, Roy Fan
> -Original Message- > From: Radu Nicolau > Sent: Wednesday, May 25, 2022 2:59 PM > To: Nicolau, Radu ; Akhil Goyal > Cc: dev@dpdk.org; Buckley, Daniel M ; Zhang, Qi > Z ; sta...@dpdk.org > Subject: [PATCH 2/3] examples/ipsec-secgw: fix NAT-T header fields > > Use the proper IP protocol

RE: [PATCH 1/3] ipsec: fix NAT-T ports and length

2022-06-14 Thread Zhang, Roy Fan
> -Original Message- > From: Radu Nicolau > Sent: Wednesday, May 25, 2022 2:59 PM > To: Konstantin Ananyev ; Iremonger, > Bernard ; Medvedkin, Vladimir > > Cc: dev@dpdk.org; Buckley, Daniel M ; Zhang, Qi > Z ; Nicolau, Radu ; > sta...@dpdk.org > Subject: [PATCH 1/3] ipsec: fix NAT-T ports

RE: [PATCH 3/3] net/iavf: fix NAT-T payload length

2022-06-14 Thread Zhang, Roy Fan
> -Original Message- > From: Radu Nicolau > Sent: Wednesday, May 25, 2022 2:59 PM > To: Wu, Jingjing ; Xing, Beilei > Cc: dev@dpdk.org; Buckley, Daniel M ; Zhang, Qi > Z ; Nicolau, Radu ; > sta...@dpdk.org > Subject: [PATCH 3/3] net/iavf: fix NAT-T payload length > > Correct the length c

Re: [dpdk-dev] [PATCH v2] build: ccache support for cross build

2022-06-14 Thread Thomas Monjalon
08/06/2022 19:13, jer...@marvell.com: > --- a/devtools/test-meson-builds.sh > +++ b/devtools/test-meson-builds.sh > @@ -160,7 +160,8 @@ build () #check> [meson options] > if [ -n "$crossfile" ] ; then > cross="--cross-file $crossfile" > targetcc=$(sed -n 's,^c[

Re: [dpdk-dev] [PATCH v2] build: ccache support for cross build

2022-06-14 Thread Thomas Monjalon
> > By default, ccache is not used for cross build[1]. > > Update all cross files to use ccache if it is available in build machine. > > > > Also, updated devtools/test-meson-builds.sh script to find the correct > > DPDK_TARGET due to change in cross file syntax. > > > > [1] > > https://mesonbuil

[Bug 1034] [dpdk-22.07] ipsec-secgw inline test fail

2022-06-14 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1034 Bug ID: 1034 Summary: [dpdk-22.07] ipsec-secgw inline test fail Product: DPDK Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal

Re: [RFC 8/8] ip_frag: fix gcc-12 warnings

2022-06-14 Thread Thomas Monjalon
09/06/2022 09:09, Morten Brørup: > > From: Stephen Hemminger [mailto:step...@networkplumber.org] > > Sent: Wednesday, 8 June 2022 17.27 > > > > On Wed, 8 Jun 2022 09:19:20 +0100 > > Konstantin Ananyev wrote: > > > > > 07/06/2022 18:17, Stephen Hemminger пишет: > > > > The function rte_memcpy can

[PATCH v2 4/6] test/threads: add tests for thread lifetime API

2022-06-14 Thread Tyler Retzlaff
test basic functionality and demonstrate use of following thread lifetime api. * rte_thread_create * rte_thread_detach * rte_thread_join Signed-off-by: Narcisa Vasile Signed-off-by: Tyler Retzlaff --- app/test/test_threads.c | 50 + 1

[PATCH v2 0/6] add thread lifetime and attributes API

2022-06-14 Thread Tyler Retzlaff
add rte thread lifetime and attributes api. with these api additions there is now sufficient platform abstracted thread api to remove the use of pthread in the unit tests. v2: * split implementation of rte_thread_equal for windows / posix and use pthread_equal for posix platforms. * remove

[PATCH v2 3/6] eal: add basic rte thread ID equal API

2022-06-14 Thread Tyler Retzlaff
Add rte_thread_equal() that tests if two rte_thread_id are equal. Signed-off-by: Narcisa Vasile Signed-off-by: Tyler Retzlaff Acked-by: Chengwen Feng --- lib/eal/include/rte_thread.h | 19 +++ lib/eal/unix/rte_thread.c| 6 ++ lib/eal/version.map | 1 + lib/ea

[PATCH v2 2/6] eal: add thread lifetime management

2022-06-14 Thread Tyler Retzlaff
The *rte_thread_create()* function can optionally receive an rte_thread_attr_t object that will cause the thread to be created with the affinity and priority described by the attributes object. If no rte_thread_attr_t is passed (parameter is NULL), the default affinity and priority are used. On Wi

[PATCH v2 1/6] eal: add thread attributes

2022-06-14 Thread Tyler Retzlaff
Implement thread attributes for: * thread affinity * thread priority Implement functions for managing thread attributes. Priority is represented through an enum that allows for two levels: * RTE_THREAD_PRIORITY_NORMAL * RTE_THREAD_PRIORITY_REALTIME_CRITICAL Affinity is desc

[PATCH v2 6/6] test/threads: remove unit test use of pthread

2022-06-14 Thread Tyler Retzlaff
now that rte_thread provides thread lifetime functions stop using pthread in unit tests. Signed-off-by: Tyler Retzlaff --- app/test/test_threads.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/app/test/test_threads.c b/app/test/test_threads.c index 92a149a..034f82d 1

[PATCH v2 5/6] test/threads: add tests for thread attributes API

2022-06-14 Thread Tyler Retzlaff
test basic functionality and demonstrate use of following thread attributes api. additionally, test attributes are processed when supplied to rte_thread_create(). * rte_thread_attr_init * rte_thread_attr_set_affinity * rte_thread_attr_get_affinity * rte_thread_attr_set_priority Si

RE: [PATCH v5 2/2] example/vhost: support to clear in-flight packets for async dequeue

2022-06-14 Thread Hu, Jiayu
Reviewed-by: Jiayu Hu Thanks, Jiayu > -Original Message- > From: Wang, YuanX > Sent: Friday, June 10, 2022 1:34 AM > To: maxime.coque...@redhat.com; Xia, Chenbo ; > dev@dpdk.org > Cc: Hu, Jiayu ; Ding, Xuan ; Pai > G, Sunil ; Wang, YuanX > Subject: [PATCH v5 2/2] example/vhost: support

RE: [PATCH v5 1/2] vhost: support clear in-flight packets for async dequeue

2022-06-14 Thread Hu, Jiayu
> -Original Message- > From: Wang, YuanX > Sent: Friday, June 10, 2022 1:34 AM > To: maxime.coque...@redhat.com; Xia, Chenbo ; > dev@dpdk.org > Cc: Hu, Jiayu ; Ding, Xuan ; Pai > G, Sunil ; Wang, YuanX > Subject: [PATCH v5 1/2] vhost: support clear in-flight packets for async > dequeue

RE: [PATCH v3 1/4] doc/howto: rework section on virtio-user as exception path

2022-06-14 Thread Xia, Chenbo
Hi Bruce, > -Original Message- > From: Richardson, Bruce > Sent: Friday, June 10, 2022 11:36 PM > To: dev@dpdk.org > Cc: Maxime Coquelin ; Xia, Chenbo > ; Richardson, Bruce ; > sta...@dpdk.org > Subject: [PATCH v3 1/4] doc/howto: rework section on virtio-user as > exception path > > This

RE: [PATCH v3 2/4] doc/howto: rename files to match new content name

2022-06-14 Thread Xia, Chenbo
> -Original Message- > From: Richardson, Bruce > Sent: Friday, June 10, 2022 11:36 PM > To: dev@dpdk.org > Cc: Maxime Coquelin ; Xia, Chenbo > ; Richardson, Bruce > Subject: [PATCH v3 2/4] doc/howto: rename files to match new content name > > Since the section in the "howto" has been ren

RE: [PATCH v3 3/4] doc/howto: add code example to virtio-user exception path doc

2022-06-14 Thread Xia, Chenbo
> -Original Message- > From: Richardson, Bruce > Sent: Friday, June 10, 2022 11:36 PM > To: dev@dpdk.org > Cc: Maxime Coquelin ; Xia, Chenbo > ; Richardson, Bruce ; > Stephen Hemminger > Subject: [PATCH v3 3/4] doc/howto: add code example to virtio-user > exception path doc > > The HOWTO

RE: [PATCH v3 4/4] doc/prog_guide: add reference to virtio-user from KNI doc

2022-06-14 Thread Xia, Chenbo
> -Original Message- > From: Richardson, Bruce > Sent: Friday, June 10, 2022 11:36 PM > To: dev@dpdk.org > Cc: Maxime Coquelin ; Xia, Chenbo > ; Richardson, Bruce > Subject: [PATCH v3 4/4] doc/prog_guide: add reference to virtio-user from > KNI doc > > To help encourage use of virtio-use

RE: [PATCH] doc: fix readability in lib vhost prog guide

2022-06-14 Thread Xia, Chenbo
Hi Herakliusz, Thanks for the fix! See comments inline. > -Original Message- > From: Lipiec, Herakliusz > Sent: Saturday, May 28, 2022 1:31 AM > To: maxime.coque...@redhat.com; Xia, Chenbo > Cc: Mcnamara, John ; dev@dpdk.org; Lipiec, > Herakliusz ; sta...@dpdk.org > Subject: [PATCH] doc

RE: [PATCH] vdpa/ifc: fix null pointer dereference

2022-06-14 Thread Xia, Chenbo
Hi Andy, > -Original Message- > From: Pei, Andy > Sent: Wednesday, June 8, 2022 3:34 PM > To: dev@dpdk.org > Cc: Xia, Chenbo ; maxime.coque...@redhat.com; Wang, > Xiao W ; Xu, Rosen ; Xiao, > QimaiX > Subject: [PATCH] vdpa/ifc: fix null pointer dereference > > Fix null pointer dereferen

RE: release candidate 22.07-rc1

2022-06-14 Thread Jiang, YuX
> -Original Message- > From: Thomas Monjalon > Sent: Thursday, June 9, 2022 4:51 AM > To: annou...@dpdk.org > Subject: release candidate 22.07-rc1 > > A new DPDK release candidate is ready for testing: > https://git.dpdk.org/dpdk/tag/?id=v22.07-rc1 > > There are 576 new patches in th

[PATCH v4] lib/eal: fix segfaults due to thread exit order

2022-06-14 Thread zhichaox . zeng
From: Zhichao Zeng The eal-intr-thread is not closed before memory cleanup in the process of exiting. There is a small probability that when the eal-intr-thread is about to use some pointers, the memory were just cleaned, which cause the segment fault error caught by ASan. This patch close the e

Re: [PATCH v2] devtools: ensure proper tag sequence

2022-06-14 Thread Thomas Monjalon
14/06/2022 00:21, jpali...@marvell.com: > + SEQ[0] = "Coverity issue"; > + SEQ[1] = "Bugzilla ID"; > + SEQ[2] = "Fixes"; > + SEQ[3] = "Cc"; > + SEQ[4] = "^$"; > + SEQ[5] = "Suggested-by"; > + SEQ[6] = "Reported-by";

RE: [PATCH v7 1/5] raw/ifpga: introduce AFU driver framework

2022-06-14 Thread Xu, Rosen
Hi Wei, Some comments. Thanks, Rosen > -Original Message- > From: Huang, Wei > Sent: Thursday, June 09, 2022 15:37 > To: dev@dpdk.org; tho...@monjalon.net; nipun.gu...@nxp.com; > hemant.agra...@nxp.com > Cc: sta...@dpdk.org; Xu, Rosen ; Zhang, Tianfei > ; Zhang, Qi Z ; Huang, Wei > > S