[PATCH v5] net/ice: refactor proto_ext to remove global variable

2022-08-29 Thread Kevin Liu
The ice has the feature to extract protocol fields into flex descriptor by programming per queue. However, the dynamic field for proto_ext are allocated by PMD, it is the responsibility of application to reserved the field, before start DPDK. Application with parse the offset and proto_ext name to

Re: [EXT] Re: [PATCH 01/23] common/cnxk: fix part value for cn10k

2022-08-29 Thread Nithin Kumar Dabilpuram
On 2022-08-30 10:21 AM, Jerin Jacob wrote: External Email -- On Wed, Aug 10, 2022 at 12:19 AM Nithin Dabilpuram wrote: From: Harman Kalra Updating the logic for getting part and pass value for cn10k family, as device tree

Re: [PATCH 01/23] common/cnxk: fix part value for cn10k

2022-08-29 Thread Jerin Jacob
On Wed, Aug 10, 2022 at 12:19 AM Nithin Dabilpuram wrote: > > From: Harman Kalra > > Updating the logic for getting part and pass value for cn10k family, > as device tree compatible logic does not work in VMs. > Scanning all the PCI device and detect first RVU device, subsystem > device file give

Re: [PATCH v4 12/27] bus/dpaa: make driver-only headers private

2022-08-29 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

Re: [PATCH v4 13/27] bus/fslmc: make driver-only headers private

2022-08-29 Thread Hemant Agrawal
Acked-by: Hemant Agrawal

Re: [PATCH v7 0/7] bbdev changes for 22.11

2022-08-29 Thread Hemant Agrawal
Series- Acked-by: Hemant Agrawal

Re: [PATCH v7 4/7] drivers/baseband: update PMDs to expose queue per operation

2022-08-29 Thread Hemant Agrawal
Acked-by: Hemant Agrawal On 8/29/2022 11:37 PM, Nicolas Chautru wrote: Add support in existing bbdev PMDs for the explicit number of queues and priority for each operation type configured on the device.

Re: [PATCH v7 2/7] bbdev: add device status info

2022-08-29 Thread Hemant Agrawal
On 8/29/2022 11:37 PM, Nicolas Chautru wrote: Added device status information, so that the PMD can expose information related to the underlying accelerator device status. Minor order change in structure to fit into padding hole. Signed-off-by: Nicolas Chautru Acked-by: Hemant Agrawal

Re: [PATCH 1/1] common/cnxk: update partnumber for 103xx

2022-08-29 Thread Jerin Jacob
On Tue, Aug 9, 2022 at 7:02 PM Rakesh Kudurumalla wrote: > > During model population part number is different > for 103xx and hence dpdk initialization fails. > This fix resolves the same. > > Signed-off-by: Rakesh Kudurumalla Updated the git commit as follows and applied to dpdk-next-net-mrvl/

Re: [PATCH 2/2] net/iavf: support inner and outer checksum offload

2022-08-29 Thread Xu, Ke1
> Subject: [PATCH 2/2] net/iavf: support inner and outer checksum offload > Date: Sat, 13 Aug 2022 00:52:23 +0800 > Message-ID: <20220812165223.470777-2-peng1x.zh...@intel.com> (raw) > In-Reply-To: <20220812165223.470777-1-peng1x.zh...@intel.com> > > From: Peng Zhang > > Add the support of inner

Re: [PATCH 1/2] net/iavf: enable TSO offloading for tunnel cases

2022-08-29 Thread Xu, Ke1
> Subject: [PATCH 1/2] net/iavf: enable TSO offloading for tunnel cases > Date: Sat, 13 Aug 2022 00:52:22 +0800 > Message-ID: <20220812165223.470777-1-peng1x.zh...@intel.com> (raw) > > From: Peng Zhang > > Hardware limits that max buffer size per Tx descriptor should be (16K-1)B. > So when TSO e

RE: [PATCH v4] net/ice: refactor proto_ext to remove global variable

2022-08-29 Thread Liu, KevinX
> -Original Message- > From: Zhang, Qi Z > Sent: 2022年8月30日 10:04 > To: Liu, KevinX ; dev@dpdk.org > Cc: Yang, Qiming ; Yang, SteveX > > Subject: RE: [PATCH v4] net/ice: refactor proto_ext to remove global variable > > > > > -Original Message- > > From: Liu, KevinX > > Sent

RE: [PATCH v4] net/ice: refactor proto_ext to remove global variable

2022-08-29 Thread Zhang, Qi Z
> -Original Message- > From: Liu, KevinX > Sent: Friday, August 26, 2022 6:15 PM > To: dev@dpdk.org > Cc: Yang, Qiming ; Zhang, Qi Z > ; Yang, SteveX ; Liu, KevinX > > Subject: [PATCH v4] net/ice: refactor proto_ext to remove global variable > > The ice has the feature to extract prot

RE: [PATCH] net/iavf: update ESN values when updating session

2022-08-29 Thread Zhang, Qi Z
> -Original Message- > From: Nicolau, Radu > Sent: Monday, August 29, 2022 5:50 PM > To: Wu, Jingjing ; Xing, Beilei > Cc: dev@dpdk.org; Zhang, Qi Z ; Nicolau, Radu > ; sta...@dpdk.org > Subject: [PATCH] net/iavf: update ESN values when updating session > > When updating an ingress se

