Re: [dpdk-dev] [PATCH v3] eal/arm64: update CPU flags

2020-08-17 Thread Jerin Jacob
On Tue, Aug 18, 2020 at 9:11 AM Ruifeng Wang wrote: > > Hi, > > > -Original Message- > > From: Wei Hu (Xavier) > > Sent: Tuesday, August 18, 2020 10:44 AM > > To: dev@dpdk.org > > Cc: xavier.hu...@huawei.com; nd ; Honnappa Nagarahalli > > ; Ruifeng Wang > > ; jerinjac...@gmail.com > > Sub

Re: [dpdk-dev] [PATCH] app/testpmd: fix the default RSS key configuration

2020-08-17 Thread oulijun
在 2020/8/4 17:36, Phil Yang 写道: -Original Message- From: oulijun Sent: Tuesday, August 4, 2020 9:29 AM To: Phil Yang ; wenzhuo...@intel.com; beilei.x...@intel.com; bernard.iremon...@intel.com; adrien.mazarg...@6wind.com; ferruh.yi...@intel.com Cc: dev@dpdk.org; linux...@huawei.com; nd

Re: [dpdk-dev] [PATCH v3] eal/arm64: update CPU flags

2020-08-17 Thread Ruifeng Wang
Hi, > -Original Message- > From: Wei Hu (Xavier) > Sent: Tuesday, August 18, 2020 10:44 AM > To: dev@dpdk.org > Cc: xavier.hu...@huawei.com; nd ; Honnappa Nagarahalli > ; Ruifeng Wang > ; jerinjac...@gmail.com > Subject: [PATCH v3] eal/arm64: update CPU flags > > From: "Wei Hu (Xavier)"

[dpdk-dev] [PATCH V2] net/hns3: support getting Tx and Rx queue information

2020-08-17 Thread Wei Hu (Xavier)
From: Huisong Li This patch adds support for querying Rx/Tx queue information. Currently, if there are not available Rx buffer descriptors in receiving direction based on hns3 network engine, incoming packets will always be dropped by hardware. This patch reports the '.rx_drop_en' information to

[dpdk-dev] [PATCH] net/hns3: support getting Tx and Rx queue information

2020-08-17 Thread Wei Hu (Xavier)
From: Huisong Li This patch adds support for querying Rx/Tx queue information. Currently, if there are not available Rx buffer descriptors in recieving direction based on hns3 network engine, incoming packets will always be dropped by hardware. This patch reports the '.rx_drop_en' information to

Re: [dpdk-dev] [PATCH v2] lib/librte_eal: support SVE flag on ARM64

2020-08-17 Thread Wei Hu (Xavier)
Hi, Jerin Jacob On 2020/8/17 21:07, Jerin Jacob wrote: On Mon, Aug 17, 2020 at 6:17 PM Wei Hu (Xavier) wrote: From: "Wei Hu (Xavier)" SVE is the next-generation SIMD extension of the ARMv8-A AArch64 instruction set. The related marco definition can be found in linux kernel: arch/arm64/in

[dpdk-dev] [PATCH v3] eal/arm64: update CPU flags

2020-08-17 Thread Wei Hu (Xavier)
From: "Wei Hu (Xavier)" SVE is the next-generation SIMD extension of the ARMv8-A AArch64 instruction set. The related marco definition can be found in linux kernel: arch/arm64/include/uapi/asm/hwcap.h This patch updates cpu SVE flags on ARM64 platform, such as SVE, etc. Signed-off-by: Chengwe

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

2020-08-17 Thread humin (Q)
Dear all: Are there any suggestions for this patch? 在 2020/8/7 20:33, 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 queu

[dpdk-dev] [PATCH v1 10/11] baseband/acc100: add configure function

2020-08-17 Thread Nicolas Chautru
Add configure function to configure the PF from within the bbdev-test itself without external application configuration the device. Signed-off-by: Nicolas Chautru --- app/test-bbdev/test_bbdev_perf.c | 72 +++ drivers/baseband/acc100/Makefile | 3 + drivers

[dpdk-dev] [PATCH v1 11/11] doc: update bbdev feature table

2020-08-17 Thread Nicolas Chautru
Correcting overview matrix to use acc100 name Signed-off-by: Nicolas Chautru --- doc/guides/bbdevs/features/acc100.ini | 14 ++ doc/guides/bbdevs/features/mbc.ini| 14 -- 2 files changed, 14 insertions(+), 14 deletions(-) create mode 100644 doc/guides/bbdevs/features

