Re: [dpdk-dev] [PATCH v2 2/3] app/testpmd: add Rx buffer size display in queue info query

2020-08-28 Thread Chengchang Tang
Hi, Stephen Hemminger On 2020/8/26 22:42, Stephen Hemminger wrote: > On Wed, 26 Aug 2020 15:12:22 +0800 > Chengchang Tang wrote: > >> Add Rx buffer size to queue info querry cmd so that the user can get the >> buffer length used by HW queue for receiving packets. >> >> Signed-off-by: Chengchang

Re: [dpdk-dev] [PATCH v6 2/3] app/testpmd: support ethdev rss level config

2020-08-28 Thread Ajit Khaparde
On Fri, Aug 21, 2020 at 4:04 AM wrote: > From: Kiran Kumar K > > Adding support to set RSS level from ethdev config. > level-inner is default and will set the RSS level to inner layers. > level-outer will set the RSS level to outer layers. > level-inner-outer will set the RSS level to both inner

Re: [dpdk-dev] [PATCH v2 0/5] maximize vector rx burst for PMDs

2020-08-28 Thread Stephen Hemminger
On Fri, 28 Aug 2020 14:39:33 +0800 Jeff Guo wrote: > >> I am not sure about this, but if I read it correctly, calling > >> rte_eth_rx_burst() with nb_pkts = 33 > >> (not 32) would only return 32 packets, even if more packets are available. > >> (I assume that > >> RTE_I40E_DESCS_PER_LOOP is 32.

Re: [dpdk-dev] [PATCH 1/1] vhost: fix iotlb mempool single-consumer flag

2020-08-28 Thread Jens Freimann
Hi Eugenio, On Mon, Aug 10, 2020 at 04:11:03PM +0200, Eugenio Pérez wrote: Bugzilla bug: 523 Using testpmd as a vhost-user with iommu: /home/dpdk/build/app/dpdk-testpmd -l 1,3 \ --vdev net_vhost0,iface=/tmp/vhost-user1,queues=1,iommu-support=1 \ -- --auto-start --stats-period 5

Re: [dpdk-dev] Ipsec-secgw packet processing

2020-08-28 Thread satyavalli rama
> Hi > Please give us some inputs to proceed. > We are using the following hardware details, > HOST: x722 (i40e) intel. > VM: e1000 (82540) intel. > > We have launched Virtual machine on host , and executing ipsec-secgw > application on VM. > > Please find below the CLI and configuration for TRA

Re: [dpdk-dev] [PATCH v4] usertools/dpdk-devbind: add support for PCI wildcards

2020-08-28 Thread Burakov, Anatoly
Acked-by: Anatoly Burakov Thanks, Anatoly > -Original Message- > From: Bruce Richardson > Sent: Monday, August 24, 2020 6:05 PM > To: dev@dpdk.org > Cc: Yigit, Ferruh ; Burakov, Anatoly > ; Richardson, Bruce > > Subject: [PATCH v4] usertools/dpdk-devbind: add support for PCI wildcards

Re: [dpdk-dev] [PATCH v4 2/2] Add l2reflect measurement application

2020-08-28 Thread Henning Schild
Thomas, what is the state on this one? Any more steps to take or people to involve? I first showed that in action back in 2016 on FOSDEM. https://archive.fosdem.org/2016/schedule/event/virt_iaas_real_time_cloud/ After my talk two devs from dpdk approached me because they liked the idea of a "netw

Re: [dpdk-dev] [PATCH v4] usertools/dpdk-devbind: add support for PCI wildcards

2020-08-28 Thread Ferruh Yigit
On 8/24/2020 6:04 PM, Bruce Richardson wrote: > When binding or unbinding a range of devices, it can be useful to use > wildcards to specify the devices rather than repeating the same prefix > multiple times. We can use the python "glob" module to give us this > functionality - at least for PCI dev

[dpdk-dev] [PATCH v1] net/ice: fix none GTPU TEID hash

2020-08-28 Thread Jeff Guo
GTPU TEID hash should only be enabled when ETH_RSS_GTPU is required. Fixes: e7cc68c70736 ("net/ice: fix GTPU TEID hash") Signed-off-by: Jeff Guo --- drivers/net/ice/ice_hash.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/net/ice/ice_hash.c b/drivers/net/ice/ice

Re: [dpdk-dev] 19.11.4 patches review and test

2020-08-28 Thread Luca Boccassi
On Fri, 2020-08-28 at 14:34 +, Govindharajan, Hariprasad wrote: > > -Original Message- > > From: dev On Behalf Of Luca Boccassi > > Sent: Tuesday, August 18, 2020 7:12 PM > > To: sta...@dpdk.org > > Cc: dev@dpdk.org; Abhishek Marathe ; > > Akhil Goyal ; Ali Alnubani ; > > Walker, Benja

Re: [dpdk-dev] DPDK 20.08 meson build testpmd not detecting all NUMA nodes

2020-08-28 Thread Ruifeng Wang
Hi Juraj, > -Original Message- > From: dev On Behalf Of Bruce Richardson > Sent: Friday, August 28, 2020 9:10 PM > To: Juraj Linkeš > Cc: dev@dpdk.org; ys...@mellanox.com; Honnappa Nagarahalli > > Subject: Re: [dpdk-dev] DPDK 20.08 meson build testpmd not detecting all > NUMA nodes > >

Re: [dpdk-dev] [dpdk-stable] [PATCH] i40e: fix segfault when using custom RSS key

2020-08-28 Thread Carasec Elena
Hi, Yes, it is valid for the branches 18.11 and 19.11 LTS. Best regards, Elena Původní zpráva Předmět: Re: [dpdk-stable] [dpdk-dev] [PATCH] i40e: fix segfault when using custom RSS key Datum: 2020-08-28 15:05 Odesílatel: Kevin Traynor Adresát: Carasec Elena , "Xing, Beil

Re: [dpdk-dev] 19.11.4 patches review and test

2020-08-28 Thread Govindharajan, Hariprasad
> -Original Message- > From: dev On Behalf Of Luca Boccassi > Sent: Tuesday, August 18, 2020 7:12 PM > To: sta...@dpdk.org > Cc: dev@dpdk.org; Abhishek Marathe ; > Akhil Goyal ; Ali Alnubani ; > Walker, Benjamin ; David Christensen > ; Hemant Agrawal ; > Stokes, Ian ; Jerin Jacob ; > Mc

[dpdk-dev] [PATCH v2] buildtools/map_to_win.py: drop python2 support

2020-08-28 Thread Bruce Richardson
The build scripts called from meson all use python3 as meson itself depends upon python3. Therefore there is no need for python2 compatibility in these script files, as well as which python2 support is being dropped generally from DPDK. Signed-off-by: Bruce Richardson Acked-by: Anatoly Burakov -

Re: [dpdk-dev] [PATCH V1] testpmd: add eeprom/module eeprom display

2020-08-28 Thread David Liu
z On Wed, Aug 26, 2020 at 6:46 PM Ferruh Yigit wrote: > On 8/26/2020 8:00 PM, David Liu wrote: > > Commands will dump the content of the EEPROM/module EEPROM for the > > selected port. > > > > Signed-off-by: David Liu > > --- > > app/test-pmd/cmdline.c | 41 +++ > > app/test-pmd/c

Re: [dpdk-dev] DPDK 20.08 meson build testpmd not detecting all NUMA nodes

2020-08-28 Thread Bruce Richardson
On Fri, Aug 28, 2020 at 11:11:36AM +, Juraj Linkeš wrote: > > > > -Original Message- From: Bruce Richardson > > Sent: Friday, August 28, 2020 12:30 PM To: > > Juraj Linkeš Cc: dev@dpdk.org Subject: Re: > > [dpdk-dev] DPDK 20.08 meson build testpmd not detecting all NUMA nodes > > >

Re: [dpdk-dev] [dpdk-stable] [PATCH] i40e: fix segfault when using custom RSS key

2020-08-28 Thread Kevin Traynor
Hi, On 28/08/2020 13:52, Carasec Elena wrote: > Hello, > > We admit that the mistake was from our part. > New tests' results have revealed that from DPDK v20.05 this issue > does not exist anymore. So, this patch is applicable for DPDK > v20.02 and older. > The "Fixed:" commit is first in 18.05

[dpdk-dev] [dpdk-dev v7 3/4] test/crypto: add unit-test for cryptodev direct APIs

2020-08-28 Thread Fan Zhang
This patch adds the QAT test to use cryptodev symmetric crypto direct APIs. Signed-off-by: Fan Zhang --- app/test/test_cryptodev.c | 354 -- app/test/test_cryptodev.h | 6 + app/test/test_cryptodev_blockcipher.c | 50 ++-- 3 files changed, 373 i

[dpdk-dev] [dpdk-dev v7 1/4] cryptodev: add crypto data-path service APIs

2020-08-28 Thread Fan Zhang
This patch adds data-path service APIs for enqueue and dequeue operations to cryptodev. The APIs support flexible user-define enqueue and dequeue behaviors and operation mode. Signed-off-by: Fan Zhang Signed-off-by: Piotr Bronowski --- lib/librte_cryptodev/rte_crypto.h | 9 + lib/

[dpdk-dev] [dpdk-dev v7 4/4] doc: add cryptodev service APIs guide

2020-08-28 Thread Fan Zhang
This patch updates programmer's guide to demonstrate the usage and limitations of cryptodev symmetric crypto data-path service APIs. Signed-off-by: Fan Zhang --- doc/guides/prog_guide/cryptodev_lib.rst | 90 + 1 file changed, 90 insertions(+) diff --git a/doc/guides/prog

[dpdk-dev] [dpdk-dev v7 2/4] crypto/qat: add crypto data-path service API support

2020-08-28 Thread Fan Zhang
This patch updates QAT PMD to add crypto service API support. Signed-off-by: Fan Zhang --- drivers/common/qat/Makefile| 1 + drivers/crypto/qat/meson.build | 1 + drivers/crypto/qat/qat_sym.h | 13 + drivers/crypto/qat/qat_sym_hw_dp.c | 926 + d

[dpdk-dev] [dpdk-dev v7 0/4] cryptodev: add data-path service APIs

2020-08-28 Thread Fan Zhang
Direct crypto data-path service are a set of APIs that especially provided for the external libraries/applications who want to take advantage of the rich features provided by cryptodev, but not necessarily depend on cryptodev operations, mempools, or mbufs in the their data-path implementations. T

Re: [dpdk-dev] [PATCH] i40e: fix segfault when using custom RSS key

2020-08-28 Thread Carasec Elena
Hello, We admit that the mistake was from our part. New tests' results have revealed that from DPDK v20.05 this issue does not exist anymore. So, this patch is applicable for DPDK v20.02 and older. Kind regards, Elena Carasec Original Message Subject: RE: [dpdk-dev] [PATCH]

Re: [dpdk-dev] [dpdk-stable] [PATCH] net/tap: free mempool when closing

2020-08-28 Thread wangyunjian
> -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Thursday, August 6, 2020 9:20 PM > To: wangyunjian > Cc: dev@dpdk.org; sta...@dpdk.org; keith.wi...@intel.com; > ophi...@mellanox.com; Lilijun (Jerry) ; xudingke > ; sta...@dpdk.org > Subject: Re: [dpdk-stabl

[dpdk-dev] [PATCH] net/tap: release port upon close

2020-08-28 Thread wangyunjian
From: Yunjian Wang Set RTE_ETH_DEV_CLOSE_REMOVE upon probe so all the private resources for the port can be freed by rte_eth_dev_close(). Signed-off-by: Yunjian Wang --- drivers/net/tap/rte_eth_tap.c | 42 ++- 1 file changed, 26 insertions(+), 16 deletions(-) d

Re: [dpdk-dev] [RFC] usertools: Replace dpdk-setup with a python curses based script

2020-08-28 Thread Morten Brørup
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Sarosh Arif > Sent: Tuesday, August 18, 2020 2:39 PM > > dpdk-setup has been used for a long time in order to compile and > configure dpdk along with running some basic applications. dpdk-setup > uses the make build system to compile which is

Re: [dpdk-dev] [PATCH v2 0/5] maximize vector rx burst for PMDs

2020-08-28 Thread Morten Brørup
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Jeff Guo > Sent: Friday, August 28, 2020 8:40 AM > > > On 8/28/2020 10:06 AM, Wang, Haiyue wrote: > >> -Original Message- > >> From: dev On Behalf Of Morten Brørup > >> Sent: Thursday, August 27, 2020 20:38 > >> To: Guo, Jia ; Yang,

[dpdk-dev] [PATCH v2] ci: add vm jobs for aarch64 builds with tests

2020-08-28 Thread Juraj Linkeš
Tests requiring hugepages do not work outside of VM environment because of security limitations. Add aarch64 builds which run tests to run in a VM to avoid these limitations. Leave non-hugepage environments since the tests may produce different results in hugepage and non-hugepage environments. Si

[dpdk-dev] [PATCH] net/af_xdp: custom XDP program loading

2020-08-28 Thread Ciara Loftus
The new 'xdp_prog=' vdev arg allows the user to specify the path to a custom XDP program to be set on the device, instead of the default libbpf one. The program must have an XSK_MAP of name 'xsks_map' which will allow for the redirection of some packets to userspace and thus the PMD, using some cri

[dpdk-dev] [PATCH v9 4/5] ci: add aarch64 -> aarch32 cross compiling jobs

2020-08-28 Thread Juraj Linkeš
Add two jobs (static and shared libs), both building on aarch64 and producing 32-bit arm binaries executable on armv8-a, but not armv7. Do not run tests in these jobs. Signed-off-by: Juraj Linkeš --- .ci/linux-build.sh | 7 ++- .travis.yml| 19 +++ 2 files changed, 2

[dpdk-dev] [PATCH v9 3/5] build: add aarch32 to meson cross-compilation

2020-08-28 Thread Juraj Linkeš
Create meson cross file arm32_armv8a_linux_gcc. Use arm-linux-gnueabihf- toolset which comes with standard packages on most used systems, such as Ubuntu and CentOS. Signed-off-by: Juraj Linkeš --- config/arm/arm32_armv8a_linux_gcc | 17 + 1 file changed, 17 insertions(+) create

[dpdk-dev] [PATCH v9 5/5] doc: add aarch32 build guidance

2020-08-28 Thread Juraj Linkeš
From: Phil Yang Add cross-compiling guidance for 32-bit aarch32 DPDK on aarch64 host. Change-Id: Ib4281defa37ed4d08e1c3210c94fb7ce73b36449 Signed-off-by: Phil Yang --- .../linux_gsg/cross_build_dpdk_for_arm64.rst | 34 +-- 1 file changed, 24 insertions(+), 10 deletions(-) dif

[dpdk-dev] [PATCH v9 0/5] aarch64 -> aarch32 cross compilation support

2020-08-28 Thread Juraj Linkeš
Add support for aarch32 cross build in meson and add aarch64 -> aarch32 cross build to Travis. Aarch32 is an execution state that allows execution of 32-bit code on armv8 machines. This execution state contains a superset of previous armv7 32-bit instructions and features. Thus the aarch32 build i

[dpdk-dev] [PATCH v9 2/5] build: add aarch32 meson build flags

2020-08-28 Thread Juraj Linkeš
Add aarch32 extra build flags and aarch32 machine flags to generic machine args. Also modify how arm flags are updated in meson build - for 32-bit build, update only if cross-compiling. Signed-off-by: Juraj Linkeš --- config/arm/meson.build | 20 ++-- 1 file changed, 18 insertion

[dpdk-dev] [PATCH v9 1/5] net/bnxt: add support for aarch32

2020-08-28 Thread Juraj Linkeš
From: Ruifeng Wang Expand vector PMD support to aarch32. Signed-off-by: Ruifeng Wang Acked-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_rxq.h | 2 +- drivers/net/bnxt/bnxt_rxr.h | 2 +- drivers/net/bnxt/bnxt_txr.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/n

[dpdk-dev] [RFC] ethdev: add Forward Error Correction support

2020-08-28 Thread Min Hu(Connor)
Hi All, I would like to add FEC support of ethdev for DPDK. I am planning to add this support in v20.11 release. This RFC attempts to get feedback from the community. In current DPDK version, Forward Error Correction(FEC) is not supported. Forward error correction (FEC) is a bit error correctio

Re: [dpdk-dev] DPDK 20.08 meson build testpmd not detecting all NUMA nodes

2020-08-28 Thread Juraj Linkeš
> -Original Message- > From: Bruce Richardson > Sent: Friday, August 28, 2020 12:30 PM > To: Juraj Linkeš > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] DPDK 20.08 meson build testpmd not detecting all > NUMA nodes > > On Fri, Aug 28, 2020 at 11:20:02AM +0100, Bruce Richardson wrote: > >

Re: [dpdk-dev] [RFC] ethdev: rte_eth_rx_burst() requirements fornb_pkts

2020-08-28 Thread Morten Brørup
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Bruce Richardson > Sent: Friday, August 28, 2020 12:07 PM > > On Fri, Aug 28, 2020 at 11:03:59AM +0200, Morten Brørup wrote: > > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Bruce > Richardson > > > > > > > > > > Right. For now then

Re: [dpdk-dev] DPDK 20.08 meson build testpmd not detecting all NUMA nodes

2020-08-28 Thread Bruce Richardson
On Fri, Aug 28, 2020 at 11:20:02AM +0100, Bruce Richardson wrote: > On Fri, Aug 28, 2020 at 09:26:12AM +, Juraj Linkeš wrote: > > Hello DPDK devs, > > > > I've meson built (using just meson build && ninja -C build) dpdk-20.08 > > (downloaded from the site) on a Taishan arm server and dpdk-tes

Re: [dpdk-dev] DPDK 20.08 meson build testpmd not detecting all NUMA nodes

2020-08-28 Thread Bruce Richardson
On Fri, Aug 28, 2020 at 09:26:12AM +, Juraj Linkeš wrote: > Hello DPDK devs, > > I've meson built (using just meson build && ninja -C build) dpdk-20.08 > (downloaded from the site) on a Taishan arm server and dpdk-testpmd is > incorrectly detecting NUMA nodes on the system: > EAL: Detected 1

Re: [dpdk-dev] [RFC] ethdev: rte_eth_rx_burst() requirements fornb_pkts

2020-08-28 Thread Bruce Richardson
On Fri, Aug 28, 2020 at 11:03:59AM +0200, Morten Brørup wrote: > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Bruce Richardson > > > > > > Right. For now then, it seems like just documenting a minimum burst > > size is > > reasonable. > > I agree. It is so far from the spirit of DPDK t

[dpdk-dev] DPDK 20.08 meson build testpmd not detecting all NUMA nodes

2020-08-28 Thread Juraj Linkeš
Hello DPDK devs, I've meson built (using just meson build && ninja -C build) dpdk-20.08 (downloaded from the site) on a Taishan arm server and dpdk-testpmd is incorrectly detecting NUMA nodes on the system: EAL: Detected 16 lcore(s) EAL: Detected 1 NUMA nodes lscpu report 4 NUMA nodes: NUMA nod

Re: [dpdk-dev] [PATCH] librte_eal: fix mcslock hang on weak memory

2020-08-28 Thread Phil Yang
Hi Diogo, Thanks for your explanation. As documented in Arm ARM B2.9.5 Load-Exclusive and Store-Exclusive instruction usage restrictions: " Between the Load-Exclusive and the Store-Exclusive, there are no explicit memory accesses, preloa

Re: [dpdk-dev] [RFC] ethdev: rte_eth_rx_burst() requirements fornb_pkts

2020-08-28 Thread Morten Brørup
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Bruce Richardson > Sent: Thursday, August 27, 2020 1:41 PM > > On Thu, Aug 27, 2020 at 12:13:51PM +0200, Morten Brørup wrote: > > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Bruce > Richardson > > > Sent: Thursday, August 27, 2020 1

[dpdk-dev] [PATCH] net/iavf: support outer IP hash for GTPU

2020-08-28 Thread alvinx . zhang
From: Alvin Zhang Add patterns for GTPU, now outer IP hash can be configured as input set for GTPU packet. Signed-off-by: Alvin Zhang --- drivers/net/iavf/iavf_generic_flow.c | 18 ++ drivers/net/iavf/iavf_generic_flow.h | 2 + drivers/net/iavf/iavf_hash.c | 110

Re: [dpdk-dev] 19.11.4 patches review and test

2020-08-28 Thread Luca Boccassi
On Fri, 2020-08-28 at 04:03 +, Wang, ShougangX wrote: > Hi, Luca and Bo > > > > - The MD5 is not same between kernel ethtool and dpdk ethtool when > > > testing userspace_ethtool/retrieve_eeprom. It has been fixed on > > > 20.08.patch link: http://patches.dpdk.org/patch/72354/ > > > > Sho