[dpdk-dev] [Bug 757] fast-tests failures in an Ubuntu autopkgtest environment hash_autotest, per_lcore_autotest, rcu_qsbr_autotest, table_autotest

2021-07-16 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=757 Bug ID: 757 Summary: fast-tests failures in an Ubuntu autopkgtest environment hash_autotest, per_lcore_autotest, rcu_qsbr_autotest, table_autotest Product: DPDK Version: 2

[dpdk-dev] [Bug 758] Timeouts in fast tests service_autotest, red_autotest

2021-07-16 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=758 Bug ID: 758 Summary: Timeouts in fast tests service_autotest, red_autotest Product: DPDK Version: 20.11 Hardware: All OS: Linux Status: UNCONFIRMED Severity: norma

[dpdk-dev] [PATCH v6 0/4] support async dequeue for split ring

2021-07-16 Thread Wenwu Ma
This patch implements asynchronous dequeue data path for split ring. A new asynchronous dequeue function is introduced. With this function, the application can try to receive packets from the guest with offloading large copies to the DMA engine, thus saving precious CPU cycles. v6: - Allocate and

[dpdk-dev] [PATCH v6 1/4] examples/vhost: refactor vhost enqueue and dequeue datapaths

2021-07-16 Thread Wenwu Ma
Previously, by judging the flag, we call different enqueue/dequeue functions in data path. Now, we use an ops that was initialized when Vhost was created, so that we can call ops directly in Vhost data path without any more flag judgment. Signed-off-by: Wenwu Ma --- examples/vhost/main.c

[dpdk-dev] [PATCH v6 2/4] examples/vhost: use a new API to query remaining ring space

2021-07-16 Thread Wenwu Ma
A new API for querying the remaining descriptor ring capacity is available, so we use the new one instead of the old one. Signed-off-by: Wenwu Ma --- examples/vhost/ioat.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/examples/vhost/ioat.c b/examples/vhost/ioat.c index

[dpdk-dev] [PATCH v6 3/4] vhost: support async dequeue for split ring

2021-07-16 Thread Wenwu Ma
From: Yuan Wang This patch implements asynchronous dequeue data path for split ring. A new asynchronous dequeue function is introduced. With this function, the application can try to receive packets from the guest with offloading large copies to the async channel, thus saving precious CPU cycles.

[dpdk-dev] [PATCH v6 4/4] examples/vhost: support vhost async dequeue data path

2021-07-16 Thread Wenwu Ma
This patch is to add vhost async dequeue data-path in vhost sample. vswitch can leverage IOAT to accelerate vhost async dequeue data-path. Signed-off-by: Wenwu Ma --- doc/guides/sample_app_ug/vhost.rst | 9 +- examples/vhost/ioat.c | 61 ++--- examples/vhost/ioat.h

[dpdk-dev] [PATCH v5 0/5] vhost: handle memory hotplug for async vhost

2021-07-16 Thread Cheng Jiang
When the guest memory is hotplugged, the vhost application which enables DMA acceleration must stop DMA transfers before the vhost re-maps the guest memory. This patch set is to provide an unsafe API to drain in-flight pkts which are submitted to DMA engine in vhost async data path, and notify the

[dpdk-dev] [PATCH v5 1/5] vhost: fix async vhost ops return type

2021-07-16 Thread Cheng Jiang
The async vhost callback ops should return negative value when there are something wrong in the callback, so the return type should be changed into int32_t. The issue in vhost example is also fixed. Fixes: cd6760da1076 ("vhost: introduce async enqueue for split ring") Fixes: 819a71685826 ("vhost:

[dpdk-dev] [PATCH v5 2/5] vhost: add unsafe API to drain pkts in async vhost

2021-07-16 Thread Cheng Jiang
Applications need to stop DMA transfers and finish all the in-flight pkts when in VM memory hot-plug case and async vhost is used. This patch is to provide an unsafe API to drain in-flight pkts which are submitted to DMA engine in vhost async data path. Signed-off-by: Cheng Jiang --- lib/vhost/r

[dpdk-dev] [PATCH v5 3/5] vhost: handle memory hotplug for async vhost

2021-07-16 Thread Cheng Jiang
From: Jiayu Hu When the guest memory is hotplugged, the vhost application which enables DMA acceleration must stop DMA transfers before the vhost re-maps the guest memory. This patch is to notify the vhost application of stopping DMA transfers. Signed-off-by: Jiayu Hu --- lib/vhost/vhost_user

[dpdk-dev] [PATCH v5 4/5] examples/vhost: handle memory hotplug for async vhost

2021-07-16 Thread Cheng Jiang
When the guest memory is hotplugged, the vhost application which enables DMA acceleration must stop DMA transfers before the vhost re-maps the guest memory. To accomplish that, we need to do these changes in the vhost sample: 1. add inflight pkt count. 2. add vring_state_changed() callback. 3. add

[dpdk-dev] [PATCH v5 5/5] doc: update doc for try drain API in vhost lib

2021-07-16 Thread Cheng Jiang
update the program guide and release notes for try drain API in vhost lib. Signed-off-by: Cheng Jiang --- doc/guides/prog_guide/vhost_lib.rst| 5 + doc/guides/rel_notes/release_21_08.rst | 5 + 2 files changed, 10 insertions(+) diff --git a/doc/guides/prog_guide/vhost_lib.rst b/doc

Re: [dpdk-dev] [PATCH v5 3/4] vhost: support async dequeue for split ring

2021-07-16 Thread Maxime Coquelin
Hi, On 7/16/21 3:10 AM, Hu, Jiayu wrote: > Hi, Maxime, > >> -Original Message- >> From: Maxime Coquelin >> Sent: Thursday, July 15, 2021 9:18 PM >> To: Hu, Jiayu ; Ma, WenwuX ; >> dev@dpdk.org >> Cc: Xia, Chenbo ; Jiang, Cheng1 >> ; Wang, YuanX >> Subject: Re: [PATCH v5 3/4] vhost: supp

Re: [dpdk-dev] [PATCH] net/bnxt: update CFA resource types

2021-07-16 Thread Ajit Khaparde
On Thu, Jul 15, 2021 at 3:54 PM Ajit Khaparde wrote: > Update cfa_resource_types.h to add a new entry for compatibility with FW. > > Signed-off-by: Shuanglin Wang > Reviewed-by: Randy Schacher > Reviewed-by: Ajit Khaparde > > Patch applied to dpdk-next-net-brcm. > Signed-off-by: Ajit Khapard

Re: [dpdk-dev] [PATCH v5 3/4] vhost: support async dequeue for split ring

2021-07-16 Thread Hu, Jiayu
> -Original Message- > From: Maxime Coquelin > Sent: Friday, July 16, 2021 3:46 PM > To: Hu, Jiayu ; Ma, WenwuX ; > dev@dpdk.org > Cc: Xia, Chenbo ; Jiang, Cheng1 > ; Wang, YuanX > Subject: Re: [PATCH v5 3/4] vhost: support async dequeue for split ring > > Hi, > > On 7/16/21 3:10 AM,

[dpdk-dev] [PATCH] crypto/octeontx2: fix lookaside IPsec IV pointer

2021-07-16 Thread Tejasree Kondoj
Fixing IV pointer population in lookaside IPsec outbound instruction. Fixes: fab634eb87ca ("crypto/octeontx2: support security session data path") Signed-off-by: Tejasree Kondoj --- drivers/crypto/octeontx2/otx2_ipsec_po_ops.h | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) di