[dpdk-dev] [PATCH v1 05/11] baseband/acc100: add LDPC processing functions

2020-08-17 Thread Nicolas Chautru
Adding LDPC decode and encode processing operations Signed-off-by: Nicolas Chautru --- drivers/baseband/acc100/rte_acc100_pmd.c | 1636 +- 1 file changed, 1634 insertions(+), 2 deletions(-) diff --git a/drivers/baseband/acc100/rte_acc100_pmd.c b/drivers/baseband/acc

[dpdk-dev] [PATCH v1 08/11] baseband/acc100: add interrupt support to PMD

2020-08-17 Thread Nicolas Chautru
Adding capability and functions to support MSI interrupts, call backs and inforing. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc100/rte_acc100_pmd.c | 285 ++- drivers/baseband/acc100/rte_acc100_pmd.h | 15 ++ 2 files changed, 298 insertions(+), 2 deletion

[dpdk-dev] [PATCH v1 07/11] baseband/acc100: add support for 4G processing

2020-08-17 Thread Nicolas Chautru
Adding capability for 4G encode and decoder processing Signed-off-by: Nicolas Chautru --- drivers/baseband/acc100/rte_acc100_pmd.c | 1012 -- 1 file changed, 945 insertions(+), 67 deletions(-) diff --git a/drivers/baseband/acc100/rte_acc100_pmd.c b/drivers/baseband/

[dpdk-dev] [PATCH v1 09/11] baseband/acc100: add debug function to validate input

2020-08-17 Thread Nicolas Chautru
Debug functions to validate the input API from user Only enabled in DEBUG mode at build time Signed-off-by: Nicolas Chautru --- drivers/baseband/acc100/rte_acc100_pmd.c | 424 +++ 1 file changed, 424 insertions(+) diff --git a/drivers/baseband/acc100/rte_acc100_pmd.c

[dpdk-dev] [PATCH v1 04/11] baseband/acc100: add queue configuration

2020-08-17 Thread Nicolas Chautru
Adding function to create and configure queues for the device. Still no capability. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc100/rte_acc100_pmd.c | 420 ++- drivers/baseband/acc100/rte_acc100_pmd.h | 45 2 files changed, 464 insertions(+), 1 deleti

[dpdk-dev] [PATCH v1 03/11] baseband/acc100: add info_get function

2020-08-17 Thread Nicolas Chautru
Add in the "info_get" function to the driver, to allow us to query the device. No processing capability are available yet. Linking bbdev-test to support the PMD with null capability. Signed-off-by: Nicolas Chautru --- app/test-bbdev/Makefile | 3 + app/test-bbdev/meson.build

[dpdk-dev] [PATCH v1 06/11] baseband/acc100: add HARQ loopback support

2020-08-17 Thread Nicolas Chautru
Additional support for HARQ memory loopback Signed-off-by: Nicolas Chautru --- drivers/baseband/acc100/rte_acc100_pmd.c | 158 +++ 1 file changed, 158 insertions(+) diff --git a/drivers/baseband/acc100/rte_acc100_pmd.c b/drivers/baseband/acc100/rte_acc100_pmd.c inde

[dpdk-dev] [PATCH v1 01/11] drivers/baseband: add PMD for ACC100

2020-08-17 Thread Nicolas Chautru
Add stubs for the ACC100 PMD Signed-off-by: Nicolas Chautru --- config/common_base | 4 + doc/guides/bbdevs/acc100.rst | 233 + doc/guides/bbdevs/index.rst| 1 + doc/guides/rel_notes/release_20_

[dpdk-dev] [PATCH v1 00/11] bbdev PMD ACC100

2020-08-17 Thread Nicolas Chautru
This set includes a new PMD for the accelerator ACC100 for 4G+5G FEC in 20.11. Documentation is updated as well accordingly. Existing unit tests are all still supported. Nicolas Chautru (11): drivers/baseband: add PMD for ACC100 baseband/acc100: add register definition file baseband/acc100

[dpdk-dev] [PATCH v1 02/11] baseband/acc100: add register definition file

