RE: [PATCH] vdpa/mlx5: fix return value check of mkey create

2021-11-15 Thread Xia, Chenbo
> -Original Message- > From: Bing Zhao > Sent: Friday, November 12, 2021 10:43 PM > To: viachesl...@nvidia.com; ma...@nvidia.com > Cc: dev@dpdk.org; rasl...@nvidia.com > Subject: [PATCH] vdpa/mlx5: fix return value check of mkey create > > The return value of "mlx5_os_wrapped_mkey_create"

RE: [PATCH v4] vhost: fix physical address mapping

2021-11-15 Thread Xia, Chenbo
> -Original Message- > From: Ding, Xuan > Sent: Monday, November 15, 2021 8:32 PM > To: maxime.coque...@redhat.com; Xia, Chenbo > Cc: dev@dpdk.org; Hu, Jiayu ; Wang, YuanX > ; He, Xingguang ; Ding, Xuan > > Subject: [PATCH v4] vhost: fix physical address mapping > > When choosing IOVA a

[PATCH] net/mlx5: fix keeping indirect RSS non-isolated mode

2021-11-15 Thread Dmitry Kozlyuk
When a port starts in non-isolated mode, an internal indirect RSS is created that includes all configured queues and a flow rule is created that references this indirect RSS. If before switching to non-isolated mode an indirect RSS was created that includes the same set of queues, it would be reuse

[pull-request] next-crypto 21.11 rc3

2021-11-15 Thread Akhil Goyal
The following changes since commit ce78c51833a847d4b93841231907f1a7f5cf7114: net/mlx5: fix delay drop bit set overflow (2021-11-14 16:26:49 +0100) are available in the Git repository at: http://dpdk.org/git/next/dpdk-next-crypto for you to fetch changes up to 6159e01966a481eec6f7e64dc68918

RE: [PATCH] common/qat: fix overrun of qp config

2021-11-15 Thread Akhil Goyal
> >Subject: [PATCH] common/qat: fix overrun of qp config > > > >This commint fixes overrun of ring configuration due to insufficient check. > Small typo here: commint -> commit Fixed while merging. > > > > >Fixes: 4badfb0205f7 ("common/qat: fix queue pairs number") > >Cc: przemyslawx.ze...@intel.

RE: [EXT] [PATCH] test/crypto: fix output buffer length

2021-11-15 Thread Akhil Goyal
> Input buffer length is getting appended with > padding length when the test case is encrypted > digest, but output buffer length is appended > with padding length for all the cases. > > This patch fixes the output buffer length > by appending the padding length only when the > test case is of en

[PATCH v3] vhost: fix packed ring descriptor update in async enqueue

2021-11-15 Thread Jiayu Hu
If the packet uses multiple descriptors and its descriptor indices are wrapped, the first descriptor flag is not updated last, which may cause virtio read the incomplete packet. For example, given a packet uses 64 descriptors, and virtio ring size is 256, and its descriptor indices are 224~255 and

RE: [dpdk-dev] [dpdk-announce] release candidate 21.11-rc2

2021-11-15 Thread Jiang, YuX
> -Original Message- > From: Jiang, YuX > Sent: Thursday, November 11, 2021 4:26 PM > To: Thomas Monjalon ; dev (dev@dpdk.org) > > Cc: Devlin, Michelle ; Mcnamara, John > ; Yigit, Ferruh > Subject: RE: [dpdk-dev] [dpdk-announce] release candidate 21.11-rc2 > > > -Original Message-

[dpdk-dev] [pull-request] dpdk-next-eventdev - v21.11 rc3

2021-11-15 Thread Jerin Jacob Kollanukkaran
Following documentation patch moved to rc4: https://patches.dpdk.org/project/dpdk/list/?series=20554&state=* The following changes since commit d4fb4eb08725a3e667042c1f5cd3ed72b94505a7: power: remove unused poll counter (2021-11-12 15:43:49 +0100) are available in the Git repository at: ht

Re: [PATCH v2] event/dlb2: fix delayed_pop test in dlb2_selftest

2021-11-15 Thread Jerin Jacob
On Mon, Nov 15, 2021 at 10:04 PM Rashmi Shetty wrote: > > Number of events scheduled and available for dequeue > after token pop was set to dequeue_depth-1 instead of > dequeue_depth in test_delayed_pop. The expectation is > that all dequeue_depth number of events can be dequeued > once the last e

RE: [PATCH 1/5] net/mlx5: fix VXLAN-GPE next protocol translation

2021-11-15 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Gregory Etelson > Sent: Sunday, November 14, 2021 5:36 PM > To: dev@dpdk.org; Gregory Etelson > Cc: Matan Azrad ; Raslan Darawsheh > ; sta...@dpdk.org; Slava Ovsiienko > ; Raslan Darawsheh > Subject: [PATCH 1/5] net/mlx5: fix VXLAN-GPE next protocol tran

RE: [PATCH v2] vhost: fix packed ring descriptor update in async enqueue

2021-11-15 Thread Xia, Chenbo
> -Original Message- > From: Hu, Jiayu > Sent: Wednesday, November 10, 2021 8:40 PM > To: dev@dpdk.org > Cc: maxime.coque...@redhat.com; Xia, Chenbo ; He, > Xingguang ; Hu, Jiayu > Subject: [PATCH v2] vhost: fix packed ring descriptor update in async enqueue > > If the packet uses multip

RE: [EXT] RE: [PATCH v2] examples/l3fwd: fix jumbo packet drop issue