Re: [dpdk-dev] [PATCH v5 3/4] vhost: support async dequeue for split ring

2021-07-16 Thread David Marchand
On Wed, Jul 14, 2021 at 8:50 AM Hu, Jiayu wrote: > > Are we ensuring packets are not reordered with this way of working? > > There is a threshold can be set by users. If set it to 0, which presents all > packet copies assigned to the DMA, the packets sent from the guest will > not be reordered. -

Re: [dpdk-dev] [PATCH v2] net/iavf: fix wrong bandwidth unit in TM capability querying

2021-07-16 Thread Zhang, Qi Z
> -Original Message- > From: Xu, Ting > Sent: Thursday, July 15, 2021 6:36 PM > To: dev@dpdk.org > Cc: Zhang, Qi Z ; Wu, Jingjing ; > Xing, Beilei ; Xu, Ting ; > sta...@dpdk.org > Subject: [PATCH v2] net/iavf: fix wrong bandwidth unit in TM capability > querying > > In IAVF node TM cap

[dpdk-dev] [PATCH 0/7] Refactor the NFP PMD

2021-07-16 Thread Heinrich Kuhn
This patch set restructures the NFP PMD, aligning it more with the common layout adopted by most other PMD's. Although the changes look fairly large, functionally nothing is added or removed from the driver and the existing code is mostly just reorganized into the familiar structure seen in other P

[dpdk-dev] [PATCH 1/7] net/nfp: split rxtx headers into separate file

2021-07-16 Thread Heinrich Kuhn
This change splits out the rx/tx specific structs and defines from the main nfp_net_pmd header file and into their own header file. Signed-off-by: Heinrich Kuhn --- drivers/net/nfp/nfp_net.c | 1 + drivers/net/nfp/nfp_net_pmd.h | 248 -- drivers/net/nfp/nfp_rxtx

[dpdk-dev] [PATCH 2/7] net/nfp: move rxtx functions to their own file

2021-07-16 Thread Heinrich Kuhn
Create a new rxtx file and move the Rx/Tx functions to this file. This commit will also move the needed shared functions to the nfp_net_pmd.h file as needed. Signed-off-by: Heinrich Kuhn --- drivers/net/nfp/meson.build |1 + drivers/net/nfp/nfp_net.c | 1090

[dpdk-dev] [PATCH 3/7] net/nfp: move CPP bridge to a separate file

2021-07-16 Thread Heinrich Kuhn
This commit moves the CPP bridge logic to a separate file. A new corresponding header file is also created. Signed-off-by: Heinrich Kuhn --- drivers/net/nfp/meson.build | 1 + drivers/net/nfp/nfp_cpp_bridge.c | 392 +++ drivers/net/nfp/nfp_cpp_bridge.h | 36 ++

[dpdk-dev] [PATCH 4/7] net/nfp: prototype common functions in header file

2021-07-16 Thread Heinrich Kuhn
The majority of "ethdev" type functions are used for both PF devices and VF devices. Prototype these functions in the nfp_net_pmd header file in preparation of splitting PF and VF specific functions. Signed-off-by: Heinrich Kuhn --- drivers/net/nfp/nfp_net.c | 87 +---

[dpdk-dev] [PATCH 5/7] net/nfp: move VF functions into new file

2021-07-16 Thread Heinrich Kuhn
Move any ethdev functionality specific to VF devices into a new file called nfp_ethdev_vf.c. Signed-off-by: Heinrich Kuhn --- drivers/net/nfp/meson.build | 1 + drivers/net/nfp/nfp_ethdev_vf.c | 504 drivers/net/nfp/nfp_net.c | 42 +-- 3 files change

[dpdk-dev] [PATCH 6/7] net/nfp: move PF functions into new file

2021-07-16 Thread Heinrich Kuhn
Similar to the last commit, this changeset moves all the PF specific functions to a new file called nfp_ethdev.c. Signed-off-by: Heinrich Kuhn --- drivers/net/nfp/meson.build |1 + drivers/net/nfp/nfp_ethdev.c | 1099 ++ drivers/net/nfp/nfp_net.c| 1088 +-

[dpdk-dev] [PATCH 7/7] net/nfp: batch file rename for consistency

