答复: about RTL8168 PMD on ARM SoC

2022-08-29 Thread 王星
Hi Honnappa, The attachment is our current r8168pmd code for RTL8111/8168 Giga series (currently 8111G, 8111H are supported, we will add others later) I will contact the SoC vendor to consult you about this issue and let you know some details about that SoC Thanks a lot! BRs Xing Wang 发件人: Honna

答复: about RTL8168 PMD on ARM SoC

2022-08-29 Thread 王星
Hi Honnappa, I’m sorry I have to make a little correction, This issue was actually on our new 2.5 Gigabit RTL8125 series, the attachment is latest r8125pmd, There is no essential difference w.r.t ARM platform though. BRs, Xing Wang 发件人: 王星 发送时间: 2022年8月26日 10:06 收件人: 'Honnappa Nagarahalli' ; de

RE: [PATCH] net/nfp: support Corigine PCIe ID for the nfp PMD

2022-08-29 Thread Baowen Zheng
On August 26, 2022 1:50 PM, James wrote: >Previously the nfp driver as supported NFP chips with the Netronome PCIe ID. There seems to be a typo, the word "as" should be has? >This patch extends the PMD to also support NFP chips with the Corigine PCIe >vendor ID (0x1da8), which at this point are as

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

2022-08-29 Thread Buckley, Daniel M
From patchwork Fri Aug 12 16:52:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zhang, Peng1X" X-Patchwork-Id: 114858 X-Patchwork-Delegate: qi.z.zh...@intel.com Return-Path: X-Original-To: patchw...@inbox.dpdk.org Deliver

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

2022-08-29 Thread Buckley, Daniel M
From patchwork Fri Aug 12 16:52:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zhang, Peng1X" X-Patchwork-Id: 114859 X-Patchwork-Delegate: qi.z.zh...@intel.com Return-Path: X-Original-To: patchw...@inbox.dpdk.org Deliver

RE: [EXT] [PATCH 0/3] Add uadk compression and crypto PMD

2022-08-29 Thread Akhil Goyal
> > > > Also UADK does not look to be a PMD name. It is some development kit > > Outside of DPDK. Can you rename it to something else? > > > > Is there some dependency to build it using external libraries etc? > > Can you explain what exactly is UADK? > UADK is a framework for user application to a

RE: [PATCH v4 17/27] bus/vdev: make driver-only headers private

2022-08-29 Thread Ruifeng Wang
> -Original Message- > From: David Marchand > Sent: Friday, August 26, 2022 8:42 PM > To: dev@dpdk.org > Cc: tho...@monjalon.net; bruce.richard...@intel.com; Rosen Xu > ; > Gagandeep Singh ; hemant.agra...@nxp.com; Nicolas Chautru > ; Ray Kinsella ; Lee Daly > ; > Fan Zhang ; Ashish Gupt

[Bug 951] net/mlx5: error when using rte_pktmbuf_attach_extbuf

2022-08-29 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=951 Asaf Penso (as...@nvidia.com) changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

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

2022-08-29 Thread Thomas Monjalon
22/08/2022 20:27, Long Li: > > Subject: Re: [Patch v4 01/17] net/mana: add basic driver, build environment > > and doc > > > > On 8/22/2022 4:03 PM, Ferruh Yigit wrote: > > >> + struct rte_pci_device *pci_dev, > > >> + struct rte_ether_addr *

Re: [dpdk-kmods v2] windows/netuio: fix BAR parsing

2022-08-29 Thread Thomas Monjalon
19/08/2022 20:13, Menon, Ranjit: > On 8/11/2022 3:17 PM, Pallavi Kadam wrote: > > Current code was always checking the 'prev_bar & PCI_TYPE_64BIT' > > though only the first BAR slot of a 64-bit BAR contains flags. > > Also for certain PCIe devices, BAR values were not continuous. > > This patch fix

Re: [PATCH v4 17/27] bus/vdev: make driver-only headers private