2021-11-15 Thread Rohit Raj
> -Original Message- > From: Ananyev, Konstantin > Sent: Friday, November 12, 2021 3:11 PM > To: Rohit Raj ; dev@dpdk.org; Yigit, Ferruh > > Cc: Nipun Gupta ; Sachin Saxena > ; Vanshika Shukla > Subject: [EXT] RE: [PATCH v2] examples/l3fwd: fix jumbo packet drop issue > > Caution: EXT E

Re: [dpdk-dev] [PATCH v4] examples/l3fwd: ipv4 and udp/tcp cksum verification through software

2021-11-15 Thread Usama Nadeem
Hi Walsh, Conor , This, I agree, should be done for LPM, FIB, and EM. Only LPM is completed in this patch. For the time being, you can think about this one. I will look into FIB and EM in separate patches. Thanks -usama On Thu, Nov 4,

Re: [dpdk-dev] [PATCH v4] examples/l3fwd: ipv4 and udp/tcp cksum verification through software

2021-11-15 Thread Usama Nadeem
Hi Medvedkin, Vladimir, Thank you for your suggestions. Two counters aren't really necessary. We also don't need the "dropped" variable. "continue" can also be used to implement logic. We will update the logic in the next patch version. This patch supports only IPV4 packets in LPM. It does not s

Re: [dpdk-dev] [PATCH v4] examples/l3fwd: ipv4 and udp/tcp cksum verification through software