RE: [PATCH v2] net/iavf: do Tx done cleanup starting from Tx tail

2022-08-29 Thread Zhang, Qi Z
> -Original Message- > From: Aleksandr Miloshenko > Sent: Tuesday, August 30, 2022 9:14 AM > To: Zhang, Qi Z ; Wu, Jingjing ; > Xing, Beilei > Cc: dev@dpdk.org; Aleksandr Miloshenko ; > sta...@dpdk.org > Subject: [PATCH v2] net/iavf: do Tx done cleanup starting from Tx tail > > iavf_x

Re: [PATCH] net/ice: remove deprecated VF flow action

2022-08-29 Thread Xu, Ke1
> Subject: [PATCH] net/ice: remove deprecated VF flow action > Date: Wed, 10 Aug 2022 14:49:37 +0800 > Message-ID: <20220810064937.162455-1-zhichaox.z...@intel.com> (raw) > > From: Zhichao Zeng > > According to the ABI and API Deprecation, remove deprecated VF action > as hard-to-use / ambiguo

Re: [PATCH] net/ice: support original represented_port action

2022-08-29 Thread Xu, Ke1
> Subject: [PATCH] net/ice: support original represented_port action > Date: Fri, 26 Aug 2022 15:25:44 +0800 > Message-ID: <20220826072545.18127-1-zhichaox.z...@intel.com> (raw) > > From: Zhichao Zeng > > Add support to send matching traffic to the original DCF port > with represented_port actio

Re: [PATCH] net/ice: support represented port flow action

2022-08-29 Thread Xu, Ke1
> Subject: [PATCH] net/ice: support represented port flow action > Date: Mon, 25 Jul 2022 13:35:49 +0800 > Message-ID: <20220725053549.4130777-1-zhichaox.z...@intel.com> (raw) > > From: Zhichao Zeng > > Add support for action REPRESENTED_PORT in DCF. Supposed to send matching > traffic to the en

Re: [PATCH] eal: zero out new added memory

2022-08-29 Thread lic121
On Mon, Aug 29, 2022 at 03:49:25PM +0300, Dmitry Kozlyuk wrote: > 2022-08-29 14:37 (UTC+0200), Morten Brørup: > > > From: David Marchand [mailto:david.march...@redhat.com] > > > Sent: Monday, 29 August 2022 13.58 > > > > > > > > > > On Sat, Aug 27, 2022 at 12:57:50PM +0300, Dmitry Kozlyuk wrote:

RE: [Patch v5 16/18] net/mana: add function to start/stop device

2022-08-29 Thread Long Li
> > Subject: [Patch v5 16/18] net/mana: add function to start/stop device > > > > From: Long Li > > > > Add support for starting/stopping the device. > > > > Signed-off-by: Long Li > > --- > > Change log: > > v2: > > Use spinlock for memory registration cache. > > Add prefix mana_ to all function

RE: [RFC PATCH 1/3] os: begin separating some OS compatibility from EAL

2022-08-29 Thread Morten Brørup
> From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Monday, 29 August 2022 17.19 > To: dev@dpdk.org > Cc: Bruce Richardson > Subject: [RFC PATCH 1/3] os: begin separating some OS compatibility > from EAL > > Some library functionality we may want ahead of EAL build depends upon >

RE: [PATCH v1 2/4] mbuf: add second dynamic field member for VA only build

2022-08-29 Thread Morten Brørup
> From: Shijith Thotton [mailto:sthot...@marvell.com] > Sent: Monday, 29 August 2022 17.16 > > mbuf physical address field is not used in builds which only uses VA. > It is used to expand the dynamic field area. > > Signed-off-by: Shijith Thotton > --- > lib/mbuf/rte_mbuf_core.h | 26

[PATCH v7 5/7] bbdev: add new operation for FFT processing

2022-08-29 Thread Nicolas Chautru
Extension of bbdev operation to support FFT based operations. Signed-off-by: Nicolas Chautru Acked-by: Hemant Agrawal Acked-by: Maxime Coquelin --- doc/guides/prog_guide/bbdev.rst | 130 +++ lib/bbdev/rte_bbdev.c | 10 ++- lib/bbdev/rte_bbdev.h

[PATCH v7 3/7] bbdev: add device info on queue topology

2022-08-29 Thread Nicolas Chautru
Adding more options in the API to expose the number of queues exposed and related priority. Signed-off-by: Nicolas Chautru Acked-by: Maxime Coquelin --- lib/bbdev/rte_bbdev.h | 4 1 file changed, 4 insertions(+) diff --git a/lib/bbdev/rte_bbdev.h b/lib/bbdev/rte_bbdev.h index 9b1ffa4..ac9

[PATCH v7 2/7] bbdev: add device status info

2022-08-29 Thread Nicolas Chautru
Added device status information, so that the PMD can expose information related to the underlying accelerator device status. Minor order change in structure to fit into padding hole. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc100/rte_acc100_pmd.c | 1 + drivers/baseband/fp

[PATCH v7 1/7] bbdev: allow operation type enum for growth

2022-08-29 Thread Nicolas Chautru
Updating the enum for rte_bbdev_op_type to allow to keep ABI compatible for enum insertion while adding padded maximum value for array need. Removing RTE_BBDEV_OP_TYPE_COUNT and instead exposing RTE_BBDEV_OP_TYPE_PADDED_MAX. Signed-off-by: Nicolas Chautru Acked-by: Maxime Coquelin --- app/test-