2020-08-17 Thread Nicolas Chautru
Add in the list of registers for the device and related HW specs definitions. Signed-off-by: Nicolas Chautru --- drivers/baseband/acc100/acc100_pf_enum.h | 1068 ++ drivers/baseband/acc100/acc100_vf_enum.h | 73 ++ drivers/baseband/acc100/rte_acc100_pmd.h | 490 +++

[dpdk-dev] [RFC] ethdev: introduce Rx buffer split

2020-08-17 Thread Slava Ovsiienko
>From 7f7052d8b85ff3ff7011bd844b6d3169c6e51923 Mon Sep 17 00:00:00 2001 From: Viacheslav Ovsiienko Date: Mon, 17 Aug 2020 16:57:43 + Subject: [RFC] ethdev: introduce Rx buffer split The DPDK datapath in the transmit direction is very flexible. An application can build the multisegment packet

Re: [dpdk-dev] [PATCH] net/tap: avoid using SIGIO

2020-08-17 Thread Ferruh Yigit
On 7/28/2020 11:48 AM, Morten Brørup wrote: >> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Stephen Hemminger >> Sent: Monday, July 27, 2020 9:44 PM >> >> On Mon, 27 Jul 2020 15:19:32 +0200 >> Morten Brørup wrote: >> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Stephen >> Hemm

Re: [dpdk-dev] [PATCH] eal: add option to put timestamp on console output

2020-08-17 Thread Stephen Hemminger
On Mon, 17 Aug 2020 11:37:40 +0100 Bruce Richardson wrote: > On Fri, Aug 14, 2020 at 12:20:28PM -0700, Stephen Hemminger wrote: > > On Fri, 14 Aug 2020 22:09:11 +0300 > > Dmitry Kozlyuk wrote: > > > > > On Fri, 14 Aug 2020 11:45:49 -0700, Stephen Hemminger wrote: > > > > On Fri, 14 Aug 2020

[dpdk-dev] [PATCH v2 0/1] pci_vfio_disable_notifier(): avoid race with unregister

2020-08-17 Thread Renata Saiakhova
For pci_vfio, while removing the device by rte_dev_remove(), pci_vfio_disable_notifier() will call rte_intr_callback_unregister(), which may return -EAGAIN, if an interrupt source (kernel) has some active callbacks right now. As a result, the callback (req notifier) can be never unregistered, and

[dpdk-dev] [PATCH v2 1/1] librte_eal: rte_intr_callback_unregister_sync() - wrapper around rte_intr_callback_unregister().

2020-08-17 Thread Renata Saiakhova
Avoid race with unregister interrupt hanlder if interrupt source has some active callbacks at the moment, use wrapper around rte_intr_callback_unregister() to check for -EAGAIN return value and to loop until rte_intr_callback_unregister() succeeds. Signed-off-by: Renata Saiakhova --- drivers/bus

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

2020-08-17 Thread Bruce Richardson
On Fri, Aug 07, 2020 at 01:30:06PM +0100, Ciara Power wrote: > 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

Re: [dpdk-dev] [PATCH v2] lib/librte_eal: support SVE flag on ARM64

2020-08-17 Thread Jerin Jacob
On Mon, Aug 17, 2020 at 6:17 PM Wei Hu (Xavier) wrote: > > From: "Wei Hu (Xavier)" > > SVE is the next-generation SIMD extension of the ARMv8-A AArch64 > instruction set. > The related marco definition can be found in linux kernel: > arch/arm64/include/uapi/asm/hwcap.h > > This patch supports g

[dpdk-dev] [PATCH v2] lib/librte_eal: support SVE flag on ARM64

2020-08-17 Thread Wei Hu (Xavier)
From: "Wei Hu (Xavier)" SVE is the next-generation SIMD extension of the ARMv8-A AArch64 instruction set. The related marco definition can be found in linux kernel: arch/arm64/include/uapi/asm/hwcap.h This patch supports getting cpu SVE feature on ARM64 platform. Signed-off-by: Chengwen Feng

Re: [dpdk-dev] [PATCH] lib/librte_eal: support SVE flag on ARM64

2020-08-17 Thread Wei Hu (Xavier)
Hi, Ruifeng Wang On 2020/7/22 14:35, Ruifeng Wang wrote: Hi Xavier, -Original Message- From: Wei Hu (Xavier) Sent: Saturday, July 18, 2020 10:18 AM To: Honnappa Nagarahalli ; dev@dpdk.org Cc: nd ; Ruifeng Wang ; Wei Hu (Xavier) Subject: Re: [dpdk-dev] [PATCH] lib/librte_eal: support