2021-07-16 Thread Heinrich Kuhn
Rename the nfp_net.c file to nfp_common as it now contains functions common to VF and PF functionality. Rename the header file too to be consistent. Also remove the "net" naming from the _ctrl and _logs files for consistency across the PMD. Signed-off-by: Heinrich Kuhn --- drivers/net/nfp/meson.

Re: [dpdk-dev] [PATCH v4] app/testpmd: fix testpmd doesn't show RSS hash offload

2021-07-16 Thread Li, Xiaoyun
> -Original Message- > From: stable On Behalf Of Li, Xiaoyun > Sent: Thursday, July 15, 2021 12:54 > To: Wang, Jie1X ; dev@dpdk.org > Cc: andrew.rybche...@oktetlabs.ru; sta...@dpdk.org > Subject: Re: [dpdk-stable] [PATCH v4] app/testpmd: fix testpmd doesn't show > RSS hash offload > > > -

[dpdk-dev] [PATCH v2 0/7] Refactor the NFP PMD

2021-07-16 Thread Heinrich Kuhn
This patch set restructures the NFP PMD, aligning it more with the common layout adopted by most other PMD's. Although the changes look fairly large, functionally nothing is added or removed from the driver and the existing code is mostly just reorganized into the familiar structure seen in other P

[dpdk-dev] [PATCH v2 1/7] net/nfp: split rxtx headers into separate file

2021-07-16 Thread Heinrich Kuhn
This change splits out the rx/tx specific structs and defines from the main nfp_net_pmd header file and into their own header file. Signed-off-by: Heinrich Kuhn Signed-off-by: Simon Horman --- drivers/net/nfp/nfp_net.c | 1 + drivers/net/nfp/nfp_net_pmd.h | 248 ---

[dpdk-dev] [PATCH v2 2/7] net/nfp: move rxtx functions to their own file

2021-07-16 Thread Heinrich Kuhn
Create a new rxtx file and move the Rx/Tx functions to this file. This commit will also move the needed shared functions to the nfp_net_pmd.h file as needed. Signed-off-by: Heinrich Kuhn Signed-off-by: Simon Horman --- drivers/net/nfp/meson.build |1 + drivers/net/nfp/nfp_net.c | 1090

[dpdk-dev] [PATCH v2 3/7] net/nfp: move CPP bridge to a separate file

2021-07-16 Thread Heinrich Kuhn
This commit moves the CPP bridge logic to a separate file. A new corresponding header file is also created. Signed-off-by: Heinrich Kuhn Signed-off-by: Simon Horman --- drivers/net/nfp/meson.build | 1 + drivers/net/nfp/nfp_cpp_bridge.c | 392 +++ drivers/net/

[dpdk-dev] [PATCH v2 4/7] net/nfp: prototype common functions in header file

2021-07-16 Thread Heinrich Kuhn
The majority of "ethdev" type functions are used for both PF devices and VF devices. Prototype these functions in the nfp_net_pmd header file in preparation of splitting PF and VF specific functions. Signed-off-by: Heinrich Kuhn Signed-off-by: Simon Horman --- drivers/net/nfp/nfp_net.c | 87

[dpdk-dev] [PATCH v2 5/7] net/nfp: move VF functions into new file

2021-07-16 Thread Heinrich Kuhn
Move any ethdev functionality specific to VF devices into a new file called nfp_ethdev_vf.c. Signed-off-by: Heinrich Kuhn Signed-off-by: Simon Horman --- drivers/net/nfp/meson.build | 1 + drivers/net/nfp/nfp_ethdev_vf.c | 504 drivers/net/nfp/nfp_net.c

[dpdk-dev] [PATCH v2 6/7] net/nfp: move PF functions into new file

2021-07-16 Thread Heinrich Kuhn
Similar to the last commit, this changeset moves all the PF specific functions to a new file called nfp_ethdev.c. Signed-off-by: Heinrich Kuhn Signed-off-by: Simon Horman --- drivers/net/nfp/meson.build |1 + drivers/net/nfp/nfp_ethdev.c | 1099 ++ drivers/n

[dpdk-dev] [PATCH v2 7/7] net/nfp: batch file rename for consistency

2021-07-16 Thread Heinrich Kuhn
Rename the nfp_net.c file to nfp_common as it now contains functions common to VF and PF functionality. Rename the header file too to be consistent. Also remove the "net" naming from the _ctrl and _logs files for consistency across the PMD. Signed-off-by: Heinrich Kuhn Signed-off-by: Simon Horman

Re: [dpdk-dev] [EXT] Re: [PATCH v2 1/2] drivers: add octeontx crypto adapter framework

2021-07-16 Thread Akhil Goyal
Hi David, > > deps += ['common_octeontx', 'mempool_octeontx', 'bus_vdev', > 'net_octeontx'] > > +deps += ['crypto_octeontx'] > > This extra dependency resulted in disabling the event/octeontx driver > in FreeBSD, since crypto/octeontx only builds on Linux. > Removing hw support triggers a ABI fa

Re: [dpdk-dev] [dpdk-stable] [PATCH v4] app/testpmd: fix testpmd doesn't show RSS hash offload

2021-07-16 Thread Ferruh Yigit
On 7/16/2021 9:30 AM, Li, Xiaoyun wrote: >> -Original Message- >> From: stable On Behalf Of Li, Xiaoyun >> Sent: Thursday, July 15, 2021 12:54 >> To: Wang, Jie1X ; dev@dpdk.org >> Cc: andrew.rybche...@oktetlabs.ru; sta...@dpdk.org >> Subject: Re: [dpdk-stable] [PATCH v4] app/testpmd: fix t

Re: [dpdk-dev] [PATCH v4 2/5] vhost: add unsafe API to drain pkts in async vhost