2021-11-15 Thread Usama Nadeem
Hi Ananyev, Konstantin , Yes, you understand it right. The approach you discussed, we have been doing the same thing in our patch. At first, we check the HW offload capabilities. > + if (dev_info.rx_offload_capa & DEV_RX_OFFLOAD_IPV4_CKSU

Re: [PATCH 5/7] drivers/net: fix unused but set variables

2021-11-15 Thread Ajit Khaparde
On Mon, Nov 15, 2021 at 8:58 PM Somnath Kotur wrote: > > On Mon, Nov 15, 2021 at 2:58 PM David Marchand > wrote: > > > > Hello Ajit, Somnath, > > > > On Fri, Nov 12, 2021 at 3:02 PM Conor Walsh wrote: > > > > > > This patch fixes unused but set variables in the following net drivers: > > > - bn

Re: [PATCH 5/7] drivers/net: fix unused but set variables

2021-11-15 Thread Somnath Kotur
On Mon, Nov 15, 2021 at 2:58 PM David Marchand wrote: > > Hello Ajit, Somnath, > > On Fri, Nov 12, 2021 at 3:02 PM Conor Walsh wrote: > > > > This patch fixes unused but set variables in the following net drivers: > > - bnxt > > - hinic > > - liquidio > > - nfp > > - octeontx > > - qede > >

[PATCH v1] examples/l3fwd-power: add wakeup log

2021-11-15 Thread Miao Li
This patch adds a log in main telemetry loop to show the thread is waked up and begins to send and receive packets. Signed-off-by: Miao Li --- examples/l3fwd-power/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c index 6988a0

RE: [PATCH v3] net/ice: fix secondary process Rx offload path

2021-11-15 Thread Zhang, Qi Z
> -Original Message- > From: Sun, QinX > Sent: Tuesday, November 16, 2021 11:09 AM > To: Zhang, AlvinX ; Zhang, Qi Z > ; Rong, Leyi > Cc: dev@dpdk.org; Zhang, AlvinX ; sta...@dpdk.org > Subject: RE: [PATCH v3] net/ice: fix secondary process Rx offload path > > > -Original Message-

RE: [PATCH v3] net/ice: fix secondary process Rx offload path

2021-11-15 Thread Sun, QinX
> -Original Message- > From: Alvin Zhang > Sent: Tuesday, November 16, 2021 10:32 AM > To: Zhang, Qi Z ; Rong, Leyi > Cc: dev@dpdk.org; Zhang, AlvinX ; > sta...@dpdk.org > Subject: [PATCH v3] net/ice: fix secondary process Rx offload path > > Secondary process depends on the vector offlo

[PATCH v3] net/ice: fix secondary process Rx offload path

2021-11-15 Thread Alvin Zhang
Secondary process depends on the vector offload flag to select right Rx offload path. This patch adds a variable in share memory to store the vector offload flag that can be directly read by secondary process. Fixes: 808a17b3c1e6 ("net/ice: add Rx AVX512 offload path") Cc: sta...@dpdk.org Signed-

RE: [PATCH v2] net/ice: fix secondary process Rx offload path

2021-11-15 Thread Zhang, AlvinX
> -Original Message- > From: Zhang, Qi Z > Sent: Tuesday, November 16, 2021 9:22 AM > To: Zhang, AlvinX ; Rong, Leyi > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: RE: [PATCH v2] net/ice: fix secondary process Rx offload path > > > > > -Original Message- > > From: Zhang, AlvinX

RE: [dpdk-dev] [PATCH] doc: update release notes for DCF reset API

2021-11-15 Thread Zhang, Qi Z
> -Original Message- > From: dev On Behalf Of dapengx...@intel.com > Sent: Wednesday, November 10, 2021 4:59 PM > Cc: dev@dpdk.org; Yigit, Ferruh ; Yu, DapengX > > Subject: [dpdk-dev] [PATCH] doc: update release notes for DCF reset API > > From: Dapeng Yu > > The ice DCF device rese

Re: [PATCH 1/2] net/hns3: optimized Tx performance by mbuf fast free

2021-11-15 Thread Min Hu (Connor)
Hi, Ferruh, fixed in v2, thanks. 在 2021/11/16 1:30, Ferruh Yigit 写道: On 11/11/2021 1:38 PM, Min Hu (Connor) wrote: From: Chengwen Feng Currently the vector and simple xmit algorithm don't support multi_segs, so if Tx offload support MBUF_FAST_FREE, driver could invoke rte_mempool_put_bulk() t

[PATCH v2 1/2] net/hns3: optimized Tx performance by mbuf fast free

2021-11-15 Thread Min Hu (Connor)
From: Chengwen Feng Currently the vector and simple xmit algorithm don't support multi_segs, so if Tx offload support MBUF_FAST_FREE, driver could invoke rte_mempool_put_bulk() to free Tx mbufs in this situation. In the testpmd single core MAC forwarding scenario, the performance is improved by

[PATCH v2 2/2] net/hns3: optimized Tx performance

2021-11-15 Thread Min Hu (Connor)
From: Chengwen Feng This patch uses tx_free_thresh to control mbufs free when the common xmit algorithm is used. This patch also modifies the implementation of PMD's tx_done_cleanup because the mbuf free algorithm changed. In the testpmd single core MAC forwarding scenario, the performance is i

[PATCH v2 0/2] performance optimized for hns3 PMD

2021-11-15 Thread Min Hu (Connor)
This patch set contains two ways to optimized Tx performance. Chengwen Feng (2): net/hns3: optimized Tx performance by mbuf fast free net/hns3: optimized Tx performance doc/guides/nics/features/hns3.ini | 1 + drivers/net/hns3/hns3_rxtx.c | 129 +++--- drivers/

RE: [PATCH v2] net/ice: fix secondary process Rx offload path

2021-11-15 Thread Zhang, Qi Z
> -Original Message- > From: Zhang, AlvinX > Sent: Monday, November 15, 2021 10:06 AM > To: Zhang, Qi Z ; Rong, Leyi > Cc: dev@dpdk.org; Zhang, AlvinX ; sta...@dpdk.org > Subject: [PATCH v2] net/ice: fix secondary process Rx offload path > > Secondary process depends on the vector off

Re: [dpdk-dev] [PATCH 1/3] app/testpmd: fix port status of active slave device

2021-11-15 Thread lihuisong (C)
在 2021/11/15 21:01, Singh, Aman Deep 写道: On 10/25/2021 12:09 PM, Min Hu (Connor) wrote: From: Huisong Li Stopping a bond device also stops all active slaves under the bond device. If this port is bond device, we need to modify the port status of all slaves from RTE_PORT_STARTED to RTE_PORT

RE: [PATCH] net/ice/base: fix wrong defines of GTPU UL/DL flag

2021-11-15 Thread Zhang, Qi Z
> -Original Message- > From: Guo, Junfeng > Sent: Friday, November 12, 2021 4:50 PM > To: Zhang, Qi Z ; Wu, Jingjing ; > Xing, Beilei > Cc: dev@dpdk.org; sta...@dpdk.org; Yigit, Ferruh ; > Guo, Junfeng ; Xu, Ting > Subject: [PATCH] net/ice/base: fix wrong defines of GTPU UL/DL flag >

ethdev: hide internal structures

2021-11-15 Thread Tyler Retzlaff
hi folks, I don't understand the text of this change. would you mind explaining? commit f9bdee267ab84fd12dc288419aba341310b6ae08 Author: Konstantin Ananyev Date: Wed Oct 13 14:37:04 2021 +0100 ethdev: hide internal structures +* ethdev: Made ``rte_eth_

[PATCH v5] test/bpf_convert: do not require DNS lookup

2021-11-15 Thread Stephen Hemminger
These tests were using strings with hostname (dpdk.org) and this makes test code do a DNS lookup. In container environment used for OpenSuse build, DNS is unavailable. Replace dpdk.org with an IPv4 address reserved for documentation (RFC5737) and use IPv6 in one example (RFC3849). Actual addresses

[PATCH v4] test/bpf_convert: do not require DNS lookup

2021-11-15 Thread Stephen Hemminger
These tests were using strings with hostname (dpdk.org) and this makes test code do a DNS lookup. In container environment used for OpenSuse build, DNS is unavailable. Replace dpdk.org with an IPv4 address reserved for documentation (RFC5737) and use IPv6 in one example (RFC3849). Actual addresses

[PATCH v3] checkpatches: suppress warning about strlcpy

2021-11-15 Thread Stephen Hemminger
Current version of Linux kernel checkpatch now complains about usages of strlcpy because the Linux kernel prefers strcspy. WARNING:STRLCPY: Prefer strscpy over strlcpy But DPDK project allows strlcpy, therefore suppress the warning. Signed-off-by: Stephen Hemminger Acked-by: Bruce Richardson -

Re: [dpdk-dev] [PATCH] kni: remove non-C11 path from FIFO sync

2021-11-15 Thread Ferruh Yigit
On 8/19/2021 7:04 AM, Joyce Kong wrote: Non-C11 path was meant to not break build with GCC version < 4.7(when C11 atomics were introduced), while now minimum GCC version supported by DPDK has been 4.9, C11 atomics support in compiler is no longer a problem. So non-C11 path can be removed. As fa

[PATCH v3] test/bpf_convert: do not require DNS lookup

2021-11-15 Thread Stephen Hemminger
These tests were using strings with hostname (dpdk.org) and this makes test code do a DNS lookup. In container environment used for OpenSuse build, DNS is unavailable. Replace dpdk.org with an IPv4 address reserved for documentation (RFC 5737) and use IPv6 in one example (RFC 3849). Actual addresse

[PATCH v2] checkpatches: suppress warning about strlcpy

2021-11-15 Thread Stephen Hemminger
Current version of Linux kernel checkpatch now complains about usages of strlcpy because the Linux kernel perfers strcspy. WARNING:STRLCPY: Prefer strscpy over strlcpy But DPDK project allows strlcpy, therefore suppress the warning. Signed-off-by: Stephen Hemminger Acked-by: Bruce Richardson -

[PATCH v2] eal/ppc: support ASan

2021-11-15 Thread David Christensen
Add support for Address Sanitizer (ASan) for PPC/POWER architecture. Signed-off-by: David Christensen --- v2: Removed architecture test, modified programmer's guide text config/meson.build | 2 +- doc/guides/prog_guide/asan.rst | 6 +++--- lib/eal/common/malloc_elem.h | 2 ++ 3 fi

Re: [PATCH] eal/ppc: support ASan

2021-11-15 Thread David Marchand
On Mon, Nov 15, 2021 at 7:41 PM David Christensen wrote: > > Add support for Address Sanitizer (ASan) for PPC/POWER architecture. > > Signed-off-by: David Christensen > --- > config/meson.build | 2 +- > doc/guides/prog_guide/asan.rst | 4 ++-- > lib/eal/common/malloc_elem.h | 2 ++

Re: [dpdk-dev] [PATCH v2] app/testpmd: fix gtp psc extension header length

2021-11-15 Thread Ferruh Yigit
On 11/4/2021 9:40 AM, Raslan Darawsheh wrote: Current implementation for raw encap sets the length to be in bytes, but, GTP 'extension' header length is an 8-bit field in 4-octet units. This fixes the length calculation of the header length. Fixes: 9213c50e36fa ("app/testpmd: support GTP PSC op

Re: [PATCH V2] app/testpmd: fix parameters order when calling rte_ether_addr_copy()

2021-11-15 Thread Ferruh Yigit
On 11/11/2021 2:29 AM, Xu, Wei1 wrote: Running in 'csum' mode, the 'from' and 'to' parameters are not in the correct order when calling rte_ether_addr_copy() which means the 'src/dst' mac addresses in the mbuf will be overwriten. Hi Wei, Original code looks good. What are you trying to fix ex

[PATCH] eal/ppc: support ASan

2021-11-15 Thread David Christensen
Add support for Address Sanitizer (ASan) for PPC/POWER architecture. Signed-off-by: David Christensen --- config/meson.build | 2 +- doc/guides/prog_guide/asan.rst | 4 ++-- lib/eal/common/malloc_elem.h | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/config/m

[PATCH 2/2] net/bnxt: remove software prefetches from AVX2 Rx path

2021-11-15 Thread Lance Richardson
Testing has shown no performance benefit from software prefetching of receive completion descriptors in the AVX2 burst receive path, and slightly better performance without them on some CPU families, so this patch removes them. Fixes: c4e4c18963b0 ("net/bnxt: add AVX2 RX/Tx") Cc: sta...@dpdk.org S

[PATCH 1/2] net/bnxt: avoid unnecessary work in AVX2 Rx path

2021-11-15 Thread Lance Richardson
Each call to the AVX2 vector burst receive function makes at least one pass through the function's inner loop, loading 256 bytes of completion descriptors and copying 8 rte_mbuf pointers regardless of whether there are any packets to be received. Unidirectional forwarding performance is improved b

[PATCH 0/2] net/bnxt: minor performance fixes for AVX2 Rx

2021-11-15 Thread Lance Richardson
This series contains two minor performance fixes for the bnxt AVX2 vecgtorized burst receive function. Lance Richardson (2): net/bnxt: avoid unnecessary work in AVX2 Rx path net/bnxt: remove software prefetches from AVX2 Rx path drivers/net/bnxt/bnxt_rxtx_vec_avx2.c | 16 +++- 1

Re: [dpdk-dev] [PATCH v5 1/4] doc: add skeleton for eventdevs feature matrices

2021-11-15 Thread Jerin Jacob
On Fri, Oct 22, 2021 at 1:18 PM wrote: > > From: Sunil Kumar Kori > > Patch adds skeleton for feature matrices for event dev > and Rx/Tx adapters. > > Along with, .ini files are added for all supported PMDs. > > Signed-off-by: Sunil Kumar Kori Please fix the below. doc out of sync for dsw

[PATCH 6/6] examples/performance-thread: fix unused but set variables

2021-11-15 Thread Conor Walsh
This patch removes the hits variable from the cpu_load_collector function within the performance thread example app as it is an unused but set variable. Bugzilla ID: 881 Fixes: d48415e1fee3 ("examples/performance-thread: add l3fwd-thread app") Cc: sta...@dpdk.org Reported-by: Liang Longfeng Sign

[PATCH 5/6] drivers/net: fix unused but set variables

2021-11-15 Thread Conor Walsh
This patch fixes unused but set variables in the following net drivers: - bnxt - hinic - liquidio - nfp - octeontx - qede - txgbe - vmxnet3 Bugzilla ID: 881 Fixes: b87abb2e55cb ("net/bnxt: support marking packet") Fixes: 88badb3aef94 ("net/bnxt: add helper functions for blob/regfile ops")

[PATCH 3/6] drivers/common/qat: fix unused but set variables

2021-11-15 Thread Conor Walsh
This patch removes the us variable from the qat_pf2vf_exch_msg function within the PF to VF section of the QAT driver as it is an unused but set variable. Bugzilla ID: 881 Fixes: b17d16fb47b4 ("common/qat: add PF to VF communication") Cc: sta...@dpdk.org Reported-by: Liang Longfeng Signed-off-by

[PATCH 4/6] drivers/event/sw: fix unused but set variables

2021-11-15 Thread Conor Walsh
This patch removes the inflights variable from the sw_dump function within the software section of the event driver as it is an unused but set variable. Bugzilla ID: 881 Fixes: c66baa68e453 ("event/sw: add dump function for easier debugging") Cc: sta...@dpdk.org Reported-by: Liang Longfeng Signe

[PATCH 2/6] drivers/bus/fslmc: fix unused but set variables

2021-11-15 Thread Conor Walsh
This patch removes the device_count variable from the rte_fslmc_scan function within the fslmc bus driver as it is an unused but set variable. Bugzilla ID: 881 Fixes: 828d51d8fc3e ("bus/fslmc: refactor scan and probe functions") Cc: sta...@dpdk.org Reported-by: Liang Longfeng Signed-off-by: Cono

[PATCH 1/6] app/test: fix unused but set variables

2021-11-15 Thread Conor Walsh
This patch fixes unused but set variables within the following test apps: - test distributor perf - test thash perf Bugzilla ID: 881 Fixes: c0de0eb82e40 ("distributor: switch over to new API") Fixes: 239fffe0402e ("test/thash: add performance tests for Toeplitz hash") Cc: sta...@dpdk.org Report

[PATCH 0/6] fix unused but set variables

2021-11-15 Thread Conor Walsh
When DPDK is compiled with clang 13, several warnings for unused but set variables are present. This patchset fixes these warnings, which were present within: - app/test - drivers/bus/fslmc - drivers/common/qat - drivers/event/sw - drivers/net - examples/performance-thread This patchset is

RE: release schedule change proposal

2021-11-15 Thread Asaf Penso
>-Original Message- >From: Jerin Jacob >Sent: Monday, November 15, 2021 5:39 PM >To: Luca Boccassi >Cc: NBU-Contact-Thomas Monjalon ; dpdk-dev >; us...@dpdk.org >Subject: Re: release schedule change proposal > >On Mon, Nov 15, 2021 at 8:42 PM Luca Boccassi wrote: >> >> On Mon, 2021-11-15

Re: [dpdk-dev] [PATCH] ethdev: fine tune error reporting in pick transfer proxy API

2021-11-15 Thread Ivan Malov
On Wed, 10 Nov 2021, Ferruh Yigit wrote: On 11/2/2021 5:04 PM, David Marchand wrote: On Tue, Nov 2, 2021 at 4:59 PM Andrew Rybchenko wrote: IMHO, spamming of testpmd logs in described case should be fixed in testpmd itself to avoid logs in the case of ENOTSUP. That's it. I think we should n

Re: [PATCH 2/2] net/hns3: optimized Tx performance

2021-11-15 Thread Ferruh Yigit
On 11/11/2021 1:38 PM, Min Hu (Connor) wrote: From: Chengwen Feng The PMD should check whether the descriptor is done by hardware before free the corresponding mbuf. Currently the common xmit algorithm will free mbuf every time when it's invoked. Because hardware may not have finished sending, t

Re: [PATCH 1/2] net/hns3: optimized Tx performance by mbuf fast free

2021-11-15 Thread Ferruh Yigit
On 11/11/2021 1:38 PM, Min Hu (Connor) wrote: From: Chengwen Feng Currently the vector and simple xmit algorithm don't support multi_segs, so if Tx offload support MBUF_FAST_FREE, driver could invoke rte_mempool_put_bulk() to free Tx mbufs in this situation. In the testpmd single core MAC forw

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

2021-11-15 Thread Liguzinski, WojciechX
Hi, Sure, I will have a look. Best Regards, Wojciech -Original Message- From: Dumitrescu, Cristian Sent: Monday, November 15, 2021 12:51 PM To: David Marchand ; Lincoln Lavoie ; Liguzinski, WojciechX ; Ajmera, Megha ; Singh, Jasvinder Cc: dev ; Aaron Conole ; Thomas Monjalon ; Yi

Re: release schedule change proposal

2021-11-15 Thread Shepard Siegel
> Opinions? Atomic Rules has been releasing our Arkville product in lockstep with DPDK for the past 19 quarters. Our FPGA solution has the added burden of testing with async releases of FPGA vendor CAD tools. Although we have gotten used to the quarterly cadence, for the reasons given by Thomas an

Re: [PATCH 1/2] net/af_xdp: revert use BPF link for XDP programs

2021-11-15 Thread Ferruh Yigit
On 11/12/2021 10:30 AM, Ciara Loftus wrote: The commit ae70cc6e893b ("net/af_xdp: use BPF link for XDP programs") caused compilation errors on kernels older than v5.8 due to absence of the bpf_link_info struct and some definitions in the linux/bpf.h header. Since relying on the reported kernel ve

Re: release schedule change proposal

2021-11-15 Thread Stephen Hemminger
On Mon, 15 Nov 2021 15:58:15 +0100 Thomas Monjalon wrote: > For the last 5 years, DPDK was doing 4 releases per year, > in February, May, August and November (the LTS one): > .02 .05 .08 .11 (LTS) > > This schedule has multiple issues: > - clash with China's Spring Festival >

Re: [PATCH] ethdev: fix typos

2021-11-15 Thread Ferruh Yigit
On 11/15/2021 8:32 AM, Ori Kam wrote: Hi -Original Message- From: Ferruh Yigit Sent: Friday, November 12, 2021 2:14 PM Subject: [PATCH] ethdev: fix typos Signed-off-by: Ferruh Yigit Acked-by: Ori Kam Fixes: 9039c8125730 ("ethdev: change promiscuous callbacks to return stat

[PATCH v2] event/dlb2: fix delayed_pop test in dlb2_selftest

2021-11-15 Thread Rashmi Shetty
Number of events scheduled and available for dequeue after token pop was set to dequeue_depth-1 instead of dequeue_depth in test_delayed_pop. The expectation is that all dequeue_depth number of events can be dequeued once the last event is released. Fixes: a10e8e96865f ("event/dlb2: add delayed to

Re: [PATCH v3] app/testpmd: fix DCB in VT configuration

2021-11-15 Thread Ferruh Yigit
On 11/15/2021 12:46 PM, Singh, Aman Deep wrote: On 11/15/2021 8:59 AM, Jie Wang wrote: When set port DCB in VT mode enabled, it should remove RSS HASH offload before reconfiguring the device and queues. Because port multi-queue mode is changed from RSS to DCB in VT. Fixes: 2a977b891f99 ("app/

Re: release schedule change proposal

2021-11-15 Thread Kevin Traynor
On 15/11/2021 14:58, Thomas Monjalon wrote: For the last 5 years, DPDK was doing 4 releases per year, in February, May, August and November (the LTS one): .02 .05 .08 .11 (LTS) This schedule has multiple issues: - clash with China's Spring Festival - too many rushes

Re: [PATCH v2] net/szedata2: remove driver

2021-11-15 Thread Ferruh Yigit
On 11/11/2021 9:26 AM, Ferruh Yigit wrote: On 11/11/2021 9:08 AM, Martin Spinler wrote: On Wed, 2021-11-10 at 16:08 +, Ferruh Yigit wrote: On 11/10/2021 3:39 PM, Martin Spinler wrote: Remove the szedata2 device driver as the platform is no longer supported. Signed-off-by: Martin Spinler

Re: release schedule change proposal

2021-11-15 Thread Jerin Jacob
On Mon, Nov 15, 2021 at 8:42 PM Luca Boccassi wrote: > > On Mon, 2021-11-15 at 15:58 +0100, Thomas Monjalon wrote: > > For the last 5 years, DPDK was doing 4 releases per year, > > in February, May, August and November (the LTS one): > > .02 .05 .08 .11 (LTS) > > > > This schedule has

RE: [dpdk-dev] [PATCH] ethdev: fine tune error reporting in pick transfer proxy API

2021-11-15 Thread Ori Kam
> -Original Message- > From: Thomas Monjalon > Sent: Monday, November 15, 2021 5:09 PM > Subject: Re: [dpdk-dev] [PATCH] ethdev: fine tune error reporting in pick > transfer proxy API > > 15/11/2021 15:15, Ivan Malov: > > On Wed, 10 Nov 2021, Ferruh Yigit wrote: > > > > > On 11/2/2021

Re: [PATCH v2] net/nfb: update links in documentation

2021-11-15 Thread Ferruh Yigit
On 11/11/2021 6:39 AM, Martin Spinler wrote: On Wed, 2021-11-10 at 16:12 +, Ferruh Yigit wrote: On 11/10/2021 3:39 PM, Martin Spinler wrote: Update the software dependency link because of website shutdown. Netcope Technologies was recently renamed to Magmio and no longer provides packages

Re: [PATCH v1] app/testpmd: avoid the process ID out of range

2021-11-15 Thread Ferruh Yigit
On 11/15/2021 8:56 AM, Min Hu (Connor) wrote: 在 2021/11/15 14:05, Haiyue Wang 写道: The 'proc-id' should be less than 'num-procs', if not, exit the testpmd and show the error message. Fixes: a550baf24af9 ("app/testpmd: support multi-process") Signed-off-by: Haiyue Wang > Acked-by: Min Hu (Co

Re: release schedule change proposal

2021-11-15 Thread Luca Boccassi
On Mon, 2021-11-15 at 15:58 +0100, Thomas Monjalon wrote: > For the last 5 years, DPDK was doing 4 releases per year, > in February, May, August and November (the LTS one): > .02 .05 .08 .11 (LTS) > > This schedule has multiple issues: > - clash with China's Spring Festival >

Re: [dpdk-dev] [PATCH] ethdev: fine tune error reporting in pick transfer proxy API

2021-11-15 Thread Thomas Monjalon
15/11/2021 15:15, Ivan Malov: > On Wed, 10 Nov 2021, Ferruh Yigit wrote: > > > On 11/2/2021 5:04 PM, David Marchand wrote: > >> On Tue, Nov 2, 2021 at 4:59 PM Andrew Rybchenko > >> wrote: > > IMHO, spamming of testpmd logs in described case should be fixed > > in testpmd itself to avoid l

Re: [PATCH v11 0/5] drivers/net: add NXP ENETFEC driver

2021-11-15 Thread Ferruh Yigit
On 11/15/2021 7:19 AM, Apeksha Gupta wrote: This patch series introduce the enetfec driver, ENETFEC (Fast Ethernet Controller) is a network poll mode driver for the inbuilt NIC found in the NXP i.MX 8M Mini SoC. An overview of the enetfec driver with probe and remove are in patch 1. Patch 2 desi

release schedule change proposal

2021-11-15 Thread Thomas Monjalon
For the last 5 years, DPDK was doing 4 releases per year, in February, May, August and November (the LTS one): .02 .05 .08 .11 (LTS) This schedule has multiple issues: - clash with China's Spring Festival - too many rushes, impacting maintainers & testers - no

[PATCH v1] app/test-gpudev: improve tests' output

2021-11-15 Thread eagostini
From: Elena Agostini Signed-off-by: Elena Agostini --- app/test-gpudev/main.c | 90 ++ 1 file changed, 55 insertions(+), 35 deletions(-) diff --git a/app/test-gpudev/main.c b/app/test-gpudev/main.c index 1db3f69e10..e42133b3aa 100644 --- a/app/test-gpude

[PATCH v2] net/mlx5: fix missing RSS validation with meter policy

2021-11-15 Thread Bing Zhao
The RSS can be one of the fate actions when creating a meter with policy. In the previous implementation, the RSS validation was missed when creating a flow rule with such meter due to the fact that a policy meter was created firstly and then used in the rule. In the stage of meter creation, no rte

[PATCH v5 1/1] gpu/cuda: introduce CUDA driver

2021-11-15 Thread eagostini
From: Elena Agostini This is the CUDA implementation of the gpudev library. Funcitonalities implemented through CUDA Driver API are: - Device probe and remove - Manage device memory allocations - Register/unregister external CPU memory in the device memory area Signed-off-by: Elena Agostini --

[PATCH v5 0/1] gpu/cuda: introduce CUDA driver

2021-11-15 Thread eagostini
From: Elena Agostini This is the CUDA implementation of the gpudev library. Funcitonalities implemented through CUDA Driver API are: - Device probe and remove - Manage device memory allocations - Register/unregister external CPU memory in the device memory area Changelog: - CUDA driver implemen

[PATCH v6 11/11] devtools: check event device doc tables

2021-11-15 Thread skori
From: Sunil Kumar Kori In this commit, check is added for event device, Rx, Tx, Crypto and Timer adapters tables for all supported drivers. Signed-off-by: Sunil Kumar Kori --- v6: - Rebased to 21.11 rc2 - Added feature matrices for all supported drivers - Added doc vs code check script v5:

[PATCH v6 10/11] doc: update eventdev feature matrix for dsw

2021-11-15 Thread skori
From: Sunil Kumar Kori Patch updates eventdev and adapters feature matrices for dsw platform. Signed-off-by: Sunil Kumar Kori --- v6: - Rebased to 21.11 rc2 - Added feature matrices for all supported drivers - Added doc vs code check script v5: - Rebased to 21.11 - Added feature matrix f

[PATCH v6 09/11] doc: update eventdev feature matrix for opdl

2021-11-15 Thread skori
From: Sunil Kumar Kori Patch updates eventdev and adapters feature matrices for opdl platform. Signed-off-by: Sunil Kumar Kori --- v6: - Rebased to 21.11 rc2 - Added feature matrices for all supported drivers - Added doc vs code check script v5: - Rebased to 21.11 - Added feature matrix

[PATCH v6 08/11] doc: update eventdev feature matrix for SW

2021-11-15 Thread skori
From: Sunil Kumar Kori Patch updates eventdev and adapters feature matrices for sw platform. Signed-off-by: Sunil Kumar Kori --- v6: - Rebased to 21.11 rc2 - Added feature matrices for all supported drivers - Added doc vs code check script v5: - Rebased to 21.11 - Added feature matrix fo

[PATCH v6 07/11] doc: update eventdev feature matrix for dpaa2

2021-11-15 Thread skori
From: Sunil Kumar Kori Patch updates eventdev and adapters feature matrices for dpaa2 platform. Signed-off-by: Sunil Kumar Kori --- v6: - Rebased to 21.11 rc2 - Added feature matrices for all supported drivers - Added doc vs code check script v5: - Rebased to 21.11 - Added feature matrix

[PATCH v6 06/11] doc: update eventdev feature matrix for dpaa

2021-11-15 Thread skori
From: Sunil Kumar Kori Patch updates eventdev and adapters feature matrices for dpaa platform. Signed-off-by: Sunil Kumar Kori --- v6: - Rebased to 21.11 rc2 - Added feature matrices for all supported drivers - Added doc vs code check script v5: - Rebased to 21.11 - Added feature matrix

[PATCH v6 05/11] doc: update eventdev feature matrix for cn10k

2021-11-15 Thread skori
From: Sunil Kumar Kori Patch updates eventdev and adapters feature matrices for cn10k platform. Signed-off-by: Sunil Kumar Kori --- v6: - Rebased to 21.11 rc2 - Added feature matrices for all supported drivers - Added doc vs code check script v5: - Rebased to 21.11 - Added feature matrix

[PATCH v6 04/11] doc: update eventdev feature matrix for cn9k

2021-11-15 Thread skori
From: Sunil Kumar Kori Patch updates eventdev and adapters feature matrices for cn9k platform. Signed-off-by: Sunil Kumar Kori --- v6: - Rebased to 21.11 rc2 - Added feature matrices for all supported drivers - Added doc vs code check script v5: - Rebased to 21.11 - Added feature matrix

[PATCH v6 03/11] doc: update eventdev feature matrix for octeontx2

2021-11-15 Thread skori
From: Sunil Kumar Kori Patch updates eventdev and adapters feature matrices for octeontx2 platform. Signed-off-by: Sunil Kumar Kori --- v6: - Rebased to 21.11 rc2 - Added feature matrices for all supported drivers - Added doc vs code check script v5: - Rebased to 21.11 - Added feature ma

[PATCH v6 02/11] doc: update eventdev feature matrix for octeontx

2021-11-15 Thread skori
From: Sunil Kumar Kori Patch updates eventdev and adapters feature matrices for octeontx platform. Signed-off-by: Sunil Kumar Kori --- v6: - Rebased to 21.11 rc2 - Added feature matrices for all supported drivers - Added doc vs code check script v5: - Rebased to 21.11 - Added feature mat

[PATCH v6 01/11] doc: add skeleton for eventdevs feature matrices

2021-11-15 Thread skori
From: Sunil Kumar Kori Patch adds skeleton for feature matrices for event dev and Rx/Tx adapters. Along with, .ini files are added for all supported PMDs. Signed-off-by: Sunil Kumar Kori --- v6: - Rebased to 21.11 rc2 - Added feature matrices for all supported drivers - Added doc vs code ch

Re: [dpdk-dev] [PATCH 1/3] app/testpmd: fix port status of active slave device

2021-11-15 Thread Singh, Aman Deep
On 10/25/2021 12:09 PM, Min Hu (Connor) wrote: From: Huisong Li Stopping a bond device also stops all active slaves under the bond device. If this port is bond device, we need to modify the port status of all slaves from RTE_PORT_STARTED to RTE_PORT_STOPPED. Fixes: 0e545d3047fe ("app/testpmd:

Re: [PATCH v3] app/testpmd: fix DCB in VT configuration

2021-11-15 Thread Singh, Aman Deep
On 11/15/2021 8:59 AM, Jie Wang wrote: When set port DCB in VT mode enabled, it should remove RSS HASH offload before reconfiguring the device and queues. Because port multi-queue mode is changed from RSS to DCB in VT. Fixes: 2a977b891f99 ("app/testpmd: fix DCB configuration") Signed-off-by:

[PATCH v4] vhost: fix physical address mapping

2021-11-15 Thread Xuan Ding
When choosing IOVA as PA mode, IOVA is likely to be discontinuous, which requires page by page mapping for DMA devices. To be consistent, this patch implements page by page mapping instead of mapping at the region granularity for both IOVA as VA and PA mode. Fixes: 7c61fa08b716 ("vhost: enable IOM

RE: [PATCH v3] vhost: fix physical address mapping

2021-11-15 Thread Xia, Chenbo
> -Original Message- > From: Ding, Xuan > Sent: Monday, November 15, 2021 4:13 PM > To: Xia, Chenbo ; maxime.coque...@redhat.com > Cc: dev@dpdk.org; Hu, Jiayu ; Wang, YuanX > ; He, Xingguang ; Burakov, > Anatoly > Subject: RE: [PATCH v3] vhost: fix physical address mapping > > Hi Chenbo,

[PATCH] net/iavf: fix VLAN insertion

2021-11-15 Thread Radu Nicolau
Fix wrong VLAN insertion position as inner. Fixes: 1e728b01120c ("net/iavf: rework Tx path") Signed-off-by: Radu Nicolau --- drivers/net/iavf/iavf_rxtx.c | 50 1 file changed, 34 insertions(+), 16 deletions(-) diff --git a/drivers/net/iavf/iavf_rxtx.c b/driv

RE: [PATCH] test/red: fix typo in comment

2021-11-15 Thread Dumitrescu, Cristian
> -Original Message- > From: David Marchand > Sent: Friday, November 12, 2021 1:57 PM > To: dev@dpdk.org > Cc: Dumitrescu, Cristian ; Singh, Jasvinder > > Subject: [PATCH] test/red: fix typo in comment > > This is probably due a s/red/rte_red/ a long time ago. > > Fixes: de3cfa2c9823

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

2021-11-15 Thread Dumitrescu, Cristian
> -Original Message- > From: David Marchand > Sent: Friday, November 12, 2021 2:16 PM > To: Lincoln Lavoie > Cc: Dumitrescu, Cristian ; dev > ; Aaron Conole ; Thomas Monjalon > ; Yigit, Ferruh ; > c...@dpdk.org > Subject: Re: [dpdk-dev] [Bug 826] red_autotest random failures > > On Fri

[PATCH] net/mlx5: fix missing RSS validation with meter policy

2021-11-15 Thread Bing Zhao
The RSS can be one of the fate actions when creating a meter with policy. In the previous implementation, the RSS validation was missed when creating a flow rule with such meter due to the fact that a policy meter was created firstly and then used in the rule. In the stage of meter creation, no rte

Re: [PATCH v11 3/5] net/enetfec: support queue configuration

2021-11-15 Thread Ferruh Yigit
On 11/15/2021 10:24 AM, Ferruh Yigit wrote: On 11/15/2021 10:11 AM, Ferruh Yigit wrote: On 11/15/2021 7:19 AM, Apeksha Gupta wrote: This patch adds Rx/Tx queue configuration setup operations. On packet reception the respective BD Ring status bit is set which is then used for packet processing.

Re: [PATCH v9 3/5] net/enetfec: support queue configuration

2021-11-15 Thread Ferruh Yigit
On 11/15/2021 10:23 AM, Ferruh Yigit wrote: On 11/15/2021 10:06 AM, Ferruh Yigit wrote: On 11/10/2021 1:54 PM, Ferruh Yigit wrote: On 11/10/2021 7:48 AM, Apeksha Gupta wrote: This patch adds Rx/Tx queue configuration setup operations. On packet reception the respective BD Ring status bit is se

  1   2   >