[dpdk-dev] [PATCH v2] mempool: enhance dump function to print ops name

2020-08-17 Thread Hemant Agrawal
Enhance the dump function to also print the ops index and associated mempool ops name Signed-off-by: Hemant Agrawal --- lib/librte_mempool/rte_mempool.c | 5 + 1 file changed, 5 insertions(+) diff --git a/lib/librte_mempool/rte_mempool.c b/lib/librte_mempool/rte_mempool.c index 7774f0c8da..

Re: [dpdk-dev] [PATCH v2] meter: remove experimental alias

2020-08-17 Thread Dumitrescu, Cristian
> -Original Message- > From: Yigit, Ferruh > Sent: Monday, August 17, 2020 11:22 AM > To: Dumitrescu, Cristian ; Ray Kinsella > ; Neil Horman > Cc: dev@dpdk.org; Yigit, Ferruh > Subject: [PATCH v2] meter: remove experimental alias > > Remove ABI versioning for APIs: > 'rte_meter_trtc

[dpdk-dev] Ipsec-secgw packet processing

2020-08-17 Thread satyavalli rama
Hello, While we are running ipsec-secgw application in transport-mode on dpdk-19.02, we found that inline packet processing is not happening. And also we are not observing any encrypt/decrypt packets on pdump before sending packets out from tx-port(rte_eth_tx_burst()). Please help us on how to p

Re: [dpdk-dev] [PATCH] eal: add option to put timestamp on console output

2020-08-17 Thread Bruce Richardson
On Fri, Aug 14, 2020 at 12:20:28PM -0700, Stephen Hemminger wrote: > On Fri, 14 Aug 2020 22:09:11 +0300 > Dmitry Kozlyuk wrote: > > > On Fri, 14 Aug 2020 11:45:49 -0700, Stephen Hemminger wrote: > > > On Fri, 14 Aug 2020 21:39:29 +0300 > > > Dmitry Kozlyuk wrote: > > [...] > > > FreeBsd doesn'

[dpdk-dev] [PATCH v2] kni: fix build with Linux 5.9

2020-08-17 Thread Ferruh Yigit
Starting from Linux 5.9 'get_user_pages_remote()' API doesn't get 'struct task_struct' parameter: commit 64019a2e467a ("mm/gup: remove task_struct pointer for all gup code") The change reflected to the KNI with version check. Cc: sta...@dpdk.org Signed-off-by: Ferruh Yigit --- v2: * Add stable

[dpdk-dev] [PATCH] kni: fix build with Linux 5.9

2020-08-17 Thread Ferruh Yigit
Starting from Linux 5.9 'get_user_pages_remote()' API doesn't get 'struct task_struct' parameter: commit 64019a2e467a ("mm/gup: remove task_struct pointer for all gup code") The change reflected to the KNI with version check. Signed-off-by: Ferruh Yigit --- kernel/linux/kni/compat.h | 4

[dpdk-dev] [PATCH v2] meter: remove experimental alias

2020-08-17 Thread Ferruh Yigit
Remove ABI versioning for APIs: 'rte_meter_trtcm_rfc4115_profile_config()' 'rte_meter_trtcm_rfc4115_config()' The alias was introduced in commit 60197bda97a0 ("meter: provide experimental alias for matured API") Signed-off-by: Ferruh Yigit --- v2: * Update meson to remove 'use_function_versionin

[dpdk-dev] [PATCH] meter: remove experimental alias

2020-08-17 Thread Ferruh Yigit
Remove ABI versioning for APIs: 'rte_meter_trtcm_rfc4115_profile_config()' 'rte_meter_trtcm_rfc4115_config()' The alias was introduced in commit 60197bda97a0 ("meter: provide experimental alias for matured API") Signed-off-by: Ferruh Yigit --- lib/librte_meter/rte_meter.c | 73 ++-

Re: [dpdk-dev] [PATCH] ethdev: fix RSS flow expansion in case of mismatch

2020-08-17 Thread Ori Kam
> -Original Message- > From: Dekel Peled > Subject: RE: [PATCH] ethdev: fix RSS flow expansion in case of mismatch [...] Acked-by: Ori Kam Thanks, Ori