2021-07-16 Thread Xia, Chenbo
Hi Cheng, > -Original Message- > From: Jiang, Cheng1 > Sent: Friday, July 16, 2021 10:59 AM > To: maxime.coque...@redhat.com; Xia, Chenbo > Cc: dev@dpdk.org; Hu, Jiayu ; Yang, YvonneX > ; Jiang, Cheng1 > Subject: [PATCH v4 2/5] vhost: add unsafe API to drain pkts in async vhost > > App

Re: [dpdk-dev] [PATCH v5 3/4] vhost: support async dequeue for split ring

2021-07-16 Thread Maxime Coquelin
On 7/16/21 9:55 AM, Hu, Jiayu wrote: > > >> -Original Message- >> From: Maxime Coquelin >> Sent: Friday, July 16, 2021 3:46 PM >> To: Hu, Jiayu ; Ma, WenwuX ; >> dev@dpdk.org >> Cc: Xia, Chenbo ; Jiang, Cheng1 >> ; Wang, YuanX >> Subject: Re: [PATCH v5 3/4] vhost: support async deque

Re: [dpdk-dev] [dpdk-stable] [PATCH] app/testpmd: fix testpmd doesn't show RSS hash offload

2021-07-16 Thread Ferruh Yigit
On 7/12/2021 4:12 AM, Li, Xiaoyun wrote: > > >> -Original Message- >> From: Andrew Rybchenko >> Sent: Friday, July 9, 2021 17:27 >> To: Wang, Jie1X ; dev@dpdk.org >> Cc: Li, Xiaoyun ; sta...@dpdk.org >> Subject: Re: [dpdk-dev] [PATCH] app/testpmd: fix testpmd doesn't show RSS >> hash off

Re: [dpdk-dev] RFC enabling dll/dso for dpdk on windows

2021-07-16 Thread Dmitry Kozlyuk
2021-07-08 18:03 (UTC-0700), Tyler Retzlaff: > On Thu, Jul 08, 2021 at 11:49:53PM +0300, Dmitry Kozlyuk wrote: > > Hi Tyler, > > > > 2021-07-08 12:21 (UTC-0700), Tyler Retzlaff: > > > hi folks, > > > > > > we would like to submit a a patch series that makes dll/dso for dpdk > > > work on window

[dpdk-dev] [PATCH v1 0/3] fix some problems of mtu, vlan, lro

2021-07-16 Thread Guoyang Zhou
The vlan id 0 can not be deleted, and the rx queue must config as ceq disable, and must set msix state disable because of lro function, and fix the problem of MTU inconsistent in the driver and firmware. -- v1: - increase the protection of the VLAN interface - fix the problem of LRO - fix th

[dpdk-dev] [PATCH v1 1/3] net/hinic: increase the protection of the VLAN

2021-07-16 Thread Guoyang Zhou
If the vlan id 0 is deleted for hinic, all packets without vlan will be discarded when the vlan filter is turned on. Fixes: 50ce3e7aec8f ("ethdev: fix VLAN offloads set if no relative capabilities") Cc: sta...@dpdk.org Signed-off-by: Guoyang Zhou --- drivers/net/hinic/hinic_pmd_ethdev.c | 3 +++

[dpdk-dev] [PATCH v1 3/3] net/hinic: fix the problem of MTU inconsistent

2021-07-16 Thread Guoyang Zhou
The configuration of mtu is inconsistent in the driver and firmware when the port is stopped, started and reconfigured. Before, HINIC_MAX_JUMBO_FRAME_SIZE include vlan tag, but when frame and pktlen are converted to each other do not include vlan tag. And port_mtu_set function will use HINIC_MAX_JU

[dpdk-dev] [PATCH v1 2/3] net/hinic/base: fix the problem of LRO

2021-07-16 Thread Guoyang Zhou
The rx queue must config as ceq disable, and must set msix state disable. Otherwise when lro is enable, there will be problems with packet aggregation because of firmware. Fixes: 9d02f40d6503 ("net/hinic: fix LRO") Cc: sta...@dpdk.org Signed-off-by: Guoyang Zhou --- drivers/net/hinic/base/hinic_

[dpdk-dev] [PATCH v2] crypto/octeontx2: fix lookaside IPsec IV pointer

2021-07-16 Thread Tejasree Kondoj
Fixing IV pointer population in lookaside IPsec outbound instruction. Fixes: fab634eb87ca ("crypto/octeontx2: support security session data path") Signed-off-by: Tejasree Kondoj --- v2: * Fixed unused variable warning drivers/crypto/octeontx2/otx2_ipsec_po_ops.h | 12 ++-- 1 file chang

Re: [dpdk-dev] [PATCH v4] dmadev: introduce DMA device library

2021-07-16 Thread Bruce Richardson
On Fri, Jul 16, 2021 at 11:04:30AM +0800, fengchengwen wrote: > On 2021/7/16 0:33, Bruce Richardson wrote: > > On Fri, Jul 16, 2021 at 12:04:33AM +0800, fengchengwen wrote: > >> @burce, jerin Some unmodified review comments are returned here: > >> > > [snip] > > > > >> 2. COMMENT: > + * @see s

Re: [dpdk-dev] [PATCH] doc/sample_app_ug: use code snippets in sample app guides

2021-07-16 Thread Walsh, Conor
> Hello, Hi David, thanks for your reply I will be handling this as Conor Fogarty is OOO. > > On Wed, Jul 14, 2021 at 11:59 AM Conor Fogarty > wrote: > > > > Currently the sample app user guides use hard coded code snippets, > > this patch changes these to use literalinclude which will dynamica

[dpdk-dev] new IRC channel

2021-07-16 Thread Thomas Monjalon
As agreed in a Technical Board meeting, the preferred IRC channel for the DPDK project moved from freenode to Libera.Chat: https://mails.dpdk.org/archives/dev/2021-July/214662.html The website is updated: https://core.dpdk.org/contribute/ There is a good guide to start with Libera