2022-08-29 Thread David Marchand
On Mon, Aug 29, 2022 at 9:18 AM Ruifeng Wang wrote: > > diff --git a/app/test/test_vdev.c b/app/test/test_vdev.c index > > 5eeff3106d..3cc3abe70b > > 100644 > > --- a/app/test/test_vdev.c > > +++ b/app/test/test_vdev.c > > @@ -9,7 +9,7 @@ > > #include > > #include > > #include > > -#include

[PATCH v12 1/6] eventdev/eth_rx: add adapter instance get API

2022-08-29 Thread Ganapati Kundapura
Added rte_event_eth_rx_adapter_instance_get() to get adapter instance id for specified ethernet device id and rx queue index. Added rte_event_eth_rx_adapter_instance_get() details in prog_guide/event_ethernet_rx_adapter.rst Signed-off-by: Ganapati Kundapura Reviewed-by: Naga Harish K S V Acked

[PATCH v12 2/6] eventdev/eth_rx: add telemetry callback for instance get

2022-08-29 Thread Ganapati Kundapura
Added telemetry handler for rte_event_eth_rx_adapter_instance_get() to retrieve adapter instance id for specified ethernet device id and rx queue index. Signed-off-by: Ganapati Kundapura Reviewed-by: Naga Harish K S V Acked-by: Jay Jayatheerthan diff --git a/lib/eventdev/rte_event_eth_rx_adap

[PATCH v12 3/6] test/eth_rx: add test case for instance get API

2022-08-29 Thread Ganapati Kundapura
Added test case for rte_event_eth_rx_adapter_instance_get() Signed-off-by: Ganapati Kundapura Reviewed-by: Naga Harish K S V Acked-by: Jay Jayatheerthan diff --git a/app/test/test_event_eth_rx_adapter.c b/app/test/test_event_eth_rx_adapter.c index e358a70..1da7782 100644 --- a/app/test/test_

[PATCH v12 4/6] eventdev/eth_tx: add instance get API

2022-08-29 Thread Ganapati Kundapura
Added rte_event_eth_tx_adapter_instance_get() to get the adapter instance id for specified ethernet device id and tx queue index. Added rte_event_eth_tx_adapter_instance_get() details in prog_guide/event_ethernet_tx_adapter.rst Signed-off-by: Ganapati Kundapura Reviewed-by: Naga Harish K S V A

[PATCH v12 5/6] test/eth_tx: add testcase for instance get API

2022-08-29 Thread Ganapati Kundapura
Added testcase for rte_event_eth_tx_adapter_instance_get() Signed-off-by: Ganapati Kundapura Reviewed-by: Naga Harish K S V Acked-by: Jay Jayatheerthan diff --git a/app/test/test_event_eth_tx_adapter.c b/app/test/test_event_eth_tx_adapter.c index 2900532..98debfd 100644 --- a/app/test/test_e

[PATCH v12 6/6] doc: Added adapter instance get API

2022-08-29 Thread Ganapati Kundapura
Added rx adapter instance get - rte_event_eth_rx_adapter_instance_get() and tx adapter instance get - rte_event_eth_tx_adapter_instance_get() Signed-off-by: Ganapati Kundapura diff --git a/doc/guides/rel_notes/release_22_11.rst b/doc/guides/rel_notes/release_22_11.rst index 8c021cf..091cc84 100

[PATCH v12 6/6] doc: added adapter instance get API

2022-08-29 Thread Ganapati Kundapura
Added rx adapter instance get - rte_event_eth_rx_adapter_instance_get() and tx adapter instance get - rte_event_eth_tx_adapter_instance_get() Signed-off-by: Ganapati Kundapura diff --git a/doc/guides/rel_notes/release_22_11.rst b/doc/guides/rel_notes/release_22_11.rst index 8c021cf..091cc84 100

RE: [PATCH v11 1/7] eventdev/eth_rx: add adapter instance get API