[PATCH v7 0/7] bbdev changes for 22.11

2022-08-29 Thread Nicolas Chautru
v7: couple of typos in documentation spotted by Maxime. Thanks. v6: added one comment in commit 2/7 suggested by Maxime. v5: update base on review from Tom Rix. Number of typos reported and resolved, removed the commit related to rw_lock for now, added a commit for code clean up from review, resolv

[PATCH v7 7/7] bbdev: remove unnecessary if-check

2022-08-29 Thread Nicolas Chautru
Code clean up due to if-check not required Signed-off-by: Nicolas Chautru Acked-by: Maxime Coquelin --- lib/bbdev/rte_bbdev_op.h | 15 --- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/lib/bbdev/rte_bbdev_op.h b/lib/bbdev/rte_bbdev_op.h index afa1a71..386eed8 100644

[PATCH v7 6/7] bbdev: add queue related warning and status information

2022-08-29 Thread Nicolas Chautru
This allows to expose more information with regards to any queue related failure and warning which cannot be supported in existing API. Signed-off-by: Nicolas Chautru Acked-by: Maxime Coquelin --- app/test-bbdev/test_bbdev_perf.c | 2 ++ lib/bbdev/rte_bbdev.c| 19 ++

[PATCH v7 4/7] drivers/baseband: update PMDs to expose queue per operation

2022-08-29 Thread Nicolas Chautru
Add support in existing bbdev PMDs for the explicit number of queues and priority for each operation type configured on the device. Signed-off-by: Nicolas Chautru Acked-by: Maxime Coquelin --- drivers/baseband/acc100/rte_acc100_pmd.c | 29 +- drivers/baseband/fpga_

RE: [PATCH v6 5/7] bbdev: add new operation for FFT processing

2022-08-29 Thread Chautru, Nicolas
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Friday, August 26, 2022 5:08 AM > To: Chautru, Nicolas ; dev@dpdk.org; > tho...@monjalon.net; gak...@marvell.com; hemant.agra...@nxp.com > Cc: t...@redhat.com; m...@ashroe.eu; Richardson, Bruce > ; david.march...@redhat.com;

RE: [PATCH v1 1/4] build: add meson option to configure IOVA mode as VA

2022-08-29 Thread Morten Brørup
> From: Shijith Thotton [mailto:sthot...@marvell.com] > Sent: Monday, 29 August 2022 17.16 > > IOVA mode in DPDK is either PA or VA. The new build option iova_as_va > configures the mode to VA at compile time and prevents setting it to PA > at runtime. For now, all drivers which are not always ena

CVE-2022-2132 disclosure

2022-08-29 Thread Thomas Monjalon
A vulnerability was fixed in DPDK. Some downstream stakeholders were warned in advance in order to coordinate the release of fixes and reduce the vulnerability window. In copy_desc_to_mbuf() function, the Vhost header was assumed not across more than two descriptors. If a malicious guest send a p

CVE-2022-28199 disclosure

2022-08-29 Thread Thomas Monjalon
A vulnerability was fixed in DPDK. Some downstream stakeholders were warned in advance in order to coordinate the release of fixes and reduce the vulnerability window. When having a failure with the mlx5 driver, the error recovery was not handled properly, which can allow a remote attacker to caus

RE: [RFC v3 00/26] Bus and device cleanup for 22.11

2022-08-29 Thread Walker, Benjamin
> From: David Marchand > > Hello, > > On Fri, Aug 5, 2022 at 1:19 AM Harris, James R > wrote: > > Can we keep rte_pci_register(), or a new variation of it that keeps > > the rte_pci_driver structure hidden? Hiding rte_pci_register() would > > mean SPDK can no longer work with a packaged DPDK.

Minutes of Techboard meeting 2022-07-27

2022-08-29 Thread Bruce Richardson
Minutes of Techboard Meeting 2022-07-27 Members Attending: 10/10 - Aaron Conole - Bruce Richardson - Hemant Agrawal - Honnappa Nagarahalli - Jerin Jacob - Kevin Traynor - Konstantin Ananyev - Maxime Coquelin - Stephen Hemminger - Thomas Monjalon NOTE: The

RE: [PATCH] rcu: fix build failure with debug dp log level

2022-08-29 Thread Honnappa Nagarahalli
> -Original Message- > From: Anoob Joseph > Sent: Monday, August 29, 2022 11:52 AM > To: Honnappa Nagarahalli > Cc: jer...@marvell.com; dev@dpdk.org; sean.morris...@intel.com > Subject: [PATCH] rcu: fix build failure with debug dp log level > > Build fails if RTE_LOG_DP_LEVEL is set to

[PATCH] rcu: fix build failure with debug dp log level

2022-08-29 Thread Anoob Joseph
Build fails if RTE_LOG_DP_LEVEL is set to RTE_LOG_DEBUG. Fix the same by including the required header when RTE_LOG_DP_LEVEL is set to RTE_LOG_DEBUG. ../lib/rcu/rte_rcu_qsbr.h:678:40: error: expected ‘)’ before ‘PRIu64’ 678 |"%s: status: least acked token = %" PRIu64, |

Re: Meson Versions for DPDK