Re: [dpdk-dev] [PATCH v4] net/softnic: fix memory leak in parsing arguments

2021-07-16 Thread Singh, Jasvinder
> -Original Message- > From: Yu, DapengX > Sent: Thursday, July 15, 2021 6:38 AM > To: Singh, Jasvinder ; Dumitrescu, Cristian > > Cc: dev@dpdk.org; Yu, DapengX ; sta...@dpdk.org > Subject: [PATCH v4] net/softnic: fix memory leak in parsing arguments > > From: Dapeng Yu > > In funct

Re: [dpdk-dev] [PATCH v4] crypto/ccp: moving vdev to PCI driver

2021-07-16 Thread David Marchand
On Fri, Jul 16, 2021 at 2:03 PM wrote: > > From: Amaranath Somalapuram > > drop all the code duplicating the PCI bus driver > develped for Enable IOMMU in vdev. > > Signed-off-by: Amaranath Somalapuram Title does not follow DPDK convention. https://doc.dpdk.org/guides/contributing/patches.html#

Re: [dpdk-dev] [PATCH v4 19/20] net/sfc: support flow action COUNT in transfer rules

2021-07-16 Thread David Marchand
Hello gyus, On Fri, Jul 2, 2021 at 10:41 AM Andrew Rybchenko wrote: > > From: Igor Romanov > > For now, a rule may have only one dedicated counter, shared counters > are not supported. > > HW delivers (or "streams") counter readings using special packets. > The driver creates a dedicated Rx queu

Re: [dpdk-dev] [PATCH v9 7/7] event/cnxk: add Tx event vector fastpath

2021-07-16 Thread Jerin Jacob
On Wed, Jul 14, 2021 at 2:33 PM wrote: > > From: Pavan Nikhilesh > > Add Tx event vector fastpath, integrate event vector Tx routine > into Tx burst. > > Signed-off-by: Pavan Nikhilesh Series Acked-by: Jerin Jacob Series v9 Applied to dpdk-next-net-eventdev/for-main. Thanks > --- > drivers/

Re: [dpdk-dev] [PATCH v3] config/arm: split march cfg into arch and features

2021-07-16 Thread Juraj Linkeš
> -Original Message- > From: fengchengwen > Sent: Friday, July 16, 2021 5:42 AM > To: Ruifeng Wang ; Juraj Linkeš > ; tho...@monjalon.net; > david.march...@redhat.com; bruce.richard...@intel.com; Honnappa > Nagarahalli ; ferruh.yi...@intel.com; > jerinjac...@gmail.com; jer...@marvell.com

[dpdk-dev] dpdk-next-eventdev for for-main v21.08 - RC2

2021-07-16 Thread Jerin Jacob Kollanukkaran
The following changes since commit a95bbb72623c310df4d0c8ad45c2ee06f538e01b:   version: 21.08-rc1 (2021-07-10 12:01:52 +0200) are available in the Git repository at:   http://dpdk.org/git/next/dpdk-next-eventdev for you to fetch changes up to 85b2bc49ce33f9d73a4ebd89483991a95b96b0c8:   event/c

Re: [dpdk-dev] [PATCH v4] dmadev: introduce DMA device library

2021-07-16 Thread Jerin Jacob
On Fri, Jul 16, 2021 at 3:20 PM Bruce Richardson wrote: > > On Fri, Jul 16, 2021 at 11:04:30AM +0800, fengchengwen wrote: > > On 2021/7/16 0:33, Bruce Richardson wrote: > > > On Fri, Jul 16, 2021 at 12:04:33AM +0800, fengchengwen wrote: > > >> @burce, jerin Some unmodified review comments are ret

[dpdk-dev] [Bug 759] testpmd: bonding mode 4 on mlx5 doesn't work

2021-07-16 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=759 Bug ID: 759 Summary: testpmd: bonding mode 4 on mlx5 doesn't work Product: DPDK Version: 20.11 Hardware: x86 URL: https://mails.dpdk.org/archives/dev/2021-July/213360.h

Re: [dpdk-dev] [PATCH v4] dmadev: introduce DMA device library

2021-07-16 Thread Jerin Jacob
On Fri, Jul 16, 2021 at 8:34 AM fengchengwen wrote: > > On 2021/7/16 0:33, Bruce Richardson wrote: > > On Fri, Jul 16, 2021 at 12:04:33AM +0800, fengchengwen wrote: > >> @burce, jerin Some unmodified review comments are returned here: > >> > > [snip] > > > > >> 2. COMMENT: > + * @see struct rte_

[dpdk-dev] [PATCH v2] net/mlx5: do not allow copy to mark via modify field

2021-07-16 Thread Alexander Kozyrev
The Mark action is a two-stage process in the Mellanox driver. First, a hardware register is filled with the required value, then this value is registered in the software resource table. The MODIFY_FIELD action can instruct a Mellanox NIC to copy some value from an arbitrary packet header field in

Re: [dpdk-dev] [RFC PATCH v4 0/3] Add PIE support for HQoS library

2021-07-16 Thread Dumitrescu, Cristian
Hi Wojciech, Thank you for doing this work! > -Original Message- > From: Liguzinski, WojciechX > Sent: Monday, July 5, 2021 9:04 AM > To: dev@dpdk.org; Singh, Jasvinder ; > Dumitrescu, Cristian > Cc: Dharmappa, Savinay ; Ajmera, Megha > > Subject: [RFC PATCH v4 0/3] Add PIE support for

[dpdk-dev] [PATCH v1] crypto/ccp: moving vdev to PCI driver

2021-07-16 Thread asomalap
From: Amaranath Somalapuram drop all the code duplicating the PCI bus driver develped for Enable IOMMU in vdev. Signed-off-by: Amaranath Somalapuram --- drivers/crypto/ccp/ccp_dev.c | 67 ++--- drivers/crypto/ccp/ccp_dev.h | 3 +- drivers/crypto/ccp/rte_ccp_pmd.c | 156 +