2022-08-29 Thread Kundapura, Ganapati
Hi Jerin, > -Original Message- > From: Jerin Jacob > Sent: 27 August 2022 17:44 > To: Kundapura, Ganapati > Cc: jer...@marvell.com; Jayatheerthan, Jay ; > Naga Harish K, S V ; dev@dpdk.org > Subject: Re: [PATCH v11 1/7] eventdev/eth_rx: add adapter instance get API > > On Thu, Aug 11, 2

Re: [EXT] [PATCH 0/3] Add uadk compression and crypto PMD

2022-08-29 Thread Zhangfei Gao
On 2022/8/29 下午3:11, Akhil Goyal wrote: Also UADK does not look to be a PMD name. It is some development kit Outside of DPDK. Can you rename it to something else? Is there some dependency to build it using external libraries etc? Can you explain what exactly is UADK? UADK is a framework for

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

2022-08-29 Thread Bruce Richardson
On Sat, Aug 27, 2022 at 12:06:19AM +0200, Mattias Rönnblom wrote: > On 2022-08-25 17:28, Kevin Laatz wrote: > > From: Anatoly Burakov > > > > This patch also adds a telemetry endpoint to report lcore poll busyness, as > > well as telemetry endpoints to enable/disable lcore telemetry. A > > docum

[PATCH v2] vhost: fix build

2022-08-29 Thread Min Zhou
On CentOS 8 or Debian 10.4 systems using gcc 12.1 to cross compile DPDK, gcc shows a following warning which will cause build to fail when build is run with -werror: In function 'mbuf_to_desc', inlined from 'vhost_enqueue_async_packed' at ../lib/vhost/virtio_net.c:1826:6, inlined from 'vi

Re: [PATCH v4 4/4] eal: remove unneeded includes from a public header

2022-08-29 Thread Bruce Richardson
On Sat, Aug 27, 2022 at 02:32:22PM +0300, Dmitry Kozlyuk wrote: > Do not include , , and from , > because they are not used by this file. > Include the needed headers directly from the files that need them. > > Signed-off-by: Dmitry Kozlyuk > --- Acked-by: Bruce Richardson

[PATCH v2 00/10] introduce GVE PMD

2022-08-29 Thread Junfeng Guo
Introduce a new PMD for Google Virtual Ethernet (GVE). This patch set requires an exception for MIT license for GVE base code. And the base code includes the following files: - gve_adminq.c - gve_adminq.h - gve_desc.h - gve_desc_dqo.h - gve_register.h It's

[PATCH v2 01/10] net/gve: introduce GVE PMD base code

2022-08-29 Thread Junfeng Guo
The following base code is based on Google Virtual Ethernet (gve) driver v1.3.0 under MIT license. - gve_adminq.c - gve_adminq.h - gve_desc.h - gve_desc_dqo.h - gve_register.h The original code is in: https://github.com/GoogleCloudPlatform/compute-virtual-ethernet-linux/\ tree/v1.3.0/goo

[PATCH v2 02/10] net/gve: add logs and OS specific implementation

2022-08-29 Thread Junfeng Guo
Add GVE PMD logs. Add some MACRO definitions and memory operations which are specific for DPDK. Signed-off-by: Haiyue Wang Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- drivers/net/gve/gve_adminq.h | 2 + drivers/net/gve/gve_desc.h | 2 + drivers/net/gve/gve_desc_dqo.h |

[PATCH v2 03/10] net/gve: support device initialization

2022-08-29 Thread Junfeng Guo
Support device init and the fowllowing devops: - dev_configure - dev_start - dev_stop - dev_close Signed-off-by: Haiyue Wang Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- drivers/net/gve/gve.h| 249 +++ drivers/net/gve/gve_adminq.c | 1 + driver

[PATCH v2 04/10] net/gve: add link update support

