Re: [dpdk-dev] [dpdk-announce] release candidate 20.08-rc4

2020-08-07 Thread Thinh Tran
Hi- IBM - DPDK on Power result *Basic PF on Mallanox: No new errors or regressions were seen. *Performance: no degradation compared to 20.05 System tested: - IBM Power9 Model 8335-101 CPU: 2.3 (pvr 004e 1203) Tested NICs: - Mellanox Technologies MT28800 Family [ConnectX-5 Ex] - MLNX_OFED_LIN

[dpdk-dev] [RFC]lib/ethdev: fix rx/tx queue stats mapping API

2020-08-07 Thread humin (Q)
Currently, only statistics of rx/tx queues with queue_id less than RTE_ETHDEV_QUEUE_STAT_CNTRS can be displayed. If there is a certain application scenario that it needs to use 256 or more than 256 queues and display all statistics of rx/tx queue. At this moment, we have to change the macro to be

[dpdk-dev] [RFC]lib/ethdev: fix data type in tc_rxq and tc_txq

2020-08-07 Thread humin (Q)
Currently, base and nb_queue in the tc_rxq and tc_txq information of queue and TC mapping on both TX and RX paths are uint8_t. The structure is as follows: struct rte_eth_dcb_tc_queue_mapping { /** rx queues assigned to tc per Pool */ struct { uint8_t base; uint8_t nb_queu

Re: [dpdk-dev] [PATCH v4] doc: add deprecation notice for sched changes

2020-08-07 Thread Thomas Monjalon
06/08/2020 16:16, Thomas Monjalon: > > > Add deprecation note for making changes in data structures and APIs in > > > order to > > > allow dynamic configuration of subport bandwidth profile. > > > These changes are aligned as suggested in the RFC[1]. > > > > > > https://mails.dpdk.org/archives/de

Re: [dpdk-dev] [PATCH v1] doc: update release notes for 20.08

2020-08-07 Thread Thomas Monjalon
07/08/2020 10:30, John McNamara: > Fix grammar, spelling and formatting of DPDK 20.08 release notes. > > Signed-off-by: John McNamara > --- > * **Updated Broadcom bnxt driver.** > > - Updated the Broadcom bnxt driver with new features and improvements, > including: > + Updated the Broadcom

Re: [dpdk-dev] [PATCH] doc: scheduler API deprecation notice

2020-08-07 Thread Thomas Monjalon
06/08/2020 19:18, Akhil Goyal: > > 27/07/2020 11:41, Adam Dybkowski: > > > This patch adds a deprecation notice about upcoming changes > > > in public API of the Scheduler PMD. > > > > > > Signed-off-by: Adam Dybkowski > > > Acked-by: Fan Zhang > > > --- > > > +* scheduler: The functions ``rte_cr

Re: [dpdk-dev] [PATCH v2] doc: announce move of aes gmac algorithm to aead

2020-08-07 Thread Thomas Monjalon
05/08/2020 17:15, Arek Kusztal: > This patch announces removal of RTE_CRYPTO_AUTH_AES_GMAC > from rte_crypto_auth_algorithm and addition of RTE_CRYPTO_AEAD_AES_GMAC > to rte_crypto_aead_algorithm. > AES-GMAC is variation of AES-GCM algorithm with the difference that > it does not perform encryption

Re: [dpdk-dev] [PATCH v3] doc: add new field to rxq info struct

2020-08-07 Thread Thomas Monjalon
07/08/2020 12:35, Ferruh Yigit: > On 8/7/2020 11:30 AM, Chengchang Tang wrote: > > Struct rte_eth_rxq_info will be modified to include a new field, indicating > > the size of each buffer that could be used for HW to receive packets. Add > > this field to rte_eth_rxq_info to expose relevant informat

Re: [dpdk-dev] [PATCH 20.11 04/12] net/axgbe: add checks for max SIMD bitwidth

2020-08-07 Thread Somalapuram, Amaranath
[AMD Official Use Only - Internal Distribution Only] ++selwin Please check. Get Outlook for Android From: Ciara Power Sent: Friday, August 7, 2020 9:28:51 PM To: dev@dpdk.org Cc: bruce.richard...@intel.com ; Ciara Power ; Somalapuram, Ama

Re: [dpdk-dev] [PATCH v5 1/6] drivers: add generic API to find PCI extended cap

2020-08-07 Thread Nithin Dabilpuram
On Thu, Jul 30, 2020 at 07:42:16AM -0700, Manish Chopra wrote: > By adding generic API, this patch removes individual > functions/defines implemented by drivers to find extended > PCI capabilities. > > Signed-off-by: Manish Chopra > Signed-off-by: Igor Russkikh > --- > drivers/bus/pci/pci_commo

[dpdk-dev] Rx interrupt testing

2020-08-07 Thread Owen Hilyard
Hello all, I've been looking at creating a test suite for the Rx interrupt feature, but I haven't been able to find a good way to interface with it and double check that the interrupts are handled correctly. I was wondering if there's an option I'm missing somewhere or if I should submit a ticket

Re: [dpdk-dev] [PATCH 20.11 02/12] eal: add default SIMD bitwidth values

2020-08-07 Thread David Christensen
On 8/7/20 9:31 AM, David Christensen wrote: On 8/7/20 8:58 AM, Ciara Power wrote: Each arch has a define for the default SIMD bitwidth value, this is used on EAL init to set the config max SIMD bitwidth. What's the intended use case? Cc: Ruifeng Wang Cc: Jerin Jacob Cc: Honnappa Nagara

Re: [dpdk-dev] [PATCH 20.11 02/12] eal: add default SIMD bitwidth values

2020-08-07 Thread David Christensen
On 8/7/20 8:58 AM, Ciara Power wrote: Each arch has a define for the default SIMD bitwidth value, this is used on EAL init to set the config max SIMD bitwidth. What's the intended use case? Cc: Ruifeng Wang Cc: Jerin Jacob Cc: Honnappa Nagarahalli Cc: David Christensen Signed-off-by: Ci

[dpdk-dev] [PATCH 20.11 5/7] app/acl: add AVX512 classify support

2020-08-07 Thread Konstantin Ananyev
Add ability to use AVX512 classify method. Signed-off-by: Konstantin Ananyev --- app/test-acl/main.c | 4 1 file changed, 4 insertions(+) diff --git a/app/test-acl/main.c b/app/test-acl/main.c index d9b65517c..19b714335 100644 --- a/app/test-acl/main.c +++ b/app/test-acl/main.c @@ -81,6 +8

[dpdk-dev] [PATCH 20.11 4/7] acl: add infrastructure to support AVX512 classify

2020-08-07 Thread Konstantin Ananyev
Add necessary changes to support new AVX512 specific ACL classify algorithm: - changes in meson.build and Makefile to check that build tools (compiler, assembler, etc.) do properly support AVX512. - dummy rte_acl_classify_avx512() for targets where AVX512 implementation couldn't be properly

[dpdk-dev] [PATCH 20.11 7/7] acl: enhance AVX512 classify implementation

2020-08-07 Thread Konstantin Ananyev
Add search_avx512x16x2() which uses mostly 512-bit width registers/instructions and is able to process up to 32 flows in parallel. Signed-off-by: Konstantin Ananyev --- These patch depends on: https://patches.dpdk.org/patch/70429/ to be applied first. lib/librte_acl/acl_run_avx512.c| 3 +

[dpdk-dev] [PATCH 20.11 6/7] acl: introduce AVX512 classify implementation

2020-08-07 Thread Konstantin Ananyev
Add search_avx512x8x2() which uses mostly 256-bit width registers/instructions and is able to process up to 16 flows in parallel. Signed-off-by: Konstantin Ananyev --- lib/librte_acl/acl_run_avx512.c | 120 ++ lib/librte_acl/acl_run_avx512x8.h | 614 ++ 2 files

[dpdk-dev] [PATCH 20.11 3/7] acl: remove of unused enum value

2020-08-07 Thread Konstantin Ananyev
Removal of unused enum value (RTE_ACL_CLASSIFY_NUM). This enum value is not used inside DPDK, while it prevents to add new classify algorithms without causing an ABI breakage. Note that this change introduce a formal ABI incompatibility with previous versions of ACL library. Signed-off-by: Konsta

[dpdk-dev] [PATCH 20.11 1/7] acl: fix x86 build when compiler doesn't support AVX2

2020-08-07 Thread Konstantin Ananyev
Right now we define dummy version of rte_acl_classify_avx2() when both X86 and AVX2 are not detected, though it should be for non-AVX2 case only. Fixes: e53ce4e41379 ("acl: remove use of weak functions") Cc: sta...@dpdk.org Signed-off-by: Konstantin Ananyev --- lib/librte_acl/rte_acl.c | 2 +-

[dpdk-dev] [PATCH 20.11 2/7] app/acl: few small improvements

2020-08-07 Thread Konstantin Ananyev
- enhance output to print extra stats - use rte_rdtsc_precise() for cycle measurements Signed-off-by: Konstantin Ananyev --- app/test-acl/main.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/app/test-acl/main.c b/app/test-acl/main.c index 0a5dfb621..d9b6551

[dpdk-dev] [PATCH 20.11 0/7] acl: introduce AVX512 classify method

2020-08-07 Thread Konstantin Ananyev
These patch series introduce support of AVX512 specific classify implementation for ACL library. Inside it contains two code-paths – one uses mostly 256 bit instruction/registers and can process up to 16 flows in parallel. second uses 512 bit instruction/registers over majority of places and can pr

Re: [dpdk-dev] [PATCH] doc: eventdev ABI change to support DLB PMD

2020-08-07 Thread McDaniel, Timothy
>-Original Message- >From: Thomas Monjalon >Sent: Wednesday, August 5, 2020 6:40 PM >To: McDaniel, Timothy >Cc: Jerin Jacob ; dev@dpdk.org; Jerin Jacob >; Mattias Rönnblom ; >Eads, Gage ; Van Haaren, Harry >; Hemant Agrawal >Subject: Re: [dpdk-dev] [PATCH] doc: eventdev ABI change to sup

Re: [dpdk-dev] [PATCH 20.11 00/12] add max SIMD bitwidth to EAL

2020-08-07 Thread Stephen Hemminger
On Fri, 7 Aug 2020 16:58:47 +0100 Ciara Power wrote: > A number of components in DPDK have optional AVX-512 or other vector > code paths which can be selected at runtime. Rather than having each > component provide its own mechanism to select a code path, this patchset > adds support for a singl

[dpdk-dev] [PATCH 20.11 12/12] net/virtio: add checks for max SIMD bitwidth

2020-08-07 Thread Ciara Power
When choosing a vector path to take, an extra condition must be satisfied to ensure the max SIMD bitwidth allows for the CPU enabled path. Cc: Maxime Coquelin Cc: Chenbo Xia Cc: Zhihong Wang Signed-off-by: Ciara Power --- drivers/net/virtio/virtio_ethdev.c | 12 1 file changed,

[dpdk-dev] [PATCH 20.11 08/12] net/iavf: add checks for max SIMD bitwidth

2020-08-07 Thread Ciara Power
When choosing a vector path to take, an extra condition must be satisfied to ensure the max SIMD bitwidth allows for the CPU enabled path. Cc: Jingjing Wu Cc: Beilei Xing Signed-off-by: Ciara Power --- drivers/net/iavf/iavf_rxtx.c | 16 ++-- 1 file changed, 10 insertions(+), 6 del

[dpdk-dev] [PATCH 20.11 11/12] net/mlx5: add checks for max SIMD bitwidth

2020-08-07 Thread Ciara Power
When choosing a vector path to take, an extra condition must be satisfied to ensure the max SIMD bitwidth allows for the CPU enabled path. Cc: Matan Azrad Cc: Shahaf Shuler Cc: Viacheslav Ovsiienko Signed-off-by: Ciara Power --- drivers/net/mlx5/mlx5_ethdev.c | 3 ++- 1 file changed, 2 inser

[dpdk-dev] [PATCH 20.11 07/12] net/fm10k: add checks for max SIMD bitwidth

2020-08-07 Thread Ciara Power
When choosing a vector path to take, an extra condition must be satisfied to ensure the max SIMD bitwidth allows for the CPU enabled path. Cc: Qi Zhang Cc: Xiao Wang Signed-off-by: Ciara Power --- drivers/net/fm10k/fm10k_ethdev.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(

[dpdk-dev] [PATCH 20.11 09/12] net/ice: add checks for max SIMD bitwidth

2020-08-07 Thread Ciara Power
When choosing a vector path to take, an extra condition must be satisfied to ensure the max SIMD bitwidth allows for the CPU enabled path. Cc: Qiming Yang Cc: Qi Zhang Signed-off-by: Ciara Power --- drivers/net/ice/ice_rxtx.c | 20 ++-- 1 file changed, 14 insertions(+), 6 dele

[dpdk-dev] [PATCH 20.11 10/12] net/ixgbe: add checks for max SIMD bitwidth

2020-08-07 Thread Ciara Power
When choosing a vector path to take, an extra condition must be satisfied to ensure the max SIMD bitwidth allows for the CPU enabled path. Cc: Wei Zhao Cc: Jeff Guo Signed-off-by: Ciara Power --- drivers/net/ixgbe/ixgbe_rxtx.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff

[dpdk-dev] [PATCH 20.11 02/12] eal: add default SIMD bitwidth values

2020-08-07 Thread Ciara Power
Each arch has a define for the default SIMD bitwidth value, this is used on EAL init to set the config max SIMD bitwidth. Cc: Ruifeng Wang Cc: Jerin Jacob Cc: Honnappa Nagarahalli Cc: David Christensen Signed-off-by: Ciara Power --- lib/librte_eal/arm/include/rte_vect.h | 2 ++ lib/lib

[dpdk-dev] [PATCH 20.11 04/12] net/axgbe: add checks for max SIMD bitwidth

2020-08-07 Thread Ciara Power
When choosing a vector path to take, an extra condition must be satisfied to ensure the max SIMD bitwidth allows for the CPU enabled path. Cc: Somalapuram Amaranath Signed-off-by: Ciara Power --- drivers/net/axgbe/axgbe_rxtx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[dpdk-dev] [PATCH 20.11 03/12] net/i40e: add checks for max SIMD bitwidth

2020-08-07 Thread Ciara Power
When choosing a vector path to take, an extra condition must be satisfied to ensure the max SIMD bitwidth allows for the CPU enabled path. Cc: Beilei Xing Cc: Jeff Guo Signed-off-by: Ciara Power --- drivers/net/i40e/i40e_rxtx.c | 19 +-- 1 file changed, 13 insertions(+), 6 del

[dpdk-dev] [PATCH 20.11 05/12] net/bnxt: add checks for max SIMD bitwidth

2020-08-07 Thread Ciara Power
When choosing a vector path to take, an extra condition must be satisfied to ensure the max SIMD bitwidth allows for the CPU enabled path. Cc: Ajit Khaparde Cc: Somnath Kotur Signed-off-by: Ciara Power --- drivers/net/bnxt/bnxt_ethdev.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions

[dpdk-dev] [PATCH 20.11 06/12] net/enic: add checks for max SIMD bitwidth

2020-08-07 Thread Ciara Power
When choosing a vector path to take, an extra condition must be satisfied to ensure the max SIMD bitwidth allows for the CPU enabled path. Cc: John Daley Cc: Hyong Youb Kim Signed-off-by: Ciara Power --- drivers/net/enic/enic_rxtx_vec_avx2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletio

[dpdk-dev] [PATCH 20.11 01/12] eal: add max SIMD bitwidth

2020-08-07 Thread Ciara Power
This patch adds a max SIMD bitwidth EAL configuration. The API allows for an app to set this value. It can also be set using EAL argument --force-max-simd-bitwidth, which will lock the value and override any modifications made by the app. Signed-off-by: Ciara Power --- lib/librte_eal/common/eal_

[dpdk-dev] [PATCH 20.11 00/12] add max SIMD bitwidth to EAL

2020-08-07 Thread Ciara Power
A number of components in DPDK have optional AVX-512 or other vector code paths which can be selected at runtime. Rather than having each component provide its own mechanism to select a code path, this patchset adds support for a single setting to control what code paths are used. This can be used

[dpdk-dev] [Bug 521] i40e: incorrect byte counters

2020-08-07 Thread bugzilla
https://bugs.dpdk.org/show_bug.cgi?id=521 Bug ID: 521 Summary: i40e: incorrect byte counters Product: DPDK Version: 18.11 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: Norm

Re: [dpdk-dev] [PATCH 20.11 02/19] build: remove makefiles and mk directory

2020-08-07 Thread Gaëtan Rivet
On 07/08/20 19:31 +0530, Jerin Jacob wrote: > On Fri, Aug 7, 2020 at 7:04 PM Ferruh Yigit wrote: > > > > On 8/7/2020 2:23 PM, Bruce Richardson wrote: > > > On Fri, Aug 07, 2020 at 06:49:47PM +0530, Jerin Jacob wrote: > > >> On Fri, Aug 7, 2020 at 6:15 PM Bruce Richardson > > >> wrote: > > >>> > >

Re: [dpdk-dev] [PATCH 20.11 02/19] build: remove makefiles and mk directory

2020-08-07 Thread Jerin Jacob
On Fri, Aug 7, 2020 at 7:04 PM Ferruh Yigit wrote: > > On 8/7/2020 2:23 PM, Bruce Richardson wrote: > > On Fri, Aug 07, 2020 at 06:49:47PM +0530, Jerin Jacob wrote: > >> On Fri, Aug 7, 2020 at 6:15 PM Bruce Richardson > >> wrote: > >>> > >>> On Fri, Aug 07, 2020 at 01:29:52PM +0100, Ciara Power w

Re: [dpdk-dev] [PATCH] doc: announce Vhost dequeue zero-copy removal

2020-08-07 Thread Thomas Monjalon
03/08/2020 16:55, Maxime Coquelin: > Vhost-user dequeue zero-copy support will be removed in > 20.11. The only known user is OVS where the feature is > still experimental, and has not received any update for > several years. This feature faces reliability issues and > is often conflicting with new

Re: [dpdk-dev] [dpdk-techboard] [PATCH 1/1] doc: add deprecation notice for CPU build flags

2020-08-07 Thread Thomas Monjalon
06/08/2020 23:41, Ferruh Yigit: > On 8/5/2020 5:45 PM, Bruce Richardson wrote: > > On Wed, Aug 05, 2020 at 05:15:31PM +0200, Thomas Monjalon wrote: > >> 05/08/2020 17:07, Bruce Richardson: > >>> On Wed, Aug 05, 2020 at 04:57:42PM +0200, Thomas Monjalon wrote: > 05/08/2020 16:21, Bruce Richards

Re: [dpdk-dev] [PATCH 20.11 02/19] build: remove makefiles and mk directory

2020-08-07 Thread Ferruh Yigit
On 8/7/2020 2:23 PM, Bruce Richardson wrote: > On Fri, Aug 07, 2020 at 06:49:47PM +0530, Jerin Jacob wrote: >> On Fri, Aug 7, 2020 at 6:15 PM Bruce Richardson >> wrote: >>> >>> On Fri, Aug 07, 2020 at 01:29:52PM +0100, Ciara Power wrote: It was decided [1] to no longer support Make in DPDK, t

Re: [dpdk-dev] [PATCH 20.11 00/19] remove make support in DPDK

2020-08-07 Thread Bruce Richardson
On Fri, Aug 07, 2020 at 01:29:50PM +0100, Ciara Power wrote: > As previously decided [1] and communicated via deprecation notice [2], the > make build system is to be removed in the 20.11 release. > > This patchset removes support for compiling DPDK with the legacy make > build system. Some make s

Re: [dpdk-dev] [PATCH 20.11 02/19] build: remove makefiles and mk directory

2020-08-07 Thread Bruce Richardson
On Fri, Aug 07, 2020 at 06:49:47PM +0530, Jerin Jacob wrote: > On Fri, Aug 7, 2020 at 6:15 PM Bruce Richardson > wrote: > > > > On Fri, Aug 07, 2020 at 01:29:52PM +0100, Ciara Power wrote: > > > It was decided [1] to no longer support Make in DPDK, this patch > > > removes all Makefiles that do no

Re: [dpdk-dev] [PATCH 20.11 02/19] build: remove makefiles and mk directory

2020-08-07 Thread Jerin Jacob
On Fri, Aug 7, 2020 at 6:15 PM Bruce Richardson wrote: > > On Fri, Aug 07, 2020 at 01:29:52PM +0100, Ciara Power wrote: > > It was decided [1] to no longer support Make in DPDK, this patch > > removes all Makefiles that do not make use of pkg-config, along with > > the mk directory previously used

Re: [dpdk-dev] [PATCH] doc: announce Vhost dequeue zero-copy removal

2020-08-07 Thread Aaron Conole
Maxime Coquelin writes: > Vhost-user dequeue zero-copy support will be removed in > 20.11. The only known user is OVS where the feature is > still experimental, and has not received any update for > several years. This feature faces reliability issues and > is often conflicting with new features

Re: [dpdk-dev] [PATCH] doc: add sample for ABI checks in contribution guide

2020-08-07 Thread Kinsella, Ray
On 07/08/2020 00:43, Thomas Monjalon wrote: > +Cc David, Neil and Ray > > 03/07/2020 19:15, Ferruh Yigit: >> Signed-off-by: Ferruh Yigit >> --- >> doc/guides/contributing/patches.rst | 4 >> 1 file changed, 4 insertions(+) >> >> diff --git a/doc/guides/contributing/patches.rst >> b/doc/

Re: [dpdk-dev] [PATCH] doc: add sample for ABI checks in contribution guide

2020-08-07 Thread Ferruh Yigit
On 8/7/2020 1:00 PM, Kinsella, Ray wrote: > > > On 07/08/2020 00:43, Thomas Monjalon wrote: >> +Cc David, Neil and Ray >> >> 03/07/2020 19:15, Ferruh Yigit: >>> Signed-off-by: Ferruh Yigit >>> --- >>> doc/guides/contributing/patches.rst | 4 >>> 1 file changed, 4 insertions(+) >>> >>> diff

Re: [dpdk-dev] [PATCH] doc: add sample for ABI checks in contribution guide

2020-08-07 Thread Kinsella, Ray
On 07/08/2020 13:58, Ferruh Yigit wrote: > On 8/7/2020 1:00 PM, Kinsella, Ray wrote: >> >> >> On 07/08/2020 00:43, Thomas Monjalon wrote: >>> +Cc David, Neil and Ray >>> >>> 03/07/2020 19:15, Ferruh Yigit: Signed-off-by: Ferruh Yigit --- doc/guides/contributing/patches.rst | 4 +

Re: [dpdk-dev] [PATCH 20.11 02/19] build: remove makefiles and mk directory

2020-08-07 Thread Bruce Richardson
On Fri, Aug 07, 2020 at 01:29:52PM +0100, Ciara Power wrote: > It was decided [1] to no longer support Make in DPDK, this patch > removes all Makefiles that do not make use of pkg-config, along with > the mk directory previously used by make. > > [1] https://mails.dpdk.org/archives/dev/2020-April/

[dpdk-dev] [PATCH 20.11 19/19] doc: remove references to make in vdpadevs guides

2020-08-07 Thread Ciara Power
Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power --- doc/guides/vdpadevs/mlx5.rst | 40 +++- 1 file changed, 3 insertions(+), 37 deletions(-) diff --git a/doc/guides/vdpadevs/mlx5.rst b/do

[dpdk-dev] [PATCH 20.11 17/19] doc: remove references to make in rawdev guides

2020-08-07 Thread Ciara Power
Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power --- doc/guides/rawdevs/dpaa2_cmdif.rst | 21 - doc/guides/rawdevs/dpaa2_qdma.rst| 21 - doc/guides/rawdevs/ifpga.rst |

[dpdk-dev] [PATCH 20.11 18/19] doc: remove references to make in sample app guides

2020-08-07 Thread Ciara Power
Signed-off-by: Ciara Power --- doc/guides/sample_app_ug/bbdev_app.rst| 11 +-- doc/guides/sample_app_ug/compiling.rst| 29 --- .../sample_app_ug/l3_forward_access_ctrl.rst | 2 +- .../sample_app_ug/performance_thread.rst | 3 +- doc/guides/sample_app_ug

[dpdk-dev] [PATCH 20.11 16/19] doc: remove references to make in prog guides

2020-08-07 Thread Ciara Power
Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power --- doc/guides/prog_guide/build_app.rst | 46 +--- .../prog_guide/dev_kit_build_system.rst | 218 +- .../prog_guide/dev_kit_root_make_help.

[dpdk-dev] [PATCH 20.11 15/19] doc: remove references to make in platform guides

2020-08-07 Thread Ciara Power
Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power --- doc/guides/platform/bluefield.rst | 15 -- doc/guides/platform/octeontx.rst | 33 +-- doc/guides/platform/octeontx2.rst | 24 --

[dpdk-dev] [PATCH 20.11 14/19] doc: remove references to make in NIC guides

2020-08-07 Thread Ciara Power
Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power --- doc/guides/nics/ark.rst | 26 --- doc/guides/nics/atlantic.rst| 4 --- doc/guides/nics/axgbe.rst | 15 - doc/guides/nics/bnx2x.rs

[dpdk-dev] [PATCH 20.11 13/19] doc: remove references to make in mempool guides

2020-08-07 Thread Ciara Power
Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power --- doc/guides/mempool/octeontx.rst | 28 doc/guides/mempool/octeontx2.rst | 8 2 files changed, 36 deletions(-) diff --git a/doc/g

[dpdk-dev] [PATCH 20.11 12/19] doc: remove references to make in Linux gsg guides

2020-08-07 Thread Ciara Power
Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power --- doc/guides/linux_gsg/build_dpdk.rst | 58 --- doc/guides/linux_gsg/build_sample_apps.rst| 16 + .../linux_gsg/cross_build_dpdk_for_arm

[dpdk-dev] [PATCH 20.11 11/19] doc: remove references to make in howto guides

2020-08-07 Thread Ciara Power
Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power --- doc/guides/howto/packet_capture_framework.rst | 17 +--- doc/guides/howto/pvp_reference_benchmark.rst | 26 --- 2 files changed, 1 insertion(+)

[dpdk-dev] [PATCH 20.11 09/19] doc: remove references to make in eventdev guides

2020-08-07 Thread Ciara Power
Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power --- doc/guides/eventdevs/dpaa.rst | 20 doc/guides/eventdevs/dpaa2.rst | 20 doc/guides/eventdevs/octeontx.rst | 24

[dpdk-dev] [PATCH 20.11 10/19] doc: remove references to make in FreeBSD gsg guide

2020-08-07 Thread Ciara Power
Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power --- doc/guides/freebsd_gsg/intro.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/guides/freebsd_gsg/intro.rst b/doc/guides/freebsd_gsg/intro

[dpdk-dev] [PATCH 20.11 07/19] doc: remove references to make in contributing guides

2020-08-07 Thread Ciara Power
Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power --- doc/guides/contributing/coding_style.rst | 46 +--- doc/guides/contributing/design.rst| 127 ++ doc/guides/contributing/documentation.

[dpdk-dev] [PATCH 20.11 06/19] doc: remove references to make in compressdev guides

2020-08-07 Thread Ciara Power
Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power --- doc/guides/compressdevs/isal.rst | 4 doc/guides/compressdevs/octeontx.rst | 16 doc/guides/compressdevs/zlib.rst | 4 3 files chan

[dpdk-dev] [PATCH 20.11 08/19] doc: remove references to make in cryptodev guides

2020-08-07 Thread Ciara Power
Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power --- doc/guides/cryptodevs/aesni_gcm.rst | 2 -- doc/guides/cryptodevs/aesni_mb.rst | 2 -- doc/guides/cryptodevs/armv8.rst | 3 -- doc/guides/cryptodevs/caam_jr.rst

[dpdk-dev] [PATCH 20.11 05/19] doc: remove references to make in bbdev guides

2020-08-07 Thread Ciara Power
Make is no longer supported for compiling DPDK, references are now removed in the documentation. Signed-off-by: Ciara Power --- doc/guides/bbdevs/fpga_5gnr_fec.rst | 5 + doc/guides/bbdevs/fpga_lte_fec.rst | 5 + doc/guides/bbdevs/turbo_sw.rst | 15 --- 3 files change

[dpdk-dev] [PATCH 20.11 03/19] config: remove all config files used by make

2020-08-07 Thread Ciara Power
Make is not supported for compiling DPDK, the config files are no longer needed. Signed-off-by: Ciara Power --- config/common_armv8a_linux| 43 - config/common_base| 1154 - config/common_freebsd | 15 -

[dpdk-dev] [PATCH 20.11 04/19] buildtools: remove all scripts for use with make

2020-08-07 Thread Ciara Power
Make is no longer supported for compiling DPDK, scripts used with make are no longer needed. Signed-off-by: Ciara Power --- buildtools/auto-config-h.sh | 108 buildtools/gen-build-mk.sh | 23 buildtools/gen-config-h.sh | 15 - buildtools/relp

[dpdk-dev] [PATCH 20.11 01/19] examples: remove legacy sections of makefiles

2020-08-07 Thread Ciara Power
The example app makefiles contained sections using the legacy method of compiling with make. These are no longer needed, and are removed, leaving only the section that uses pkg-config for the make build. Signed-off-by: Ciara Power --- examples/bbdev_app/Makefile | 23 ++-

[dpdk-dev] [PATCH 20.11 00/19] remove make support in DPDK

2020-08-07 Thread Ciara Power
As previously decided [1] and communicated via deprecation notice [2], the make build system is to be removed in the 20.11 release. This patchset removes support for compiling DPDK with the legacy make build system. Some make support is maintained for example applications, where pkg-config is used

[dpdk-dev] [RFC]lib/ethdev: fix data type in tc_rxq and tc_txq

2020-08-07 Thread humin (Q)
Currently, base and nb_queue in the tc_rxq and tc_txq information of queue and TC mapping on both TX and RX paths are uint8_t. The structure is as follows: struct rte_eth_dcb_tc_queue_mapping { /** rx queues assigned to tc per Pool */ struct { uint8_t base;

[dpdk-dev] [PATCH 2/2] net/octeontx2: add rss hash level support

2020-08-07 Thread kirankumark
From: Kiran Kumar K Add support to choose rss hash level from ethdev rss config. Signed-off-by: Kiran Kumar K --- drivers/net/octeontx2/otx2_ethdev.h | 4 +++- drivers/net/octeontx2/otx2_rss.c| 9 +++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/drivers/net/octeont

[dpdk-dev] [PATCH 1/2] ethdev: add level support for RSS offload types

2020-08-07 Thread kirankumark
From: Kiran Kumar K This patch reserves 2 bits as input selection to select Inner and outer layers for RSS computation. It is combined with existing ETH_RSS_* to choose Inner or outer layers for L2, L3 and L4. This functionality already exists in rte_flow through level parameter in RSS action con

Re: [dpdk-dev] [PATCH] doc: add sample for ABI checks in contribution guide

2020-08-07 Thread Kinsella, Ray
On 07/08/2020 00:43, Thomas Monjalon wrote: > +Cc David, Neil and Ray > > 03/07/2020 19:15, Ferruh Yigit: >> Signed-off-by: Ferruh Yigit >> --- >> doc/guides/contributing/patches.rst | 4 >> 1 file changed, 4 insertions(+) >> >> diff --git a/doc/guides/contributing/patches.rst >> b/doc/

Re: [dpdk-dev] [PATCH] doc: announce Vhost dequeue zero-copy removal

2020-08-07 Thread Loftus, Ciara
> > Vhost-user dequeue zero-copy support will be removed in > 20.11. The only known user is OVS where the feature is > still experimental, and has not received any update for > several years. This feature faces reliability issues and > is often conflicting with new features being implemented. > >

Re: [dpdk-dev] [PATCH] usertools: warn about future removal of setup script

2020-08-07 Thread Thomas Monjalon
06/08/2020 20:14, Stephen Hemminger: > On Thu, 6 Aug 2020 19:13:03 +0200 > Thomas Monjalon wrote: > > > As agreed in the deprecation notice, the "generic" script > > to setup the Linux environment will be removed in DPDK 20.11. > > Some specific parts may be converted into dedicated scripts. > >

Re: [dpdk-dev] [PATCH] devtools: ignore PREFER_FALLTHROUGH

2020-08-07 Thread Thomas Monjalon
05/08/2020 15:54, Thomas Monjalon: > 05/08/2020 15:34, Adrian Moreno: > > On 8/5/20 11:12 AM, Thomas Monjalon wrote: > > > 04/08/2020 09:38, Adrian Moreno: > > >> --- a/devtools/checkpatches.sh > > >> +++ b/devtools/checkpatches.sh > > >> @@ -33,7 +33,7 @@ VOLATILE,PREFER_PACKED,PREFER_ALIGNED,PREF

Re: [dpdk-dev] [PATCH] devtools: add acronyms in dictionary for commit checks

2020-08-07 Thread Thomas Monjalon
06/08/2020 16:24, Ferruh Yigit: > GTPU -> GPRS Tunnelling Protocol User Plane > MSI -> Message Signalled Interrupts > MSI-X -> Message Signalled Interrupts (Extended) > TCAM -> Ternary Content Addressable Memory > ULP -> Upper Layer Protocol > XOR -> Exclusive OR > > Signed-off-by: Ferruh

Re: [dpdk-dev] [PATCH] doc: announce changes to ethdev rxconf structure

2020-08-07 Thread Slava Ovsiienko
> -Original Message- > From: Stephen Hemminger > Sent: Thursday, August 6, 2020 21:10 > To: Slava Ovsiienko > Cc: Ferruh Yigit ; Jerin Jacob > ; dpdk-dev ; Matan Azrad > ; Raslan Darawsheh ; > Thomas Monjalon ; Andrew Rybchenko > ; Ajit Khaparde > ; Maxime Coquelin > ; Olivier Matz ; > Da

Re: [dpdk-dev] [PATCH v3 20.08 0/6] inclusive language fixes and deprecation notices

2020-08-07 Thread Thomas Monjalon
> > From: Stephen Hemminger > > This set annonuces the upcoming changes for 20.11 around master/slave and > > blacklist/whitelist. It also fixes several places in the current code > > where the wrong and confusing terminolgy was used. > > Acked-by: John McNamara Applied

Re: [dpdk-dev] [PATCH v2 20.08 0/6] inclusive language fixes and deprecation notices

2020-08-07 Thread Mcnamara, John
I just acked it. > -Original Message- > From: Thomas Monjalon > Sent: Thursday, August 6, 2020 5:57 PM > To: Stephen Hemminger > Cc: dev@dpdk.org; Richardson, Bruce ; > bl...@debian.org; Mcnamara, John > Subject: Re: [dpdk-dev] [PATCH v2 20.08 0/6] inclusive language fixes and > depreca

Re: [dpdk-dev] [PATCH v3 20.08 0/6] inclusive language fixes and deprecation notices

2020-08-07 Thread Mcnamara, John
> -Original Message- > From: dev On Behalf Of Stephen Hemminger > Sent: Thursday, August 6, 2020 6:20 PM > To: dev@dpdk.org > Cc: Stephen Hemminger > Subject: [dpdk-dev] [PATCH v3 20.08 0/6] inclusive language fixes and > deprecation notices > > This set annonuces the upcoming changes fo

Re: [dpdk-dev] [PATCH v3] doc: add new field to rxq info struct

2020-08-07 Thread Ferruh Yigit
On 8/7/2020 11:30 AM, Chengchang Tang wrote: > Struct rte_eth_rxq_info will be modified to include a new field, indicating > the size of each buffer that could be used for HW to receive packets. Add > this field to rte_eth_rxq_info to expose relevant information to upper > layer users/application.

[dpdk-dev] [PATCH v3] doc: add new field to rxq info struct

2020-08-07 Thread Chengchang Tang
Struct rte_eth_rxq_info will be modified to include a new field, indicating the size of each buffer that could be used for HW to receive packets. Add this field to rte_eth_rxq_info to expose relevant information to upper layer users/application. For more details: https://mails.dpdk.org/archives/de

Re: [dpdk-dev] [dpdk-stable] [PATCH] net/af_xdp: change return value from Rx to unsigned

2020-08-07 Thread Ferruh Yigit
On 8/7/2020 10:32 AM, Ciara Loftus wrote: > The af_xdp rx function was returning a negative value on error, when an > unsigned value is expected. Fix this. > > Fixes: d8a210774e1d ("net/af_xdp: support unaligned umem chunks") > Cc: sta...@dpdk.org > > Signed-off-by: Ciara Loftus > --- > drivers

[dpdk-dev] [PATCH] net/af_xdp: change return value from Rx to unsigned

2020-08-07 Thread Ciara Loftus
The af_xdp rx function was returning a negative value on error, when an unsigned value is expected. Fix this. Fixes: d8a210774e1d ("net/af_xdp: support unaligned umem chunks") Cc: sta...@dpdk.org Signed-off-by: Ciara Loftus --- drivers/net/af_xdp/rte_eth_af_xdp.c | 2 +- 1 file changed, 1 inser

Re: [dpdk-dev] [PATCH v3] doc: update RSS action with best effort

2020-08-07 Thread Andrew Rybchenko
On 8/7/20 8:02 AM, Ori Kam wrote: > Using the rte_flow action RSS types field, > may result in undefined outcome. > > For example selecting both UDP and TCP, > selecting TCP RSS type but the pattern is targeting UDP traffic. > another option is that the PMD doesn't support all requested types. >

Re: [dpdk-dev] [PATCH v3 20.08 4/6] doc: announce deprecation blacklist/whitelist

2020-08-07 Thread Gaëtan Rivet
On 07/08/20 02:15 +0200, Thomas Monjalon wrote: > 06/08/2020 19:19, Stephen Hemminger: > > Announce upcoming changes for 20.11. > > > > Signed-off-by: Stephen Hemminger > > Acked-by: Bruce Richardson > > Acked-by: Thomas Monjalon > > Good thing to update short options as well, -i and -x see

[dpdk-dev] [PATCH v1] doc: update release notes for 20.08

2020-08-07 Thread John McNamara
Fix grammar, spelling and formatting of DPDK 20.08 release notes. Signed-off-by: John McNamara --- doc/guides/rel_notes/release_20_08.rst | 61 ++ 1 file changed, 32 insertions(+), 29 deletions(-) diff --git a/doc/guides/rel_notes/release_20_08.rst b/doc/guides/

Re: [dpdk-dev] [PATCH v1] vhost: add device reset status

2020-08-07 Thread Xia, Chenbo
Hi Adrian, > -Original Message- > From: Adrian Moreno > Sent: Thursday, August 6, 2020 7:59 PM > To: Xia, Chenbo ; dev@dpdk.org > Cc: maxime.coque...@redhat.com; Wang, Zhihong > Subject: Re: [PATCH v1] vhost: add device reset status > > > > On 8/6/20 1:34 PM, Chenbo Xia wrote: > > vho

Re: [dpdk-dev] [PATCH v2] doc: add new field to rxq info struct

2020-08-07 Thread Thomas Monjalon
For info, today is the last day to get trusted acks on deprecations. 07/08/2020 05:51, Chengchang Tang: > On 2020/8/6 23:25, Ferruh Yigit wrote: > > On 8/6/2020 5:00 AM, Chengchang Tang wrote: > >> Struct rte_eth_rxq_info will be modified to include a new field, indicating > >> the size of each bu