RE: [PATCH v3 5/5] config/arm: add AMD CDX

2023-06-15 Thread Ruifeng Wang
> -Original Message- > From: Ferruh Yigit > Sent: Wednesday, June 14, 2023 6:31 PM > To: Ruifeng Wang ; Gupta, Nipun ; > dev@dpdk.org; > tho...@monjalon.net; david.march...@redhat.com; Honnappa Nagarahalli > > Cc: Anand, Harpreet ; Agarwal, Nikhil > ; nd > > Subject: Re: [PATCH v3 5/5]

Re: [PATCH v5 15/15] net/cnxk: add MACsec stats

2023-06-15 Thread Jerin Jacob
On Wed, Jun 14, 2023 at 6:41 PM Akhil Goyal wrote: > > Added support for MACsec SC/flow/session stats. > > Signed-off-by: Akhil Goyal Series applied to dpdk-next-net-mrvl/for-next-net. Thanks > --- > doc/guides/rel_notes/release_23_07.rst | 10 ++-- > drivers/net/cnxk/cn10k_ethdev_sec.c|

[PATCH v2] eal: fix prompt info when remap_segment failed

2023-06-15 Thread Fengnan Chang
When there is not enough space to memsegs, we should prompt which configuration should be modified instead of printing some numbers. Signed-off-by: Fengnan Chang --- lib/eal/freebsd/eal_memory.c | 5 ++--- lib/eal/linux/eal_memory.c | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-)

RE: [PATCH 3/5] lib: align comment blocks

2023-06-15 Thread Ruifeng Wang
> -Original Message- > From: Thomas Monjalon > Sent: Wednesday, June 14, 2023 10:27 PM > To: dev@dpdk.org > Cc: Konstantin Ananyev ; Cristian Dumitrescu > ; Olivier Matz ; > Ruifeng Wang > ; David Christensen ; Bruce > Richardson > ; Ferruh Yigit ; Andrew > Rybchenko > ; Ori Kam > Subj

RE: release candidate 23.07-rc1

2023-06-15 Thread Xu, HailinX
> -Original Message- > From: Thomas Monjalon > Sent: Tuesday, June 13, 2023 5:39 AM > To: annou...@dpdk.org > Subject: release candidate 23.07-rc1 > > A new DPDK release candidate is ready for testing: > https://git.dpdk.org/dpdk/tag/?id=v23.07-rc1 > > There are 574 new patches in

RE: [PATCH 1/5] lib: remove blank line ending comment blocks

2023-06-15 Thread Ruifeng Wang
> -Original Message- > From: Thomas Monjalon > Sent: Wednesday, June 14, 2023 10:27 PM > To: dev@dpdk.org > Cc: Nicolas Chautru ; Cristian Dumitrescu > ; Olivier Matz ; Fan > Zhang > ; Ashish Gupta ; Akhil Goyal > ; Ruifeng Wang ; Anatoly Burakov > ; Harman Kalra ; Joyce Kong > ; jer...@m

Re: [PATCH 0/2] fix variable type in pattern parsing for raw flow