2022-08-29 Thread Bruce Richardson
On Mon, Aug 29, 2022 at 08:59:04AM -0400, Lincoln Lavoie wrote: >Hi All, >The current version of meson is pinned to 0.49.2, which was released in >February 2019. At least it's pinned to that version within >.ci/linux-setup.sh. >Current version of 0.63.1, and defaults "shipped"

RE: [PATCH v5 2/7] bbdev: add device status info

2022-08-29 Thread Chautru, Nicolas
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Friday, August 26, 2022 3:13 AM > To: Chautru, Nicolas ; dev@dpdk.org; > tho...@monjalon.net; gak...@marvell.com; hemant.agra...@nxp.com > Cc: t...@redhat.com; m...@ashroe.eu; Richardson, Bruce > ; david.march...@redhat.com;

DPDK 20.11.6 released

2022-08-29 Thread Xueming Li
Hi all, Here is a new stable release: https://fast.dpdk.org/rel/dpdk-20.11.6.tar.xz The git tree is at: https://dpdk.org/browse/dpdk-stable/?h=20.11 Xueming Li --- .github/workflows/build.yml| 3 +- VERSION|

[PATCH 3/3] cryptodev: hide sym session structure

2022-08-29 Thread Fan Zhang
Structure rte_cryptodev_sym_session is moved to internal headers which are not visible to applications. The only field which should be used by app is opaque_data. This field can now be accessed via set/get APIs added in this patch. Subsequent changes in app and lib are made to compile the code. Si

[PATCH 0/3] cryptodev: sym session framework rework

2022-08-29 Thread Fan Zhang
This patchset reworks the symmetric crypto session data structure to use a single virtual/physical contiguous buffer for symmetric crypto session and driver private data. In addition the session data structure is now private. The session is represented as an opaque pointer in the application. With

[PATCH 2/3] crypto/scheduler: use unified session

2022-08-29 Thread Fan Zhang
This patch updates the scheduler PMD to use unified session data structure. Previously thanks to the private session array in cryptodev sym session there are no necessary change needed for scheduler PMD other than the way ops are enqueued/dequeued. The patch inherits the same design in the original

DPDK 21.11.2 released

2022-08-29 Thread Kevin Traynor
Hi all, Here is a new stable release: https://fast.dpdk.org/rel/dpdk-21.11.2.tar.xz The git tree is at: https://dpdk.org/browse/dpdk-stable/?h=21.11 This LTS release contains ~300 fixes up to DPDK 22.07 as well as fixes for CVE-2022-28199 and CVE-2022-2132. Thanks to the authors

[PATCH v2] net/octeon_ep: support CN10K SoC

2022-08-29 Thread Sathesh Edara
This patch adds the required functionality in the Octeon endpoint driver to support the CN10K endpoint device. It adds the CN10K SoC specific routines to configure, enable, and disable input and output queues to establish basic data transfers. Signed-off-by: Sathesh Edara --- Changes in v2: - Re

DPDK 19.11.13 released

2022-08-29 Thread Luca Boccassi
Hi all, Here is a new stable release: https://fast.dpdk.org/rel/dpdk-19.11.13.tar.xz The git tree is at: https://dpdk.org/browse/dpdk-stable/?h=19.11 This release fixes CVE-2022-2132 and CVE-2022-28199. Luca Boccassi --- VERSION| 2

[RFC PATCH 3/3] telemetry: use standard logging

2022-08-29 Thread Bruce Richardson
Now that logging is moved out of EAL, we don't need injection of the logtype and logging function from EAL to telemetry library, simplifying things. Signed-off-by: Bruce Richardson --- lib/eal/freebsd/eal.c | 6 +- lib/eal/linux/eal.c| 6 +- lib/telemetry/t

[RFC PATCH 2/3] log: separate logging functions out of EAL

2022-08-29 Thread Bruce Richardson
Move the logging capability to a separate library, free from EAL. Signed-off-by: Bruce Richardson --- lib/eal/common/eal_private.h | 7 lib/eal/common/meson.build| 1 - lib/eal/include/meson.build | 1 - lib/eal/linux/meson.build

[RFC PATCH 1/3] os: begin separating some OS compatibility from EAL

2022-08-29 Thread Bruce Richardson
Some library functionality we may want ahead of EAL build depends upon some OS-specific functionality, so we create a new lib for that to be built separately. For now, just includes fnmatch function for windows. Signed-off-by: Bruce Richardson --- lib/eal/windows/meson.build

[RFC PATCH 0/3] Split logging out of EAL

2022-08-29 Thread Bruce Richardson
Following recent discussion on-list about EAL needing to be broken down a bit, here is an RFC where logging functionality is split out of EAL into a separate library. Most parts of this work is fairly straight forward - there are only two complications: 1. The logging functions use "fnmatch", whic

[PATCH v1 4/4] drivers: mark software PMDs work with IOVA as VA

2022-08-29 Thread Shijith Thotton
Enabled software PMDs in IOVA as VA build as they work with IOVA as VA. Signed-off-by: Shijith Thotton --- drivers/crypto/armv8/meson.build| 1 + drivers/crypto/ipsec_mb/meson.build | 1 + drivers/crypto/null/meson.build | 1 + drivers/crypto/openssl/meson.build | 1 + drivers/dma/skele

[PATCH v1 3/4] drivers: mark Marvell cnxk PMDs work with IOVA as VA