Re: [dpdk-dev] [PATCH v4] dmadev: introduce DMA device library

2021-07-16 Thread Bruce Richardson
On Fri, Jul 16, 2021 at 06:10:48PM +0530, Jerin Jacob wrote: > On Fri, Jul 16, 2021 at 8:34 AM fengchengwen wrote: > > > > On 2021/7/16 0:33, Bruce Richardson wrote: > > > On Fri, Jul 16, 2021 at 12:04:33AM +0800, fengchengwen wrote: > > >> @burce, jerin Some unmodified review comments are return

Re: [dpdk-dev] [PATCH v4] dmadev: introduce DMA device library

2021-07-16 Thread Jerin Jacob
On Thu, Jul 15, 2021 at 9:34 PM fengchengwen wrote: > > @burce, jerin Some unmodified review comments are returned here: > > 1. > COMMENT: > +memset(dmadev_shared_data->data, 0, > > +sizeof(dmadev_shared_data->data)); > I believe all memzones are ze

Re: [dpdk-dev] [RFC PATCH v4 1/3] sched: add PIE based congestion management

2021-07-16 Thread Dumitrescu, Cristian
Hi Wojciech, > -Original Message- > From: Liguzinski, WojciechX > Sent: Monday, July 5, 2021 9:04 AM > To: dev@dpdk.org; Singh, Jasvinder ; > Dumitrescu, Cristian > Cc: Dharmappa, Savinay ; Ajmera, Megha > > Subject: [RFC PATCH v4 1/3] sched: add PIE based congestion management > > Imp

Re: [dpdk-dev] [PATCH v5] dmadev: introduce DMA device library

2021-07-16 Thread Jerin Jacob
On Fri, Jul 16, 2021 at 8:19 AM Chengwen Feng wrote: > > This patch introduce 'dmadevice' which is a generic type of DMA > device. > > The APIs of dmadev library exposes some generic operations which can > enable configuration and I/O with the DMA devices. > > Signed-off-by: Chengwen Feng > --- >

[dpdk-dev] [PATCH] raw/ioat: fix config script queue size calculation

2021-07-16 Thread Kevin Laatz
The queue size calculation is currently based on "max_tokens" rather than "max_work_queues_size". This is resulting in the queue size being incorrectly configured when using the script to configure devices bound to the IDXD kernel driver. This patch fixes this miscalculation so devices are configur

[dpdk-dev] [PATCH v5 0/3] provide thread unsafe async registration functions

2021-07-16 Thread Jiayu Hu
Lock protection is needed during the vhost notifies the application of device readiness, so the first patch adds lock protection. In addition, the second patch reworks async feature structure to improve readability. After performing locking, existed async vhost registration functions will cause dea

[dpdk-dev] [PATCH v5 1/3] vhost: fix lock on device readiness notification

2021-07-16 Thread Jiayu Hu
The vhost notifies the application of device readiness via vhost_user_notify_queue_state(), but calling this function is not protected by the lock. This patch is to make this function call lock protected. Fixes: d0fcc38f5fa4 ("vhost: improve device readiness notifications") Cc: sta...@dpdk.org Si

[dpdk-dev] [PATCH v5 2/3] vhost: rework async configuration structure

2021-07-16 Thread Jiayu Hu
This patch reworks the async configuration structure to improve code readability. In addition, add preserved padding fields on the structure for future usage. Signed-off-by: Jiayu Hu --- doc/guides/prog_guide/vhost_lib.rst | 21 + examples/vhost/main.c | 8 +++

[dpdk-dev] [PATCH v5 3/3] vhost: add thread unsafe async registeration functions

2021-07-16 Thread Jiayu Hu
This patch adds thread unsafe version for async register and unregister functions. Signed-off-by: Jiayu Hu --- doc/guides/prog_guide/vhost_lib.rst | 14 lib/vhost/rte_vhost_async.h | 41 ++ lib/vhost/version.map | 4 + lib/vhost/vhost.c |

[dpdk-dev] [PATCH v1] lib/distributor: fix unaligned 128-bit write