2023-06-15 Thread David Marchand
On Thu, Jun 15, 2023 at 7:17 AM Junfeng Guo wrote: > > In current pattern parsing function for protocol agnostic flow > offloading (raw flow), some of the variables of packet length are > defined as uint8_t, which are too small for some large-size packets, > such as srv6 (Segment Routing over IPv6

RE: [RFC] lib/ethdev: introduce table driven APIs

2023-06-15 Thread Zhang, Qi Z
> -Original Message- > From: Jerin Jacob > Sent: Thursday, June 15, 2023 2:21 PM > To: Zhang, Qi Z > Cc: Ori Kam ; NBU-Contact-Thomas Monjalon (EXTERNAL) > ; david.march...@redhat.com; Richardson, Bruce > ; jer...@marvell.com; ferruh.yi...@amd.com; > Mcnamara, John ; Zhang, Helin > ; te

Re: [PATCH v1 1/1] doc: announce change in bbdev api related to operation extension

2023-06-15 Thread Maxime Coquelin
On 6/14/23 20:18, Chautru, Nicolas wrote: Hi Maxime, -Original Message- From: Maxime Coquelin Hi, On 6/13/23 19:16, Chautru, Nicolas wrote: Hi Maxime, -Original Message- From: Maxime Coquelin On 6/12/23 22:53, Chautru, Nicolas wrote: Hi Maxime, David, -Origin

Re: [RFC PATCH] ethdev: advertise flow restore in mbuf

2023-06-15 Thread David Marchand
On Wed, Jun 14, 2023 at 6:46 PM Slava Ovsiienko wrote: > > Hi, David > > It looks like a good application datapath optimization, as for me. > But I see some concerns: > > 1. Are we sure the PMD should register the flag, not application? > IIRC, usually application registers needed flags/fields and

RE: [EXT] [PATCH v6] app/dma-perf: introduce dma-perf application

2023-06-15 Thread Jiang, Cheng1
Hi, Thanks for your comments, the replies are inline. Thanks, Cheng > -Original Message- > From: Anoob Joseph > Sent: Thursday, June 15, 2023 1:22 PM > To: Jiang, Cheng1 ; tho...@monjalon.net; > Richardson, Bruce ; m...@smartsharesystems.com; > Xia, Chenbo ; Amit Prakash Shukla > > Cc:

RE: [PATCH v9] gro : ipv6 changes to support GRO for TCP/ipv6

2023-06-15 Thread Hu, Jiayu
Hi Kumara, > -Original Message- > From: Kumara Parameshwaran > Sent: Thursday, June 15, 2023 2:20 PM > To: Hu, Jiayu > Cc: dev@dpdk.org; Kumara Parameshwaran > > Subject: [PATCH v9] gro : ipv6 changes to support GRO for TCP/ipv6 > > The patch adds GRO support for TCP/ipv6 packets. This

[PATCH] crypto/openssl: fix SM2 for older openssl version

2023-06-15 Thread Ciara Power
Currently when configuring the session for SM2 asym on OpenSSL PMD using an older OpenSSL version than 3.0, an error returns, showing a failure status for tests. This should skip tests, as the SM2 support is for OpenSSL version 3.0+. Fixes: 3b7d638fb11f ("crypto/openssl: support asymmetric SM2")

Re: [PATCH v3] net/cnxk: add support for reassembly of multi-seg pkts

2023-06-15 Thread Jerin Jacob
On Tue, Jun 13, 2023 at 8:39 PM Nithin Dabilpuram wrote: > > Add support for HW reassembly of multi-seg pkts. > Also optimize the code for normal reassembly path. > > Signed-off-by: Nithin Dabilpuram Updated the release notes as folllowing diff --git a/doc/guides/rel_notes/release_23_07.rst b/do

RE: [PATCH] net/e1000: fixed initialize queue number

2023-06-15 Thread Zhang, Qi Z
> -Original Message- > From: Qiming Yang > Sent: Tuesday, June 13, 2023 3:52 PM > To: dev@dpdk.org > Cc: Su, Simei ; Yang, Qiming ; > sta...@dpdk.org > Subject: [PATCH] net/e1000: fixed initialize queue number > > The initialized queue number is not match the description in HW datashee

RE: [PATCH] examples/ntb: remove redundant logic for dev close

2023-06-15 Thread Ling, WeiX
> -Original Message- > From: Junfeng Guo > Sent: Wednesday, June 14, 2023 1:14 PM > To: Wu, Jingjing > Cc: dev@dpdk.org; sta...@dpdk.org; He, Xingguang > ; Laatz, Kevin ; Guo, > Junfeng > Subject: [PATCH] examples/ntb: remove redundant logic for dev close > > During EAL cleanup stage, a

Re: [RFC] lib/ethdev: introduce table driven APIs

2023-06-15 Thread Jerin Jacob
On Thu, Jun 15, 2023 at 1:12 PM Zhang, Qi Z wrote: > > > > > -Original Message- > > From: Jerin Jacob > > Sent: Thursday, June 15, 2023 2:21 PM > > To: Zhang, Qi Z > > Cc: Ori Kam ; NBU-Contact-Thomas Monjalon (EXTERNAL) > > ; david.march...@redhat.com; Richardson, Bruce > > ; jer...@mar

[PATCH v2 0/3] net/sfc: support FEC feature

2023-06-15 Thread Denis Pryazhennikov
This patch series adds setting and querying of Forward error correction (FEC). AUTO, BASER and RS modes are supported by EF10/EF100 hardware. LLRS mode is not supported. Changes in v2: * Applied review notes in [2/3] and [3/3]; * Added a check for the supported by a device FEC modes in sfc_fec_g

[PATCH v2 1/3] net/sfc: split link update function

2023-06-15 Thread Denis Pryazhennikov
Separate the original link update function into two functions: state retrieval and update. This improves code clarity and maintainability. Signed-off-by: Denis Pryazhennikov Reviewed-by: Ivan Malov Reviewed-by: Andy Moreton Acked-by: Andrew Rybchenko --- drivers/net/sfc/sfc_ethdev.c | 28

[PATCH v2 3/3] net/sfc: support FEC feature

2023-06-15 Thread Denis Pryazhennikov
Support ethdev methods to query and set FEC information. Limitations: ignoring rte_eth_fec_get_capability() results can lead to NOFEC if the device is not strated. Signed-off-by: Denis Pryazhennikov Reviewed-by: Ivan Malov Reviewed-by: Andy Moreton Reviewed-by: Ferruh Yigit --- doc/guides/nic

[PATCH v2 2/3] common/sfc_efx/base: add FEC related macros

2023-06-15 Thread Denis Pryazhennikov
Added new macros to simplify working with FEC bits. Signed-off-by: Denis Pryazhennikov Reviewed-by: Andy Moreton Acked-by: Andrew Rybchenko --- drivers/common/sfc_efx/base/efx.h | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/common/sfc_efx/base/efx.h b/drivers/common/sfc

Re: [dpdk-dev] [PATCH 1/1] build: allow disabling libs

2023-06-15 Thread Bruce Richardson
On Wed, Jun 14, 2023 at 12:09:51PM -0700, Stephen Hemminger wrote: > On Fri, 18 Sep 2020 14:57:50 +0100 > Bruce Richardson wrote: > > > On Fri, Sep 18, 2020 at 02:54:21PM +0200, Mohammed Hawari wrote: > > > Hello Bruce, > > > > > > Thanks for the quick response, see inline > > > > > > Best rega

Re: [PATCH] common/cnxk: removed stale condition

2023-06-15 Thread Jerin Jacob
On Thu, Jun 15, 2023 at 12:01 PM wrote: > > From: Satha Rao > > Removed condition that doesn't have any effect on code flow. > > Coverity issue: 385405 > Fixes: 4d00b8c6a331 ("common/cnxk: allocate dynamic BPIDs") > > Signed-off-by: Satha Rao Applied to dpdk-next-net-mrvl/for-next-net. Thanks

RE: [EXT] [PATCH v6] app/dma-perf: introduce dma-perf application

2023-06-15 Thread Anoob Joseph
Hi Cheng, Please see inline. Thanks, Anoob > -Original Message- > From: Jiang, Cheng1 > Sent: Thursday, June 15, 2023 1:31 PM > To: Anoob Joseph ; tho...@monjalon.net; > Richardson, Bruce ; > m...@smartsharesystems.com; Xia, Chenbo ; Amit > Prakash Shukla > Cc: dev@dpdk.org; Hu, Jiayu

Re: [dpdk-dev] [RFC PATCH] build/pkg-config: remove machine arch flag

2023-06-15 Thread Bruce Richardson
On Wed, Jun 14, 2023 at 12:33:10PM -0700, Stephen Hemminger wrote: > On Fri, 11 Dec 2020 15:51:11 + > Bruce Richardson wrote: > > > Traditionally any apps built using DPDK had to support the same > > instruction sets as supported when the DPDK SDK itself was built, since > > that was "leaked"

Re: [PATCH] net/cnxk: flush SQ before configuring MTU

2023-06-15 Thread Jerin Jacob
On Thu, Jun 15, 2023 at 10:34 AM wrote: > > From: Satha Rao > > When try to configure MTU for lower value causes run time failure > due to old bigger packets enqueued. To avoid error interrupts better > to flush the all SQs of this port before configuring new MTU. Added Fixes: 8589ec212e80 (

Re: [PATCH v9] gro : ipv6 changes to support GRO for TCP/ipv6

2023-06-15 Thread kumaraparameshwaran rathinavel
On Thu, Jun 15, 2023 at 1:31 PM Hu, Jiayu wrote: > Hi Kumara, > > > -Original Message- > > From: Kumara Parameshwaran > > Sent: Thursday, June 15, 2023 2:20 PM > > To: Hu, Jiayu > > Cc: dev@dpdk.org; Kumara Parameshwaran > > > > Subject: [PATCH v9] gro : ipv6 changes to support GRO for

[PATCH v1 1/1] maintainers: update maintainership of power lib

2023-06-15 Thread Anatoly Burakov
Add co-maintainer for power library. Signed-off-by: Anatoly Burakov --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 906b31f97c..21c971a273 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1671,6 +1671,7 @@ M: Gaetan Rivet F: lib/pci/ Power m

RE: [PATCH v5 3/3] net/iavf: support Rx timestamp offload on SSE

2023-06-15 Thread Tang, Yaqi
> -Original Message- > From: Zeng, ZhichaoX > Sent: Wednesday, June 14, 2023 9:50 AM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; Tang, Yaqi ; > Zeng, ZhichaoX ; Richardson, Bruce > ; Konstantin Ananyev > ; Wu, Jingjing ; Xing, > Beilei > Subject: [PATCH v5 3/3] net/iavf: support Rx timestamp

Re: [PATCH] bus/cdx: Remove ineffective code statement

2023-06-15 Thread Nipun Gupta
Acked-by: Nipun Gupta On 6/14/2023 3:52 PM, Abhijit Gangurde wrote: ret = 0 statement is ineffective since it is overwritten in a loop. Coverity issue: 385379 Fixes: 45ef232af515 ("bus/cdx: introduce AMD CDX bus") Signed-off-by: Abhijit Gangurde --- drivers/bus/cdx/cdx.c | 1 - 1 file chan

[Bug 1250] [dpdk-23.07][meson test] driver-tests/cryptodev_openssl_asym_autotest blocked in RHEL9.0

2023-06-15 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1250 Bug ID: 1250 Summary: [dpdk-23.07][meson test] driver-tests/cryptodev_openssl_asym_autotest blocked in RHEL9.0 Product: DPDK Version: 23.07 Hardware: All

[PATCH] net/ice/base: fix internal etype in switch filter

2023-06-15 Thread Mingjin Ye
The definition of internal etype was missing in the preferred grouping table and protocol structure mapping table of a recipe. This was causing some functions to be abnormal. This patch adds the missing internal etype definition to the relevant tables to fix the issue. Fixes: ee3e244afb06 ("net/i

Re: [PATCH] bus/cdx: Move debug print before unmapping resource

2023-06-15 Thread Nipun Gupta
Please do not use first letter of the commit as capital ("Move" should be "move"). Also fix this for other patches sent for CDX. check-git-log.sh script report these errors. Please run this before sending. On 6/14/2023 3:53 PM, Abhijit Gangurde wrote: Debug print is moved before unmapping requ

RE: [PATCH] config/arm: add Ampere Altra/AltraMax/AmpereOne platform

2023-06-15 Thread Yutang Jiang
> -Original Message- > From: Ruifeng Wang > Sent: Tuesday, June 13, 2023 4:18 PM > To: Yutang Jiang > Cc: Open Source Submission ; > dev@dpdk.org; Yutang Jiang OS ; > Juraj Linkeš ; nd > Subject: RE: [PATCH] config/arm: add Ampere Altra/AltraMax/AmpereOne > platform > > [EXTERNAL EMA

Re: [PATCH 2/2] doc/contributing: guidelines for logging, tracing and telemetry

2023-06-15 Thread Jerin Jacob
On Tue, Jun 13, 2023 at 8:04 PM Bruce Richardson wrote: > > As discussed by DPDK technical board [1], out contributor guide should > include some details as to when to use logging vs tracing vs telemetry > to provide the end user with information about the running process and > the DPDK libraries

[PATCH 2/3] net/cnxk: support backpressure on SPB pool

2023-06-15 Thread Nithin Dabilpuram
From: Sunil Kumar Kori With current implementation, backpressure can be configured only on lpb_pool but a RQ can be configured with spb_pool too and spb_pool can also participate to assert backpressure. Enabling backpressure support on spb_pool for 802.3x and 802.1qbb both. Signed-off-by: Sunil

[PATCH 1/3] net/cnxk: fix incorrect check cookies with security offload

2023-06-15 Thread Nithin Dabilpuram
Fix missing/incorrect check cookies call's with security offload enabled on Rx and Tx. Fixes: 55bfac717c72 ("net/cnxk: support Tx security offload on cn10k") Fixes: 0ed7107373b4 ("net/cnxk: remove duplicate mempool debug checks") Signed-off-by: Nithin Dabilpuram --- drivers/net/cnxk/cn10k_rx.h

[PATCH 3/3] common/cnxk: update minimum size of packet

2023-06-15 Thread Nithin Dabilpuram
From: Akhil Goyal In case of MACsec, short packets may also come, hence reduced the minimum packet size to 40B. Signed-off-by: Akhil Goyal --- drivers/common/cnxk/hw/nix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/common/cnxk/hw/nix.h b/drivers/common/cnxk/hw/

[RFC PATCH v2] ethdev: advertise flow restore in mbuf

2023-06-15 Thread David Marchand
As reported by Ilya [1], unconditionally calling rte_flow_get_restore_info() impacts an application performance for drivers that do not provide this ops. It could also impact processing of packets that require no call to rte_flow_get_restore_info() at all. Register a dynamic mbuf flag when an appl

[PATCH] mbuf: fix doxygen for distributor metadata

2023-06-15 Thread David Marchand
/**< is for post annotations. Fixes: 839b20be0e9b ("ethdev: support metadata as flow rule criteria") Cc: sta...@dpdk.org Signed-off-by: David Marchand --- lib/mbuf/rte_mbuf_core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mbuf/rte_mbuf_core.h b/lib/mbuf/rte_mbuf_co

Re: [PATCH v3 0/2] replace int flags with booleans

2023-06-15 Thread David Marchand
On Tue, Jun 13, 2023 at 5:34 PM Bruce Richardson wrote: > > in meson.build files, some flags were being treated as integers rather > than using the more logical option of booleans. Fix this. > > V3: drop the patch requiring libnuma from this set, to make this only >a simple set changing the ty

RE: [RFC] lib/ethdev: introduce table driven APIs

2023-06-15 Thread Zhang, Qi Z
> -Original Message- > From: Jerin Jacob > Sent: Thursday, June 15, 2023 4:38 PM > To: Zhang, Qi Z > Cc: Ori Kam ; NBU-Contact-Thomas Monjalon (EXTERNAL) > ; david.march...@redhat.com; Richardson, Bruce > ; jer...@marvell.com; ferruh.yi...@amd.com; > Mcnamara, John ; Zhang, Helin > ; te

[PATCH v5] build: prevent accidentally building without NUMA support

2023-06-15 Thread Bruce Richardson
When libnuma development package is missing on a system, DPDK can still be built but will be missing much-needed support for NUMA memory management. This may later cause issues at runtime if the resulting binary is run on a NUMA system. We can reduce the incidence of such runtime errors by ensurin

RE: [EXT] [PATCH v6] app/dma-perf: introduce dma-perf application

2023-06-15 Thread Jiang, Cheng1
Hi Anoob, Replies are inline. Thanks, Cheng > -Original Message- > From: Anoob Joseph > Sent: Thursday, June 15, 2023 4:45 PM > To: Jiang, Cheng1 > Cc: dev@dpdk.org; Hu, Jiayu ; Ding, Xuan > ; tho...@monjalon.net; Richardson, Bruce > ; m...@smartsharesystems.com; Xia, Chenbo > ; Amit P

Re: [PATCH] mbuf: fix doxygen for distributor metadata

2023-06-15 Thread Bruce Richardson
On Thu, Jun 15, 2023 at 03:49:42PM +0200, David Marchand wrote: > /**< is for post annotations. > > Fixes: 839b20be0e9b ("ethdev: support metadata as flow rule criteria") > Cc: sta...@dpdk.org > > Signed-off-by: David Marchand > --- > lib/mbuf/rte_mbuf_core.h | 2 +- > 1 file changed, 1 inserti

Re: [PATCH] crypto/openssl: fix SM2 for older openssl version

2023-06-15 Thread Ji, Kai
Acked-by: Kai Ji mailto:kai...@intel.com>> From: Power, Ciara Sent: 15 June 2023 09:03 To: dev@dpdk.org Cc: Power, Ciara ; gmuthukri...@marvell.com ; Ji, Kai Subject: [PATCH] crypto/openssl: fix SM2 for older openssl version Currently when configuring the sessi

Re: [PATCH v2 3/3] event/cnxk: use WFE in Tx fc wait

2023-06-15 Thread Stephen Hemminger
On Tue, 13 Jun 2023 14:55:48 +0530 wrote: > static __rte_always_inline void > cn10k_sso_txq_fc_wait(const struct cn10k_eth_txq *txq) > { > +#ifdef RTE_ARCH_ARM64 > + uint64_t space; > + > + asm volatile(PLT_CPU_FEATURE_PREAMBLE > + " ldxr %[space], [%[addr]]

Re: [dpdk-dev] [PATCH 1/1] build: allow disabling libs

2023-06-15 Thread David Marchand
On Thu, Jun 15, 2023 at 10:43 AM Bruce Richardson wrote: > > On Wed, Jun 14, 2023 at 12:09:51PM -0700, Stephen Hemminger wrote: > > On Fri, 18 Sep 2020 14:57:50 +0100 > > Bruce Richardson wrote: > > > > > On Fri, Sep 18, 2020 at 02:54:21PM +0200, Mohammed Hawari wrote: > > > > Hello Bruce, > > >

RE: [EXT] [PATCH v6] app/dma-perf: introduce dma-perf application

2023-06-15 Thread Anoob Joseph
Hi Cheng, Please see inline. Thanks, Anoob > -Original Message- > From: Jiang, Cheng1 > Sent: Thursday, June 15, 2023 7:36 PM > To: Anoob Joseph > Cc: dev@dpdk.org; Hu, Jiayu ; Ding, Xuan > ; tho...@monjalon.net; Richardson, Bruce > ; m...@smartsharesystems.com; Xia, Chenbo > ; Amit Pr

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 1/1] build: allow disabling libs

2023-06-15 Thread Bruce Richardson
On Thu, Jun 15, 2023 at 05:43:56PM +0200, David Marchand wrote: > On Thu, Jun 15, 2023 at 10:43 AM Bruce Richardson > wrote: > > > > On Wed, Jun 14, 2023 at 12:09:51PM -0700, Stephen Hemminger wrote: > > > On Fri, 18 Sep 2020 14:57:50 +0100 > > > Bruce Richardson wrote: > > > > > > > On Fri, Sep

[PATCH] maintainers: update for PCI bus driver

2023-06-15 Thread Nipun Gupta
Add myself as co-maintainer of PCI bus driver Signed-off-by: Nipun Gupta --- This patch is based on top of: http://patches.dpdk.org/project/dpdk/patch/20230613065738.42370-1-chenbo@intel.com/ MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index fea

Re: [dpdk-dev] [PATCH] doc: clarify disclosure time slot when no response

2023-06-15 Thread Stephen Hemminger
On Thu, 25 Feb 2021 14:14:29 + Ferruh Yigit wrote: > On 2/2/2021 11:28 AM, Ferruh Yigit wrote: > > On 1/25/2021 1:57 AM, Marvin Liu wrote: > >> Sometimes security team won't send confirmation mail back to reporter > >> in three business days. This mean reported vulnerability is either low >

[PATCH] config/arm: add AMD CDX

2023-06-15 Thread Nipun Gupta
Add meson build configuration for AMD CDX platform. Signed-off-by: Nipun Gupta --- This patch was earlier submitted as part of AMD CDX bus, but as it is platform support it has been separated out from the bus series. Previous patch link: http://patches.dpdk.org/project/dpdk/patch/20230421145406.1

Re: [EXT] [PATCH] crypto/openssl: add aes-xts support

2023-06-15 Thread Ji, Kai
Please take time to address Akhill's comments. Acked-by: Kai Ji mailto:kai...@intel.com>> From: Akhil Goyal Sent: 14 June 2023 19:51 To: Leung, Michael ; dev@dpdk.org ; Ji, Kai Subject: RE: [EXT] [PATCH] crypto/openssl: add aes-xts support ++Kai for review.

[PATCH v2 0/5] bbdev: API extension for 23.11

2023-06-15 Thread Nicolas Chautru
v2: moving the new mld functions at the end of struct rte_bbdev to avoid ABI offset changes based on feedback with Maxime. Adding a commit to waive the FFT ABI warning since that experimental function could break ABI (let me know if preferred to be merged with the FFT commit causing the FFT change)

[PATCH v2 2/5] bbdev: add new capabilities for FFT processing

2023-06-15 Thread Nicolas Chautru
Extending existing FFT operation for new capabilities. Optional frequency domain dewindowing, frequency resampling, timing error correction and time offset per CS. Signed-off-by: Nicolas Chautru --- doc/guides/prog_guide/bbdev.rst | 24 lib/bbdev/rte_bbdev_op.h|

[PATCH v2 3/5] bbdev: add new capability for FEC 5G UL processing

2023-06-15 Thread Nicolas Chautru
Extending existing LDPC UL operation for new capability. Option to compress HARQ memory to 4 bits per LLR. Signed-off-by: Nicolas Chautru --- doc/guides/prog_guide/bbdev.rst | 6 ++ lib/bbdev/rte_bbdev_op.h| 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/doc/gu

[PATCH v2 1/5] bbdev: add operation type for MLDTS procession

2023-06-15 Thread Nicolas Chautru
Extended bbdev operations to support MLDTS based operations. Signed-off-by: Nicolas Chautru --- doc/guides/prog_guide/bbdev.rst | 53 +++ lib/bbdev/rte_bbdev.c | 11 ++- lib/bbdev/rte_bbdev.h | 76 + lib/bbdev/rte_bbdev_op.h| 116 +++

[PATCH v2 4/5] bbdev: improving error handling for queue configuration

2023-06-15 Thread Nicolas Chautru
Refactor of the error handling based on available priority queue to be more generic. Signed-off-by: Nicolas Chautru --- lib/bbdev/rte_bbdev.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/lib/bbdev/rte_bbdev.c b/lib/bbdev/rte_bbdev.c index 26fc077bdc..589b79

[PATCH v2 5/5] devtools: ignore changes into bbdev experimental API

2023-06-15 Thread Nicolas Chautru
Developpers are warned that the related fft experimental functions do not preserve ABI, hence these can be waived. Signed-off-by: Nicolas Chautru --- devtools/libabigail.abignore | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/devtools/libabigail.abignore b/devtools/libabi

Re: [PATCH v6] hash: add XOR32 hash function

2023-06-15 Thread Vladimir Medvedkin
Hi Bili, The rte_hash_xor32() implementation looks a bit messy with respect to byte ordering, i.e. in case when data_len >= 8 init_val is byte swapped, but in other cases the data is byte swapped. Maybe it could be implemented like: static inline uint32_t rte_hash_xor32(const void *data, uint32_t

DPDK Release Status Meeting 2023-06-15

2023-06-15 Thread Mcnamara, John
Release status meeting minutes 2023-06-15 = Agenda: * Release Dates * Subtrees * Roadmaps * LTS * Defects * Opens Participants: * AMD * ARM * Debian/Microsoft * Intel * Marvell * Nvidia * Red Hat Release Dates - The following are the proposed

[PATCH] net/ixgbe: fix inverted test and set conditional

2023-06-15 Thread Tyler Retzlaff
net/ixgbe: fix inverted test and set conditional I either dropped `!` in the offending series or just failed to notice that the return value for __atomic_test_and_set is inverted relative to rte_atomic32_test_and_set. Tyler Retzlaff (1): net/ixgbe: fix inverted test and set conditional driver

[PATCH] net/ixgbe: fix inverted test and set conditional

2023-06-15 Thread Tyler Retzlaff
Correct a mistake when converting ixgbe to use __atomic_test_and_set instead of rte_atomic32_test_and_set. The return value from __atomic_test_and_set is inverted relative to rte_atomic32_test_and_set. Fixes: e90baf6b82f6 ("net/ixgbe: replace legacy atomics with GCC builtin atomics") Cc: roret...

RE: [PATCH v1 1/1] doc: announce change in bbdev api related to operation extension

2023-06-15 Thread Chautru, Nicolas
Hi Maxime, > -Original Message- > From: Maxime Coquelin > > On 6/14/23 20:18, Chautru, Nicolas wrote: > > Hi Maxime, > > > >> -Original Message- > >> From: Maxime Coquelin Hi, > >> > >> On 6/13/23 19:16, Chautru, Nicolas wrote: > >>> Hi Maxime, > >>> > -Original Messag

[PATCH v1 0/2] Add DTS smoke tests

2023-06-15 Thread jspewock
From: Jeremy Spewock This series adds smoke tests for the new DTS framework which includes various tests to ensure the environment was setup properly. The idea behind these tests are to ensure the integrity of the environment before starting the execution of DTS to "fail-fast" with more informati

[RFC] ring: Further performance improvements with C11

2023-06-15 Thread Wathsala Vithanage
(1) Replace tail store with RELEASE semantics with a RELEASE fence and load of the tail in producer/consumer head update with ACQUIRE semantics with ACQUIRE fences. Use __ATOMIC_ACQUIRE fences between producer/consumer head

[RFC] ring: further performance improvements with C11

2023-06-15 Thread Wathsala Vithanage
For improved performance over the current C11 based ring implementation following changes were made. (1) Replace tail store with RELEASE semantics in __rte_ring_update_tail with a RELEASE fence. Replace load of the tail with ACQUIRE semantics in __rte_ring_move_prod_head and __rte_ring_move_cons_h

[PATCH v1 1/2] dts: add smoke tests

2023-06-15 Thread jspewock
From: Jeremy Spewock Adds a new test suite as well as configuration changes needed for running smoke tests that verify general environment aspects of the system under test. If any of these tests fail, the DTS execution terminates as part of a "fail-fast" model. Signed-off-by: Jeremy Spewock ---

[PATCH v1 2/2] dts: added paramiko to dependencies

2023-06-15 Thread jspewock
From: Jeremy Spewock added paramiko to the dependency files Signed-off-by: Jeremy Spewock --- dts/poetry.lock| 160 ++--- dts/pyproject.toml | 1 + 2 files changed, 124 insertions(+), 37 deletions(-) diff --git a/dts/poetry.lock b/dts/poetry.lock

Re: [PATCH] app: do not call printf in signal handlers

2023-06-15 Thread Tyler Retzlaff
On Mon, Jun 12, 2023 at 05:11:50PM -0700, Stephen Hemminger wrote: > Using printf is not async-signal safe and worst case may lead to deadlock. > Remove printf from signal handlers present in several applications. > > Testpmd was already fixed by > commit 0fd1386c30c3 ("app/testpmd: cleanup cleanl

Re: [PATCH] buildtools: remove assumption about current work dir

2023-06-15 Thread Tyler Retzlaff
On Wed, Jun 14, 2023 at 03:47:28PM +0100, Bruce Richardson wrote: > According to meson documentation, we should not make any assumptions as > to what directory a script is called from[1]. The use of "relpath" when > processing the output of directory globbing is therefore unsafe, as it > was stripp

[Bug 1251] PPC64le: 23.07 RC1 build failed for power10 on RHEL 9.0

2023-06-15 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1251 Bug ID: 1251 Summary: PPC64le: 23.07 RC1 build failed for power10 on RHEL 9.0 Product: DPDK Version: 23.07 Hardware: POWER OS: Linux Status: UNCONFIRMED

[Bug 1252] Failure building af_xdp with gcc 10.4.1/11.3.1 on RHEL 8.7

2023-06-15 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=1252 Bug ID: 1252 Summary: Failure building af_xdp with gcc 10.4.1/11.3.1 on RHEL 8.7 Product: DPDK Version: 23.07 Hardware: POWER OS: Linux Status: UNCONFIR

RE: [PATCH] net/ice/base: fix internal etype in switch filter

2023-06-15 Thread Zhang, Qi Z
> -Original Message- > From: Ye, MingjinX > Sent: Thursday, June 15, 2023 6:05 PM > To: dev@dpdk.org > Cc: Yang, Qiming ; sta...@dpdk.org; Zhou, YidingX > ; Ye, MingjinX ; Zhang, Qi > Z > Subject: [PATCH] net/ice/base: fix internal etype in switch filter > > The definition of internal

Re: [RFC] lib/ethdev: introduce table driven APIs

2023-06-15 Thread Jerin Jacob
On Thu, Jun 15, 2023 at 7:36 PM Zhang, Qi Z wrote: > > > > If we assume that the application is not P4-aware, it will consume > > > existing > > rte_flow API for flow offloading. In this case, all we need to do is > > implement > > it in the PMD, which will be a highly hardware-specific task. D

Re: [PATCH 3/3] common/cnxk: update minimum size of packet

2023-06-15 Thread Jerin Jacob
On Thu, Jun 15, 2023 at 6:40 PM Nithin Dabilpuram wrote: > > From: Akhil Goyal > > In case of MACsec, short packets may also come, > hence reduced the minimum packet size to 40B. > > Signed-off-by: Akhil Goyal Series applied to dpdk-next-net-mrvl/for-next-net. Thanks. > --- > drivers/common/

RE: [PATCH] net/ixgbe: fix inverted test and set conditional

2023-06-15 Thread Chen, LingliX
> -Original Message- > From: Tyler Retzlaff > Sent: Friday, June 16, 2023 3:30 AM > To: dev@dpdk.org > Cc: Yang, Qiming ; Wu, Wenjun1 > ; m...@smartsharesystems.com; Tyler Retzlaff > ; david.march...@redhat.com > Subject: [PATCH] net/ixgbe: fix inverted test and set conditional > > Corr

[PATCH] net/ice: fix the mac type of E822 and E823

2023-06-15 Thread Kaiwen Deng
E822 and E823 get the wrong mac type, which prevents the ddp package from loading correctly. This commit fixes the mac type of E822 and E823. Fixes: 084e64e6b600 ("net/ice/base: set MAC type for E823C device") Cc: sta...@dpdk.org Signed-off-by: Kaiwen Deng --- drivers/net/ice/base/ice_common.c

RE: [EXT] [PATCH v6] app/dma-perf: introduce dma-perf application

2023-06-15 Thread Jiang, Cheng1
Hi Anoob, Replies are inline. Thanks, Cheng > -Original Message- > From: Anoob Joseph > Sent: Thursday, June 15, 2023 11:48 PM > To: Jiang, Cheng1 > Cc: dev@dpdk.org; Hu, Jiayu ; Ding, Xuan > ; tho...@monjalon.net; Richardson, Bruce > ; m...@smartsharesystems.com; Xia, Chenbo > ; Amit

RE: [PATCH v2] config/arm: add Ampere Altra/AltraMax/AmpereOne platform

2023-06-15 Thread Ruifeng Wang
> -Original Message- > From: Yutang Jiang > Sent: Thursday, June 15, 2023 7:24 PM > To: dev@dpdk.org > Cc: patc...@amperecomputing.com; yutang.ji...@amperecomputing.com; > jiangyut...@os.amperecomputing.com; Ruifeng Wang ; nd > ; > juraj.lin...@pantheon.tech > Subject: [PATCH v2] config/a

[PATCH] net/bonding: fix bond startup failure when NUMA is -1

2023-06-15 Thread Chaoyong He
From: Zerun Fu After the mainline Linux kernel commit "fe205d984e7730f4d21f6f8ebc60f0698404ac31" (ACPI: Remove side effect of partly creating a node in acpi_map_pxm_to_online_node) by Jonathan Cameron. When the system does not support NUMA architecture, the "socket_id" is expected to be -1. The v

[PATCH] net/cpfl: fix fail to re-configure RSS

2023-06-15 Thread beilei . xing
From: Beilei Xing Currently, if launch testpmd with multiple queues and re-configure rxq with 'port config all rxq 1', Rx queue 0 may not receive packets. that's because RSS lookup tale is not re-configured when Rxq number is 1. Although Rxq number is 1 and multi queue mode is RTE_ETH_MQ_RX_NONE,

Re: [PATCH] net/bonding: fix bond startup failure when NUMA is -1

2023-06-15 Thread humin (Q)
Hi, 在 2023/6/16 11:20, Chaoyong He 写道: From: Zerun Fu After the mainline Linux kernel commit "fe205d984e7730f4d21f6f8ebc60f0698404ac31" (ACPI: Remove side effect of partly creating a node in acpi_map_pxm_to_online_node) by Jonathan Cameron. When the system does not support NUMA architecture,

RE: [EXT] [PATCH] crypto/openssl: fix SM2 for older openssl version

2023-06-15 Thread Gowrishankar Muthukrishnan
Acked-by: Gowrishankar Muthukrishnan Thanks, Gowrishankar > -Original Message- > From: Ciara Power > Sent: Thursday, June 15, 2023 1:33 PM > To: dev@dpdk.org > Cc: Ciara Power ; Gowrishankar Muthukrishnan > ; Kai Ji > Subject: [EXT] [PATCH] crypto/openssl: fix SM2 for older openssl ver

RE: [PATCH] examples/ptpclient: add signal handler for cleanup

2023-06-15 Thread Rahul Bhansali
Hi Thomas, This is pending from long time and no comments so far. Can you please check and accept this ? Let me know if you have any review comments. Regard, Rahul > -Original Message- > From: Rahul Bhansali > Sent: Tuesday, May 30, 2023 2:30 PM > To: 'Kirill Rybalchenko' ; 'Thomas Monj

RE: [PATCH] maintainers: update for OCTEON EP and CNXK DMA

2023-06-15 Thread Sathesh B Edara
Acked-by: Sathesh B Edara -Original Message- From: Radha Chintakuntla Sent: Thursday, June 15, 2023 9:27 AM To: Vamsi Krishna Attunuru ; dev@dpdk.org; tho...@monjalon.net Cc: Veerasenareddy Burru ; Sathesh B Edara ; Jerin Jacob Kollanukkaran ; Vamsi Krishna Attunuru Subject: RE: [PA

RE: [PATCH 0/2] fix variable type in pattern parsing for raw flow

2023-06-15 Thread Zhang, Qi Z
> -Original Message- > From: David Marchand > Sent: Thursday, June 15, 2023 3:28 PM > To: Guo, Junfeng > Cc: Zhang, Qi Z ; Yang, Qiming > ; dev@dpdk.org; sta...@dpdk.org; Xu, Ting > > Subject: Re: [PATCH 0/2] fix variable type in pattern parsing for raw flow > > On Thu, Jun 15, 2023 a

RE: [PATCH] net/bonding: fix bond startup failure when NUMA is -1

2023-06-15 Thread Chaoyong He
> 在 2023/6/16 11:20, Chaoyong He 写道: > > From: Zerun Fu > > > > After the mainline Linux kernel commit > > "fe205d984e7730f4d21f6f8ebc60f0698404ac31" (ACPI: Remove side > effect > > of partly creating a node in acpi_map_pxm_to_online_node) by Jonathan > > Cameron. When the system does not support

RE: [PATCH 0/2] fix variable type in pattern parsing for raw flow

2023-06-15 Thread Guo, Junfeng
> -Original Message- > From: Zhang, Qi Z > Sent: Friday, June 16, 2023 13:49 > To: David Marchand ; Guo, Junfeng > > Cc: Yang, Qiming ; dev@dpdk.org; > sta...@dpdk.org; Xu, Ting > Subject: RE: [PATCH 0/2] fix variable type in pattern parsing for raw flow > > > > > -Original Mess

RE: [EXT] [PATCH v6] app/dma-perf: introduce dma-perf application

2023-06-15 Thread Anoob Joseph
Hi Cheng, Please see inline. Thanks, Anoob > -Original Message- > From: Jiang, Cheng1 > Sent: Friday, June 16, 2023 8:26 AM > To: Anoob Joseph > Cc: dev@dpdk.org; Hu, Jiayu ; Ding, Xuan > ; tho...@monjalon.net; Richardson, Bruce > ; m...@smartsharesystems.com; Xia, Chenbo > ; Amit Prak

RE: [EXT] Re: [PATCH v2 3/3] event/cnxk: use WFE in Tx fc wait

2023-06-15 Thread Pavan Nikhilesh Bhagavatula
= > On Tue, 13 Jun 2023 14:55:48 +0530 > wrote: > > > static __rte_always_inline void > > cn10k_sso_txq_fc_wait(const struct cn10k_eth_txq *txq) > > { > > +#ifdef RTE_ARCH_ARM64 > > + uint64_t space; > > + > > + asm volatile(PLT_CPU_FEATURE_PREAMBLE > > +" ldxr %[s