2022-08-29 Thread Shijith Thotton
Enabled the flag pmd_iova_as_va in cnxk driver build files as they work with IOVA as VA. Updated cn9k and cn10k soc build configurations to enable the IOVA as VA build by default. Signed-off-by: Shijith Thotton --- config/arm/meson.build | 8 ++-- drivers/common/cnxk/meson.

[PATCH v1 2/4] mbuf: add second dynamic field member for VA only build

2022-08-29 Thread Shijith Thotton
mbuf physical address field is not used in builds which only uses VA. It is used to expand the dynamic field area. Signed-off-by: Shijith Thotton --- lib/mbuf/rte_mbuf_core.h | 26 +- lib/mbuf/rte_mbuf_dyn.c | 2 ++ 2 files changed, 19 insertions(+), 9 deletions(-) dif

[PATCH v1 1/4] build: add meson option to configure IOVA mode as VA

2022-08-29 Thread Shijith Thotton
IOVA mode in DPDK is either PA or VA. The new build option iova_as_va configures the mode to VA at compile time and prevents setting it to PA at runtime. For now, all drivers which are not always enabled are disabled with this option. Supported driver can set the flag pmd_iova_as_va in its build fi

[PATCH v1 0/4] mbuf dynamic field expansion

2022-08-29 Thread Shijith Thotton
This is a continuation of the discussions[1] to add mbuf physical address field to dynamic field. Previous version was to add PA field to dynamic field area based on the EAL IOVA mode option. It was deemed unsafe as some components could still use the PA field without checking IOVA mode and ther

[PATCH] net/mlx5: fix Rx queue recovery mechanism

2022-08-29 Thread Thomas Monjalon
From: Matan Azrad The local variables are getting inconsistent in data receiving routines after queue error recovery. Receive queue consumer index is getting wrong, need to reset one to the size of the queue (as RQ was fully replenished in recovery procedure). In MPRQ case, also the local consum

Re: [PATCH 2/2] vhost: fix header spanned across more than two descriptors

2022-08-29 Thread David Marchand
On Mon, Aug 29, 2022 at 5:10 PM David Marchand wrote: > > From: Maxime Coquelin > > This patch aims at supporting the unlikely case where a > Virtio-net header is spanned across more than two > descriptors. > > CVE-2022-2132 > Fixes: fd68b4739d2c ("vhost: use buffer vectors in dequeue path") > Cc

[PATCH] examples/ipsec-secgw: support for per SA HW reassembly

2022-08-29 Thread Rahul Bhansali
This add the support of hardware reassembly per SA basis. In SA rule, new parameter reassembly_en is added to enable HW reassembly per SA. For example: sa in aead_algo aead_key mode ipv4-tunnel src dst type inline-protocol-offload port_id reassembly_en Stats counter frag_dropped will represe

[PATCH 1/2] vhost: discard too small descriptor chains

2022-08-29 Thread David Marchand
From: Maxime Coquelin This patch discards descriptor chains which are smaller than the Virtio-net header size, and ones that are equal. Indeed, such descriptor chains sizes mean there is no packet data. This patch also has the advantage of requesting the exact packets sizes for the mbufs. CVE-

[PATCH 2/2] vhost: fix header spanned across more than two descriptors

2022-08-29 Thread David Marchand
From: Maxime Coquelin This patch aims at supporting the unlikely case where a Virtio-net header is spanned across more than two descriptors. CVE-2022-2132 Fixes: fd68b4739d2c ("vhost: use buffer vectors in dequeue path") Cc: sta...@dpdk.org Signed-off-by: Maxime Coquelin Acked-by: Chenbo Xia

[PATCH] event/cnxk: reassembly function callback assignment

2022-08-29 Thread Rahul Bhansali
This add the support of reassembly functions callback assignment to eventdev dequeue and dequeue_burst. Fixes: c062f5726f61 ("net/cnxk: support IP reassembly") Signed-off-by: Rahul Bhansali --- drivers/event/cnxk/cn10k_eventdev.c | 232 ++ .../cnxk/deq/cn10k/deq_0_15_t

Re: [PATCH v3 1/3] eal: add lcore poll busyness telemetry

2022-08-29 Thread Kevin Laatz
On 29/08/2022 14:44, Morten Brørup wrote: From: Kevin Laatz [mailto:kevin.la...@intel.com] Sent: Monday, 29 August 2022 15.37 On 29/08/2022 13:49, Morten Brørup wrote: From: Kevin Laatz [mailto:kevin.la...@intel.com] Sent: Monday, 29 August 2022 14.37 The patches currently include runtime opti

Re: [PATCH v7] ip_frag: add IPv4 fragment copy packet API