2021-07-16 Thread David Hunt
When the distributor sample app is built as a 32-bit app, the data buffer passed to find_match_vec can be unaligned, causing a segmentation fault due to writing a 128-bit value using _mm_store_si128(). 128-bit align the data being passed in so this does not happen. Fixes: 775003ad2f96 ("distribut

[dpdk-dev] [PATCH v2] doc/guides: add details for new test structure

2021-07-16 Thread Ciara Power
The testing guide is now updated to include details about using sub-testsuites. Some example code is given to demonstrate how they can be used. A note is also added to highlight the need for using vdev EAL args when running cryptodev tests. Depends-on: patch-95866 ("guides: add a guide for develo

Re: [dpdk-dev] [PATCH v5 3/4] vhost: support async dequeue for split ring

2021-07-16 Thread Hu, Jiayu
> -Original Message- > From: David Marchand > Sent: Friday, July 16, 2021 4:15 PM > To: Hu, Jiayu > Cc: Maxime Coquelin ; Ma, WenwuX > ; dev@dpdk.org; Xia, Chenbo > ; Jiang, Cheng1 ; Wang, > YuanX > Subject: Re: [dpdk-dev] [PATCH v5 3/4] vhost: support async dequeue for > split ring >

[dpdk-dev] [PATCH] raw/ioat: fix termination descriptor for batch

2021-07-16 Thread Konstantin Ananyev
When batch_size == 1, idxd has to add a dummy termination descriptor to satisfy HW requirements. Right now it uses NOP descriptor with FENCE flag. This is excessive and fencing can slowdown things quite significantly. The patch removes FENCE flag from termination dummy descriptor. That helps to imp

Re: [dpdk-dev] [PATCH v5 3/4] vhost: support async dequeue for split ring

2021-07-16 Thread David Marchand
On Fri, Jul 16, 2021 at 3:45 PM Hu, Jiayu wrote: > > - I don't like this threshold, this is too low level and most users will > > only see > > the shiny aspect "better performance" without understanding the > > consequences. > > By default, it leaves the door open to a _bad_ behavior, that is pac

Re: [dpdk-dev] [PATCH v4] build: optional NUMA and cpu counts detection

2021-07-16 Thread Juraj Linkeš
> -Original Message- > From: David Christensen > Sent: Tuesday, July 6, 2021 8:11 PM > To: Bruce Richardson ; Juraj Linkeš > > Cc: tho...@monjalon.net; david.march...@redhat.com; > honnappa.nagaraha...@arm.com; ruifeng.w...@arm.com; > ferruh.yi...@intel.com; jerinjac...@gmail.com; dev@d

Re: [dpdk-dev] [PATCH v5 3/4] vhost: support async dequeue for split ring

2021-07-16 Thread Hu, Jiayu
> -Original Message- > From: David Marchand > Sent: Friday, July 16, 2021 9:53 PM > To: Hu, Jiayu > Cc: Maxime Coquelin ; Ma, WenwuX > ; dev@dpdk.org; Xia, Chenbo > ; Jiang, Cheng1 ; Wang, > YuanX > Subject: Re: [dpdk-dev] [PATCH v5 3/4] vhost: support async dequeue for > split ring >

Re: [dpdk-dev] [PATCH] raw/ioat: fix config script queue size calculation

2021-07-16 Thread Ananyev, Konstantin
> The queue size calculation is currently based on "max_tokens" rather than > "max_work_queues_size". This is resulting in the queue size being > incorrectly configured when using the script to configure devices bound to > the IDXD kernel driver. > This patch fixes this miscalculation so devices

Re: [dpdk-dev] [PATCH v4] build: optional NUMA and cpu counts detection

2021-07-16 Thread Bruce Richardson
On Fri, Jul 16, 2021 at 01:53:18PM +, Juraj Linkeš wrote: > > > > -Original Message- > > From: David Christensen > > Sent: Tuesday, July 6, 2021 8:11 PM > > To: Bruce Richardson ; Juraj Linkeš > > > > Cc: tho...@monjalon.net; david.march...@redhat.com; > > honnappa.nagaraha...@arm.c

Re: [dpdk-dev] [PATCH] raw/ioat: fix config script queue size calculation

2021-07-16 Thread Bruce Richardson
On Fri, Jul 16, 2021 at 01:21:55PM +, Kevin Laatz wrote: > The queue size calculation is currently based on "max_tokens" rather than > "max_work_queues_size". This is resulting in the queue size being > incorrectly configured when using the script to configure devices bound to > the IDXD kernel

Re: [dpdk-dev] [PATCH] raw/ioat: fix termination descriptor for batch

2021-07-16 Thread Bruce Richardson
On Fri, Jul 16, 2021 at 02:50:27PM +0100, Konstantin Ananyev wrote: > When batch_size == 1, idxd has to add a dummy termination descriptor > to satisfy HW requirements. > Right now it uses NOP descriptor with FENCE flag. > This is excessive and fencing can slowdown things quite significantly. > The

[dpdk-dev] [RFC v2 1/8] test/virtual_pmd: clean rings on close

2021-07-16 Thread Ferruh Yigit
Not cleaning the rings prevents creating devices again, which breaks to run some unit tests multiple times. Signed-off-by: Ferruh Yigit --- app/test/virtual_pmd.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/app/test/virtual_pmd.c b/app/test/virtual_pmd.c ind

[dpdk-dev] [RFC v2 2/8] test/virtual_pmd: enable getting device operations

2021-07-16 Thread Ferruh Yigit
This will be used to overwrite the dev_ops for various tests. Signed-off-by: Ferruh Yigit --- app/test/virtual_pmd.c | 14 -- app/test/virtual_pmd.h | 6 ++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/app/test/virtual_pmd.c b/app/test/virtual_pmd.c index 6098

[dpdk-dev] [RFC v2 3/8] test/virtual_pmd: enable updating device flags

2021-07-16 Thread Ferruh Yigit
To be able to test various dev_flags. Signed-off-by: Ferruh Yigit --- app/test/virtual_pmd.c | 10 ++ app/test/virtual_pmd.h | 4 2 files changed, 14 insertions(+) diff --git a/app/test/virtual_pmd.c b/app/test/virtual_pmd.c index 17f28c5a304c..615243e19aed 100644 --- a/app/test/v

[dpdk-dev] [RFC v2 4/8] test/virtual_pmd: enable getting device data

2021-07-16 Thread Ferruh Yigit
Signed-off-by: Ferruh Yigit --- app/test/virtual_pmd.c | 10 ++ app/test/virtual_pmd.h | 4 2 files changed, 14 insertions(+) diff --git a/app/test/virtual_pmd.c b/app/test/virtual_pmd.c index 615243e19aed..f2d807de8d89 100644 --- a/app/test/virtual_pmd.c +++ b/app/test/virtual_pmd

[dpdk-dev] [RFC v2 5/8] test/virtual_pmd: support get queue info device ops

2021-07-16 Thread Ferruh Yigit
Signed-off-by: Ferruh Yigit --- app/test/virtual_pmd.c | 27 +-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/app/test/virtual_pmd.c b/app/test/virtual_pmd.c index f2d807de8d89..e0ea213ae231 100644 --- a/app/test/virtual_pmd.c +++ b/app/test/virtual_pmd.c

[dpdk-dev] [RFC v2 6/8] test/virtual_pmd: provide descriptor limit info

2021-07-16 Thread Ferruh Yigit
Signed-off-by: Ferruh Yigit --- app/test/virtual_pmd.c | 4 app/test/virtual_pmd.h | 4 2 files changed, 8 insertions(+) diff --git a/app/test/virtual_pmd.c b/app/test/virtual_pmd.c index e0ea213ae231..27c8501b96a7 100644 --- a/app/test/virtual_pmd.c +++ b/app/test/virtual_pmd.c @@ -10

[dpdk-dev] [RFC v2 7/8] test/virtual_pmd: support queue start/stop

2021-07-16 Thread Ferruh Yigit
Signed-off-by: Ferruh Yigit --- app/test/virtual_pmd.c | 52 ++ 1 file changed, 52 insertions(+) diff --git a/app/test/virtual_pmd.c b/app/test/virtual_pmd.c index 27c8501b96a7..4b8318cf39dd 100644 --- a/app/test/virtual_pmd.c +++ b/app/test/virtual_pmd.c

[dpdk-dev] [RFC v2 8/8] test: support ethdev

2021-07-16 Thread Ferruh Yigit
Added unit test for ethdev APIs, this unit test 'ethdev_api_autotest' can run without physical device. If there are physical devices probed, they will be ignored by the unit test. A few issues fixed or some clarification added in the ehtdev library with in this unit test patch. Signed-off-by: Fer

Re: [dpdk-dev] [pull-request] dpdk-next-net for main v21.08 - RC2

2021-07-16 Thread Thomas Monjalon
13/07/2021 15:17, Andrew Rybchenko: > The following changes since commit a95bbb72623c310df4d0c8ad45c2ee06f538e01b: > > version: 21.08-rc1 (2021-07-10 12:01:52 +0200) > > are available in the Git repository at: > > http://dpdk.org/git/next/dpdk-next-net Pulled, thanks.

Re: [dpdk-dev] [pull-request] dpdk-next-net-mrvl for for-next-net v21.08 - RC2

2021-07-16 Thread Thomas Monjalon
13/07/2021 13:23, Jerin Jacob Kollanukkaran: > The following changes since commit a95bbb72623c310df4d0c8ad45c2ee06f538e01b: > > version: 21.08-rc1 (2021-07-10 12:01:52 +0200) > > are available in the Git repository at: > > http://dpdk.org/git/next/dpdk-next-net-mrvl Pulled, thanks.

Re: [dpdk-dev] [PATCH v5] dmadev: introduce DMA device library

2021-07-16 Thread Bruce Richardson
On Fri, Jul 16, 2021 at 10:45:35AM +0800, Chengwen Feng wrote: > This patch introduce 'dmadevice' which is a generic type of DMA > device. > > The APIs of dmadev library exposes some generic operations which can > enable configuration and I/O with the DMA devices. > > Signed-off-by: Chengwen Feng

[dpdk-dev] [PATCH v2] crypto/ccp: moving vdev to PCI driver

2021-07-16 Thread asomalap
From: Amaranath Somalapuram drop all the code duplicating the PCI bus driver develped for Enable IOMMU in vdev. Signed-off-by: Amaranath Somalapuram --- drivers/crypto/ccp/ccp_dev.c | 66 + drivers/crypto/ccp/ccp_dev.h | 3 +- drivers/crypto/ccp/rte_ccp_pmd.c | 158 +

Re: [dpdk-dev] [PATCH v2] net/mlx5: do not allow copy to mark via modify field

2021-07-16 Thread Slava Ovsiienko
> -Original Message- > From: Alexander Kozyrev > Sent: Friday, July 16, 2021 11:43 > To: dev@dpdk.org > Cc: Raslan Darawsheh ; Matan Azrad > ; Slava Ovsiienko > Subject: [PATCH v2] net/mlx5: do not allow copy to mark via modify field > > The Mark action is a two-stage process in the Mell

[dpdk-dev] [PATCH v3] crypto/ccp: moving vdev to PCI driver

2021-07-16 Thread asomalap
From: Amaranath Somalapuram drop all the code duplicating the PCI bus driver develped for Enable IOMMU in vdev. Signed-off-by: Amaranath Somalapuram --- drivers/crypto/ccp/ccp_dev.c | 66 + drivers/crypto/ccp/ccp_dev.h | 3 +- drivers/crypto/ccp/rte_ccp_pmd.c | 158 +

[dpdk-dev] Minutes of Technical Board Meeting 2021-06-02

2021-07-16 Thread Stephen Hemminger
Minutes of Technical Board Meeting, 2021-06-02 == NOTE: The technical board meetings every second Wednesday at https://meet.jit.si/DPDK at 3 pm UTC. Meetings are public, and DPDK community members are welcome to attend. NOTE: Next meeting will be on We

[dpdk-dev] [PATCH 21.11 v2 3/3] app/test: add allocator performance autotest

2021-07-16 Thread Dmitry Kozlyuk
Memory allocator performance is crucial to applications that deal with large amount of memory or allocate frequently. DPDK allocator performance is affected by EAL options, API used and, at least, allocation size. New autotest is intended to be run with different EAL options. It measures performanc

[dpdk-dev] [PATCH 21.11 v2 0/3] eal: add memory pre-allocation from existing files

2021-07-16 Thread Dmitry Kozlyuk
Hugepage allocation from the system takes time, resulting in slow startup or sporadic delays later. Most of the time spent in kernel is zero-filling memory for security reasons, which may be irrelevant in a controlled environment. The bottleneck is memory access speed, so for speeduup the amount of

[dpdk-dev] [PATCH 21.11 v2 2/3] eal: add memory pre-allocation from existing files

2021-07-16 Thread Dmitry Kozlyuk
From: Viacheslav Ovsiienko The primary DPDK process launch might take a long time if initially allocated memory is large. From practice allocation of 1 TB of memory over 1 GB hugepages on Linux takes tens of seconds. Fast restart is highly desired for some applications and launch delay presents a

  1   2   >