2022-08-29 Thread Junfeng Guo
Support dev_ops link_update. Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- drivers/net/gve/gve_ethdev.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/drivers/net/gve/gve_ethdev.c b/drivers/net/gve/gve_ethdev.c index f10f273f7d..435115c047 100644

[PATCH v2 05/10] net/gve: add MTU set support

2022-08-29 Thread Junfeng Guo
Support dev_ops mtu_set. Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- drivers/net/gve/gve_ethdev.c | 29 + 1 file changed, 29 insertions(+) diff --git a/drivers/net/gve/gve_ethdev.c b/drivers/net/gve/gve_ethdev.c index 435115c047..26b45fde6f 100644 --- a

[PATCH v2 06/10] net/gve: add queue operations

2022-08-29 Thread Junfeng Guo
Add support for queue operations: - setup rx/tx queue - release rx/tx queue - start rx/tx queues - stop rx/tx queues Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- drivers/net/gve/gve.h| 52 + drivers/net/gve/gve_ethdev.c | 203 + d

[PATCH v2 07/10] net/gve: add Rx/Tx support

2022-08-29 Thread Junfeng Guo
Add Rx/Tx of GQI_QPL queue format and GQI_RDA queue format. Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- drivers/net/gve/gve.h| 17 ++ drivers/net/gve/gve_ethdev.c | 5 + drivers/net/gve/gve_rx.c | 143 +++ drivers/net/gve/gve_tx.c | 452 ++

[PATCH v2 08/10] net/gve: add support to get dev info and configure dev

2022-08-29 Thread Junfeng Guo
Add dev_ops dev_infos_get. Complete dev_configure with RX offloads configuration. Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- drivers/net/gve/gve.h| 3 ++ drivers/net/gve/gve_ethdev.c | 61 2 files changed, 64 insertions(+) diff --git

[PATCH v2 09/10] net/gve: add stats support

2022-08-29 Thread Junfeng Guo
Update stats add support of dev_ops stats_get/reset. Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- drivers/net/gve/gve.h| 10 ++ drivers/net/gve/gve_ethdev.c | 69 drivers/net/gve/gve_rx.c | 15 ++-- drivers/net/gve/gve_tx.c

[PATCH v2 10/10] doc: update documentation

2022-08-29 Thread Junfeng Guo
Update documentation of GVE PMD and release note. Signed-off-by: Xiaoyun Li Signed-off-by: Junfeng Guo --- MAINTAINERS| 6 +++ doc/guides/nics/features/gve.ini | 18 +++ doc/guides/nics/gve.rst| 65 ++ doc/guides/rel

RE: [EXT] Re: [PATCH 1/3] eventdev: add element offset to event vector

2022-08-29 Thread Pavan Nikhilesh Bhagavatula
> -Original Message- > From: Mattias Rönnblom > Sent: Wednesday, August 24, 2022 2:12 PM > To: Pavan Nikhilesh Bhagavatula ; Mattias > Rönnblom ; Jerin Jacob Kollanukkaran > ; Jay Jayatheerthan > Cc: dev@dpdk.org; erik.g.carri...@intel.com; abhinandan.guj...@intel.com; > timothy.mcdan..

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

2022-08-29 Thread Ferruh Yigit
On 8/29/2022 8:58 AM, Thomas Monjalon wrote: 22/08/2022 20:27, Long Li: Subject: Re: [Patch v4 01/17] net/mana: add basic driver, build environment and doc On 8/22/2022 4:03 PM, Ferruh Yigit wrote: + struct rte_pci_device *pci_dev, + stru

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

[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

[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 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 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 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] 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] 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

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 > >

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] 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] 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 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 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] 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 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] 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 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] 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] 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 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] 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 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] 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] 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 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 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] 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, >

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: 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

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: 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: [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: [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 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 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 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 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

[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

[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 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] 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

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] 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

[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 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 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 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 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

[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

[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 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 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

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

[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 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 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

[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 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

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|

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;

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"

[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: [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

  1   2   >