2022-08-29 Thread Thomas Monjalon
09/08/2022 00:29, Konstantin Ananyev: > 08/08/2022 02:48, Huichao Cai пишет: > > Some NIC drivers support MBUF_FAST_FREE(Device supports optimization > > for fast release of mbufs. When set application must guarantee that > > per-queue all mbufs comes from the same mempool,has refcnt = 1,direct > >

RE: [PATCH v3 1/3] eal: add lcore poll busyness telemetry

2022-08-29 Thread Morten Brørup
> From: Kevin Laatz [mailto:kevin.la...@intel.com] > Sent: Monday, 29 August 2022 15.37 > > On 29/08/2022 13:49, Morten Brørup wrote: > > From: Kevin Laatz [mailto:kevin.la...@intel.com] > > Sent: Monday, 29 August 2022 14.37 > >> The patches currently include runtime options to enable/disable the

Re: [PATCH v3 1/3] eal: add lcore poll busyness telemetry

2022-08-29 Thread Kevin Laatz
On 29/08/2022 13:49, Morten Brørup wrote: From: Kevin Laatz [mailto:kevin.la...@intel.com] Sent: Monday, 29 August 2022 14.37 The patches currently include runtime options to enable/disable the feature via API and via telemetry endpoints. We have run performance tests and have failed to measur

Re: [PATCH v3 1/3] eal: add lcore poll busyness telemetry

2022-08-29 Thread Kevin Laatz
On 26/08/2022 23:06, Mattias Rönnblom wrote: On 2022-08-25 17:28, Kevin Laatz wrote: From: Anatoly Burakov Currently, there is no way to measure lcore poll busyness in a passive way, without any modifications to the application. This patch adds a new EAL API that will be able to passively t

Re: [PATCH] x86: rte_mov256 was missing for AVX2

2022-08-29 Thread Thomas Monjalon
29/08/2022 14:18, Morten Brørup: > At SmartShare Systems we follow a coding convention of including the > declaration header file at the absolute top of the file implementing it. This > reveals at build time if anything is missing in the declaration header file. > The DPDK Project could do the s

RE: 20.11.6 patches review and test

2022-08-29 Thread Xueming(Steven) Li
> -Original Message- > From: Stokes, Ian > Sent: Monday, August 29, 2022 9:02 PM > To: Xueming(Steven) Li ; sta...@dpdk.org > Cc: dev@dpdk.org; Abhishek Marathe ; Ali > Alnubani ; Walker, Benjamin > ; David Christensen ; > Hemant Agrawal ; Jerin Jacob > ; Mcnamara, John ; Ju-Hyoung Lee

RE: 20.11.6 patches review and test

2022-08-29 Thread Stokes, Ian
> Hi all, > > Here is a list of patches targeted for stable release 20.11.6. > > The planned date for the final release is August 29th. > > Please help with testing and validation of your use cases and report > any issues/results with reply-all to this mail. For the final release > the fixes and

RE: 21.11.2 patches review and test

2022-08-29 Thread Stokes, Ian
> Hi all, > > Here is a list of patches targeted for stable release 21.11.2. > > The planned date for the final release is August 29th. > > Please help with testing and validation of your use cases and report > any issues/results with reply-all to this mail. For the final release > the fixes and

Meson Versions for DPDK

2022-08-29 Thread Lincoln Lavoie
Hi All, The current version of meson is pinned to 0.49.2, which was released in February 2019. At least it's pinned to that version within .ci/linux-setup.sh. Current version of 0.63.1, and defaults "shipped" with operating systems are newer than the 0.49.2 version and do break the DPDK compile.

Re: [PATCH] eal: zero out new added memory

2022-08-29 Thread Dmitry Kozlyuk
2022-08-29 14:37 (UTC+0200), Morten Brørup: > > From: David Marchand [mailto:david.march...@redhat.com] > > Sent: Monday, 29 August 2022 13.58 > > > > > > > > On Sat, Aug 27, 2022 at 12:57:50PM +0300, Dmitry Kozlyuk wrote: > > > > > > > The kernel ensures that the newly mapped memory is zeroed, >

RE: [PATCH v3 1/3] eal: add lcore poll busyness telemetry

2022-08-29 Thread Morten Brørup
From: Kevin Laatz [mailto:kevin.la...@intel.com] Sent: Monday, 29 August 2022 14.37 > > The patches currently include runtime options to enable/disable the feature > via API and via telemetry endpoints. We have run performance tests and have > failed to measure any performance impact with the fe

Re: [PATCH v1 3/3] examples/l3fwd-power: enable PMD power mgmt on Arm

2022-08-29 Thread Hunt, David
On 25/08/2022 07:42, Feifei Wang wrote: For Arm aarch, power monitor uses WFE instruction to enable, which can not exit automatically within the time limit. This means 'rte_power_monitor_wakeup' API needs to be called to wake up sleep cores if there is no store operation to monitored address.

Re: [PATCH] eal: zero out new added memory

2022-08-29 Thread David Marchand
On Mon, Aug 29, 2022 at 2:37 PM Morten Brørup wrote: > > > From: David Marchand [mailto:david.march...@redhat.com] > > Sent: Monday, 29 August 2022 13.58 > > > > On Mon, Aug 29, 2022 at 1:38 PM lic121 wrote: > > > > > > On Mon, Aug 29, 2022 at 01:18:36AM +, lic121 wrote: > > > > On Sat, Aug

RE: [PATCH] eal: zero out new added memory

2022-08-29 Thread Morten Brørup
> From: David Marchand [mailto:david.march...@redhat.com] > Sent: Monday, 29 August 2022 13.58 > > On Mon, Aug 29, 2022 at 1:38 PM lic121 wrote: > > > > On Mon, Aug 29, 2022 at 01:18:36AM +, lic121 wrote: > > > On Sat, Aug 27, 2022 at 05:56:54PM +0300, Dmitry Kozlyuk wrote: > > > > 2022-08-27

Re: [PATCH v3 1/3] eal: add lcore poll busyness telemetry

2022-08-29 Thread Kevin Laatz
On 29/08/2022 11:53, Thomas Monjalon wrote: 29/08/2022 12:41, Bruce Richardson: On Fri, Aug 26, 2022 at 05:46:48PM +0200, Morten Brørup wrote: From: Kevin Laatz [mailto:kevin.la...@intel.com] Sent: Friday, 26 August 2022 17.27 On 26/08/2022 09:29, Morten Brørup wrote: From: Jerin Jacob [mailt

RE: [PATCH] x86: rte_mov256 was missing for AVX2

2022-08-29 Thread Morten Brørup
> From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Monday, 29 August 2022 12.56 > > 20/08/2022 12:30, Morten Brørup: > > The rte_mov256 function was missing for AVX2. > > Does nobody build test for AVX2 and check the compiler output? > > Please could you specify the context/setup to rep

Re: [PATCH] eal: zero out new added memory

2022-08-29 Thread David Marchand
On Mon, Aug 29, 2022 at 1:38 PM lic121 wrote: > > On Mon, Aug 29, 2022 at 01:18:36AM +, lic121 wrote: > > On Sat, Aug 27, 2022 at 05:56:54PM +0300, Dmitry Kozlyuk wrote: > > > 2022-08-27 13:31 (UTC+), lic121: > > > > On Sat, Aug 27, 2022 at 12:57:50PM +0300, Dmitry Kozlyuk wrote: > > > > >

RE: [PATCH] net/pcap: reduce time for stopping device

2022-08-29 Thread Zhou, YidingX
> -Original Message- > From: Ferruh Yigit > Sent: Thursday, August 25, 2022 8:22 PM > To: Zhou, YidingX ; dev@dpdk.org > Cc: Zhang, Qi Z ; sta...@dpdk.org > Subject: Re: [PATCH] net/pcap: reduce time for stopping device > > On 8/25/2022 12:17 PM, Zhou, YidingX wrote: > > > > > >> -Ori

Re: [PATCH] eal: zero out new added memory

2022-08-29 Thread lic121
On Mon, Aug 29, 2022 at 01:18:36AM +, lic121 wrote: > On Sat, Aug 27, 2022 at 05:56:54PM +0300, Dmitry Kozlyuk wrote: > > 2022-08-27 13:31 (UTC+), lic121: > > > On Sat, Aug 27, 2022 at 12:57:50PM +0300, Dmitry Kozlyuk wrote: > > > > 2022-08-27 09:25 (UTC+), chengt...@qq.com: > > > > >

RE: [PATCH v3 1/3] eal: add lcore poll busyness telemetry

2022-08-29 Thread Morten Brørup
> From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Monday, 29 August 2022 12.41 > > On Fri, Aug 26, 2022 at 05:46:48PM +0200, Morten Brørup wrote: > > > > Also, there's a new discussion about EAL bloat [1]. Perhaps I'm > stretching it here, but it would be nice if your library wa

Re: [PATCH] x86: rte_mov256 was missing for AVX2

2022-08-29 Thread Thomas Monjalon
20/08/2022 12:30, Morten Brørup: > The rte_mov256 function was missing for AVX2. > Does nobody build test for AVX2 and check the compiler output? Please could you specify the context/setup to reproduce the issue? An error message would be nice to paste here as well. Thanks

Re: [PATCH v3 1/3] eal: add lcore poll busyness telemetry

2022-08-29 Thread Thomas Monjalon
29/08/2022 12:41, Bruce Richardson: > On Fri, Aug 26, 2022 at 05:46:48PM +0200, Morten Brørup wrote: > > > From: Kevin Laatz [mailto:kevin.la...@intel.com] > > > Sent: Friday, 26 August 2022 17.27 > > > > > > On 26/08/2022 09:29, Morten Brørup wrote: > > > >> From: Jerin Jacob [mailto:jerinjac...@

Re: [PATCH] build: enable developer mode for all working trees

2022-08-29 Thread Thomas Monjalon
16/08/2022 10:51, Ferruh Yigit: > On 8/10/2022 8:26 PM, Stephen Hemminger wrote: > > On Wed, 10 Aug 2022 20:40:58 +0300 > > Dmitry Kozlyuk wrote: > > > >> Developer mode was detected if `.git` was a directory. > >> Linked git working trees created by `git worktree add` > >> contain `.git` file in

Re: [PATCH v1] buildtools: ensure the NUMA nodes are counted correct

2022-08-29 Thread Thomas Monjalon
02/08/2022 09:54, Chaoyong He: > From: Peng Zhang > > Sorting a list of strings with the format "node[0-9]+" in order to find the > largest integer by looking at the last item after the sort breaks. But if > there are more then 10 items as a string sort will sort "node10" before > "node2", it wil

Re: [PATCH v3 1/3] eal: add lcore poll busyness telemetry

2022-08-29 Thread Bruce Richardson
On Fri, Aug 26, 2022 at 05:46:48PM +0200, Morten Brørup wrote: > > From: Kevin Laatz [mailto:kevin.la...@intel.com] > > Sent: Friday, 26 August 2022 17.27 > > > > On 26/08/2022 09:29, Morten Brørup wrote: > > >> From: Jerin Jacob [mailto:jerinjac...@gmail.com] > > >> Sent: Friday, 26 August 2022 1

Re: [PATCH] gro: fix gro with tcp push flag

2022-08-29 Thread Thomas Monjalon
Jiayu, please could you help in this review? 27/07/2022 10:44, Jun Qiu: > I think this delay is tolerable. > Many TCP stacks do not take special care of PUSH packets when receiving them. > All received packets with data will trigger Poll events. > > The patch is simple to implement and easy to

Re: [PATCH] config: set pkgconfig for ppc64le

2022-08-29 Thread Thomas Monjalon
What is the conclusion on this patch? It is good to go? Acked? 20/07/2022 01:02, David Christensen: > > On 7/18/22 1:16 PM, Thinh Tran wrote: > > > > > > On 7/14/2022 1:58 AM, Ali Alnubani wrote: > >>> -Original Message- > >>> From: Thinh Tran > >>> Sent: Wednesday, July 13, 2022 10:5

Re: [PATCH] net/failsafe: fix interrupt handle leak

2022-08-29 Thread David Marchand
On Fri, Apr 29, 2022 at 3:56 PM Ferruh Yigit wrote: > > On 3/24/2022 3:09 PM, David Marchand wrote: > > A intr_handle is being allocated as a hack to get a (proxy) eventfd from > > the Linux interrupt implementation. > > But this handle is never freed. > > > > Remove this convoluted hack and creat

Re: [PATCH] pipeline: fix code generation for the recirculation ID instruction

2022-08-29 Thread Thomas Monjalon
18/07/2022 14:59, Cristian Dumitrescu: > The "offset" and "n_bits" fields were generated incorrectly, hence the > output C file was producing compilation errors when the "recircid" > instruction was used. > > Fixes: 5ec76d29dc6 ("pipeline: support packet recirculation") > Cc: sta...@dpdk.org > >

[PATCH] IGC: Remove I225_I_PHY_ID checking

2022-08-29 Thread iotg . dpdk . ref . app
From: NSWE SWS DPDK Dev i225 devices have only one PHY vendor. There is unnecessary to check _I_PHY_ID during the link establishment and auto-negotiation process, the checking also caused devices like i225-IT failed. This patch is to remove the mentioned unnecessary checking. Cc: sta...@dpdk.o

[PATCH] net/iavf: update ESN values when updating session

2022-08-29 Thread Radu Nicolau
When updating an ingress session update the internal values before making the virtual channel request. Fixes: 6bc987ecb860 ("net/iavf: support IPsec inline crypto") Cc: sta...@dpdk.org Signed-off-by: Radu Nicolau --- drivers/net/iavf/iavf_ipsec_crypto.c | 5 +++-- 1 file changed, 3 insertions(+

[PATCH 5/5] examples/l3fwd: fix event vector processing in fib

2022-08-29 Thread pbhagavatula
From: Pavan Nikhilesh Fix stack overflow when event vector size is greater then MAX_BURST_SIZE. Add missing mac swap and rfc1812 stage. Fixes: e8adca1951d4 ("examples/l3fwd: support event vector") Signed-off-by: Pavan Nikhilesh --- examples/l3fwd/l3fwd_fib.c | 85 +++--

[PATCH 3/5] examples/l3fwd: use lpm vector path for event vector

2022-08-29 Thread pbhagavatula
From: Pavan Nikhilesh Use lpm vector path to process event vector. Signed-off-by: Pavan Nikhilesh --- examples/l3fwd/l3fwd_altivec.h | 28 examples/l3fwd/l3fwd_event.h | 58 ++ examples/l3fwd/l3fwd_lpm.c | 33 +-- examples/

[PATCH 4/5] examples/l3fwd: use em vector path for event vector

2022-08-29 Thread pbhagavatula
From: Pavan Nikhilesh Use em vector path to process event vector. Signed-off-by: Pavan Nikhilesh --- examples/l3fwd/l3fwd_em.c| 10 ++-- examples/l3fwd/l3fwd_em_hlm.h| 72 +--- examples/l3fwd/l3fwd_em_sequential.h | 25 ++ examples/l3fwd/l3fw

[PATCH 2/5] examples/l3fwd: split processing and send stages

2022-08-29 Thread pbhagavatula
From: Pavan Nikhilesh Split packet processing from packet send stage, as send stage is not common for poll and event mode. Signed-off-by: Pavan Nikhilesh --- examples/l3fwd/l3fwd_em_hlm.h | 39 +++--- examples/l3fwd/l3fwd_lpm_altivec.h | 25 --- exa

[PATCH 1/5] examples/l3fwd: fix port group mask generation

2022-08-29 Thread pbhagavatula
From: Pavan Nikhilesh Fix port group mask generation in altivec, vec_any_eq returns 0 or 1 while port_groupx4 expects comparison mask result. Fixes: 2193b7467f7a ("examples/l3fwd: optimize packet processing on powerpc") Cc: sta...@dpdk.org Signed-off-by: Pavan Nikhilesh --- examples/common/al

Re: [Patch v4 01/17] net/mana: add basic driver, build environment and doc

2022-08-29 Thread Thomas Monjalon
Slava, Matan, what do you think? 29/08/2022 10:51, Ferruh Yigit: > On 8/29/2022 8:58 AM, Thomas Monjalon wrote: > > 22/08/2022 20:27, Long Li: > >>> On 8/22/2022 4:03 PM, Ferruh Yigit wrote: > > + ibv_list = ibv_get_device_list(&num_devices); > > + for (ibv_idx = 0; ibv_idx < n

  1   2   >