Re: [PATCH 3/3] net/mlx5: fix missing adjustment MPRQ stride devargs

2021-12-10 Thread Ferruh Yigit
On 12/9/2021 12:33 PM, Kevin Traynor wrote: On 08/12/2021 15:40, Matan Azrad wrote: Hi Ferruh Thanks for the review. Please see inside some clarifications. From: Ferruh Yigit On 12/8/2021 12:52 PM, Michael Baum wrote: On 12/07/2021 3:41 PM, ferruh.yi...@intel.com wrote: On 11/23/2021 6:3

DPDK Release Status Meeting 2021-12-09

2021-12-10 Thread Mcnamara, John
Release status meeting minutes 2021-12-09 = Agenda: * Release Dates * Subtrees * Roadmaps * LTS * Defects * Opens Participants: * ARM * Canonical * Intel * Marvell * Nvidia * Red Hat Release Dates - The following are the proposed dates for 22

[RFC PATCH] net/af_xdp: reenable secondary process support

2021-12-10 Thread Ciara Loftus
Secondary process support had been disabled for the AF_XDP PMD because there was no logic in place to share the AF_XDP socket file descriptors between the processes. This commit introduces this logic using the IPC APIs. Since AF_XDP rings are single-producer single-consumer, rx/tx in the secondary

[PATCH] build/eal: add OS defines for C conditional checks

2021-12-10 Thread Bruce Richardson
Define a set of macros in the build configuration to allow C runtime code to check the current OS environment. This saves the user having to use ifdefs for e.g. disabling particular tests on Windows. See included documentation changes for usage examples. Signed-off-by: Bruce Richardson --- doc/g

[PATCH 3/3] crypto/ipsec_mb: fix tainted data for session

2021-12-10 Thread Ciara Power
Downcasting a void * to struct aesni_gcm_session * caused the session data to be treated as tainted. Removing the void * temporary variable and adding a cast avoids this issue. Coverity issue: 374377 Fixes: 746825e5c0ea ("crypto/ipsec_mb: move aesni_gcm PMD") Cc: piotrx.bronow...@intel.com Cc: sta

[PATCH 2/3] crypto/ipsec_mb: fix qp cleanup null pointer dereference

2021-12-10 Thread Ciara Power
The qp was being used in the cleanup without checking if it was non NULL. A check is now added to verify qp is non NULL before use. Coverity issue: 374375 Fixes: c75542ae4200 ("crypto/ipsec_mb: introduce IPsec_mb framework") Cc: roy.fan.zh...@intel.com Cc: sta...@dpdk.org Signed-off-by: Ciara Pow

[PATCH 1/3] crypto/ipsec_mb: fix qp setup null pointer dereference

2021-12-10 Thread Ciara Power
When setting up a qp in a secondary process, the local qp pointer is set to the stored device qp, configured by the primary process for that device, but only if that device qp is not NULL. If the device qp was not set up correctly by the primary process and has a NULL value, the local qp variable s

RE: [dpdk-dev] [Bug 826] red_autotest random failures

2021-12-10 Thread Liguzinski, WojciechX
Hi, Unfortunately, I haven’t been able to move the investigation much further. I have been running those tests on machines with higher amount of RAM than 4GB, but with hugepages set there to 1GB and using the script provided by Lincoln. For several runs red_autotest tests didn’t fail even once, n

Re: [PATCH] devtools/cocci: update cocci for ethdev namespace

2021-12-10 Thread Ferruh Yigit
On 12/8/2021 11:45 AM, Aman Singh wrote: Added two specific execptions for ETH_SPEED_10G and ETH_SPEED_25G to avoid there name change. Signed-off-by: Aman Singh --- devtools/cocci/namespace_ethdev.cocci | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/devtools/cocci/name

RE: 20.11.4 patches review and test

2021-12-10 Thread Jiang, YuX
> -Original Message- > From: Jiang, YuX > Sent: Thursday, December 9, 2021 6:01 PM > To: Xueming Li ; sta...@dpdk.org; Lin, Xueqin > > Cc: dev@dpdk.org; Abhishek Marathe ; > Ali Alnubani ; Walker, Benjamin > ; David Christensen > ; Govindharajan, Hariprasad > ; Hemant Agrawal > ; Stokes,

[RFC PATCH] net/af_xdp: use libxdp if available

2021-12-10 Thread Ciara Loftus
AF_XDP support is deprecated in libbpf since v0.7.0 [1]. The libxdp library now provides the functionality which once was in libbpf and which the AF_XDP PMD relies on. This commit updates the AF_XDP meson build to use the libxdp library if available. If it is not available, only versions of libbpf

Re: [PATCH v14 04/11] app/test: skip interrupt tests on Windows

2021-12-10 Thread Bruce Richardson
On Fri, Dec 10, 2021 at 12:23:59PM +0300, Dmitry Kozlyuk wrote: > 2021-12-09 16:39 (UTC+), Bruce Richardson: > > On Thu, Dec 09, 2021 at 04:17:08PM +, Bruce Richardson wrote: > > [...] > > > I'm wondering if a reasonable compromise solution might be to have the > > > build system expose a u

Re: [PATCH v14 04/11] app/test: skip interrupt tests on Windows

2021-12-10 Thread Dmitry Kozlyuk
2021-12-09 16:39 (UTC+), Bruce Richardson: > On Thu, Dec 09, 2021 at 04:17:08PM +, Bruce Richardson wrote: > [...] > > I'm wondering if a reasonable compromise solution might be to have the > > build system expose a usable RTE_EXEC_ENV symbol that can be used in C-code > > if statements rat

[PATCH v3] net/ixgbe: add vector Rx parameter check

2021-12-10 Thread Bin Zheng
Under the circumstance that `rx_tail` wrap back to zero and the advance speed of `rx_tail` is greater than `rxrearm_start`, `rx_tail` will catch up with `rxrearm_start` and surpass it. This may cause some mbufs be reused by application. So we need to make some restrictions to ensure that `rx_tail