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

2020-08-18 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 | 2 +- drivers/net/octeontx2/otx2_rss.c| 9 +++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/net/octeontx2/

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

2020-08-18 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

[dpdk-dev] [RFC v2] lib/hash: integrate RCU QSBR

2020-08-18 Thread Dharmik Thakkar
Integrate RCU QSBR to make it easier for the applications to use lock free algorithm. Resource reclamation implementation was split from the original series, and has already been part of RCU library. Rework the series to base hash integration on RCU reclamation APIs. Refer 'Resource reclamation f

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

2020-08-18 Thread Kiran Kumar Kokkilagadda
From: Ajit Khaparde Sent: Tuesday, August 18, 2020 11:09 PM To: Kiran Kumar Kokkilagadda Cc: Wenzhuo Lu ; Beilei Xing ; Bernard Iremonger ; Thomas Monjalon ; Ferruh Yigit ; Andrew Rybchenko ; dpdk-dev ; Jerin Jacob Kollanukkaran ; Ori Kam ; Ziyang Xuan ; Xiaoyun Wang ; Guoyang Zhou ; Rose

Re: [dpdk-dev] [PATCH] eal: change debug diagnostic message from udev handler

2020-08-18 Thread Jeff Guo
hi, stephen Agree, it is make sense that the ignore event will sometimes involve the information which should not be ignore. On 8/15/2020 1:45 AM, Stephen Hemminger wrote: The debug message was poorly worded and did not include the part that would be useful. I.e it never said what was being i

[dpdk-dev] [PATCH v1 5/5] vhost: add packed ring vectorized enqueue

2020-08-18 Thread Marvin Liu
Optimize vhost packed ring enqueue path with SIMD instructions. Four descriptors status and length are batched handled with AVX512 instructions. Address translation operations are also accelerated by AVX512 instructions. Signed-off-by: Marvin Liu diff --git a/lib/librte_vhost/vhost.h b/lib/librt

[dpdk-dev] [PATCH v1 4/5] vhost: add packed ring vectorized dequeue

2020-08-18 Thread Marvin Liu
Optimize vhost packed ring dequeue path with SIMD instructions. Four descriptors status check and writeback are batched handled with AVX512 instructions. Address translation operations are also accelerated by AVX512 instructions. If platform or compiler not support vectorization, will fallback to

[dpdk-dev] [PATCH v1 0/5] vhost add vectorized data path

2020-08-18 Thread Marvin Liu
Packed ring format is imported since virtio spec 1.1. All descriptors are compacted into one single ring when packed ring format is on. It is straight forward that ring operations can be accelerated by utilizing SIMD instructions. This patch set will introduce vectorized data path in vhost librar

[dpdk-dev] [PATCH v1 3/5] vhost: prepare memory regions addresses

2020-08-18 Thread Marvin Liu
Prepare memory regions guest physical addresses for vectorized data path. These information will be utilized by SIMD instructions to find matched region index. Signed-off-by: Marvin Liu diff --git a/lib/librte_vhost/vhost.h b/lib/librte_vhost/vhost.h index 5a5c945551..4a81f18f01 100644 --- a/lib

[dpdk-dev] [PATCH v1 1/5] vhost: add vectorized data path

2020-08-18 Thread Marvin Liu
Packed ring operations are split into batch and single functions for performance perspective. Ring operations in batch function can be accelerated by SIMD instructions like AVX512. So introduce vectorized parameter in vhost. Vectorized data path can be selected if platform and ring format matched

[dpdk-dev] [PATCH v1 2/5] vhost: reuse packed ring functions

2020-08-18 Thread Marvin Liu
Move parse_ethernet, offload, extbuf functions to header file. These functions will be reused by vhost vectorized path. Signed-off-by: Marvin Liu diff --git a/lib/librte_vhost/vhost.h b/lib/librte_vhost/vhost.h index b556eb3bf6..5a5c945551 100644 --- a/lib/librte_vhost/vhost.h +++ b/lib/librte_v

Re: [dpdk-dev] [PATCH v4 1/2] eal/arm64: update CPU flags

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

Re: [dpdk-dev] [PATCH v4 2/2] test/cpuflag: add new flags for ARM64 platform

2020-08-18 Thread Ruifeng Wang
> -Original Message- > From: Wei Hu (Xavier) > Sent: Tuesday, August 18, 2020 4:09 PM > To: dev@dpdk.org > Cc: nd ; Honnappa Nagarahalli > ; Ruifeng Wang > ; jerinjac...@gmail.com; > xavier.hu...@huawei.com > Subject: [PATCH v4 2/2] test/cpuflag: add new flags for ARM64 platform > > Fro

Re: [dpdk-dev] [PATCH v3] net/virtio: fix wrong variable assignment in helper macro

2020-08-18 Thread Xia, Chenbo
> -Original Message- > From: Vipul Ashri > Sent: Thursday, August 13, 2020 3:29 PM > To: dev@dpdk.org > Cc: Xia, Chenbo ; vipul.as...@oracle.com; > edwin.le...@oracle.com; sta...@dpdk.org > Subject: [PATCH v3] net/virtio: fix wrong variable assignment in helper > macro > > Inside Macro A

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

2020-08-18 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 v3 07/11] baseband/acc100: add support for 4G processing

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

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

2020-08-18 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 | 288 ++- drivers/baseband/acc100/rte_acc100_pmd.h | 15 ++ 2 files changed, 300 insertions(+), 3 deletion

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

2020-08-18 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 v3 06/11] baseband/acc100: add HARQ loopback support

2020-08-18 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 v3 02/11] baseband/acc100: add register definition file

2020-08-18 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] [PATCH v3 04/11] baseband/acc100: add queue configuration

2020-08-18 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 v3 05/11] baseband/acc100: add LDPC processing functions

2020-08-18 Thread Nicolas Chautru
Adding LDPC decode and encode processing operations Signed-off-by: Nicolas Chautru --- drivers/baseband/acc100/rte_acc100_pmd.c | 1625 +- drivers/baseband/acc100/rte_acc100_pmd.h |3 + 2 files changed, 1626 insertions(+), 2 deletions(-) diff --git a/drivers/base

[dpdk-dev] [PATCH v3 03/11] baseband/acc100: add info get function

2020-08-18 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 v3 09/11] baseband/acc100: add debug function to validate input

2020-08-18 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 v3 00/11] bbdev PMD ACC100

2020-08-18 Thread Nicolas Chautru
v3: missed a change during rebase v2: includes clean up from latest CI checks. 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

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

2020-08-18 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 v3 7/7] app/bbdev: update offload test to dequeue full ring

2020-08-18 Thread Nicolas Chautru
update offload dequeue to retrieve the full ring to be agnostic of implementation. Signed-off-by: Nicolas Chautru --- app/test-bbdev/test_bbdev_perf.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev

[dpdk-dev] [PATCH v3 4/7] app/bbdev: define wait for offload

2020-08-18 Thread Nicolas Chautru
Replacing magic number for default wait time for hw offload. Signed-off-by: Nicolas Chautru --- app/test-bbdev/test_bbdev_perf.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev_perf.c index d0d2a55..e2c1d64

[dpdk-dev] [PATCH v3 5/7] app/bbdev: skip bler ut when compression is used

2020-08-18 Thread Nicolas Chautru
bler test results are not valid when LLR compression is used or for loopback scenarios. Skipping these. Signed-off-by: Nicolas Chautru --- app/test-bbdev/test_bbdev_perf.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/t

[dpdk-dev] [PATCH v3 2/7] app/bbdev: add explicit check for counters

2020-08-18 Thread Nicolas Chautru
Adding explicit check in ut that the stats counters have the expected values. Was missing for coverage. Signed-off-by: Nicolas Chautru --- app/test-bbdev/test_bbdev_perf.c | 17 + 1 file changed, 17 insertions(+) diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/tes

[dpdk-dev] [PATCH v3 0/7] BBDEV test updates

2020-08-18 Thread Nicolas Chautru
v3: apologize again for typo and not double checking with check-git-log v2: typos missed in commit messages Serie updating and extending the app running the bbdev-test for the existing bbdev PMDs. Nicolas Chautru (7): app/bbdev: add explicit ut for latency vs validation app/bbdev: add explic

[dpdk-dev] [PATCH v3 6/7] app/bbdev: reduce duration of throughput test

2020-08-18 Thread Nicolas Chautru
Reducing number of repetitions from 1000 to 100 to save time. Results are accurate enough with 100 loops. Signed-off-by: Nicolas Chautru --- app/test-bbdev/test_bbdev_perf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test

[dpdk-dev] [PATCH v3 3/7] app/bbdev: include explicit HARQ preloading

2020-08-18 Thread Nicolas Chautru
Run preloading explicitly for unit tests for each code block by reusing existing input op then restore for the actual test post preloading. Signed-off-by: Nicolas Chautru --- app/test-bbdev/main.h| 1 + app/test-bbdev/test_bbdev_perf.c | 51 +---

[dpdk-dev] [PATCH v3 1/7] app/bbdev: add explicit ut for latency vs validation

2020-08-18 Thread Nicolas Chautru
Adding explicit different ut when testing for validation or latency (early termination enabled or not). Signed-off-by: Nicolas Chautru --- app/test-bbdev/test_bbdev_perf.c | 92 ++-- 1 file changed, 88 insertions(+), 4 deletions(-) diff --git a/app/test-bbdev

[dpdk-dev] [PATCH v2 6/7] app/bbdev: reduce duration of throughput test

2020-08-18 Thread Nicolas Chautru
Reducing number of repetitions from 1000 to 100 to save time. Results are accurate enough with 100 loops. Signed-off-by: Nicolas Chautru --- app/test-bbdev/test_bbdev_perf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test

[dpdk-dev] [PATCH v2 4/7] app/bbdev: define wait for offload

2020-08-18 Thread Nicolas Chautru
Replacing magic number for default wait time for hw offload. Signed-off-by: Nicolas Chautru --- app/test-bbdev/test_bbdev_perf.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev_perf.c index d0d2a55..e2c1d64

[dpdk-dev] [PATCH v2 5/7] app/bbdev: skip bler ut when compression is used

2020-08-18 Thread Nicolas Chautru
bler test results are not valid when LLR compression is used or for loopback scenarios. Skipping these. Signed-off-by: Nicolas Chautru --- app/test-bbdev/test_bbdev_perf.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/t

[dpdk-dev] [PATCH v2 7/7] app/bbdev: update offload test to dequeue full ring

2020-08-18 Thread Nicolas Chautru
update offload dequeue to retrieve the full ring to be agnostic of implementation. Signed-off-by: Nicolas Chautru --- app/test-bbdev/test_bbdev_perf.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev

[dpdk-dev] [PATCH v2 2/7] app/bbdev: add explicit check for counters

2020-08-18 Thread Nicolas Chautru
Adding explicit check in ut that the stats counters have the expected values. Was missing for coverage. Signed-off-by: Nicolas Chautru --- app/test-bbdev/test_bbdev_perf.c | 17 + 1 file changed, 17 insertions(+) diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/tes

[dpdk-dev] [PATCH v2 3/7] app/bbdev: include explicit HARQ preloading

2020-08-18 Thread Nicolas Chautru
Run preloading explictly for unit tests for each code block by reusing existing input op then restore for the actual test post preloading. Signed-off-by: Nicolas Chautru --- app/test-bbdev/main.h| 1 + app/test-bbdev/test_bbdev_perf.c | 51 +--- 2

[dpdk-dev] [PATCH v2 0/7] BBDEV test updates

2020-08-18 Thread Nicolas Chautru
v2: typos missed in commit messages Serie updating and extending the app running the bbdev-test for the existing bbdev PMDs. Nicolas Chautru (7): app/bbdev: add explicit ut for latency vs validation app/bbdev: add explicit check for counters app/bbdev: include explicit HARQ preloading app

[dpdk-dev] [PATCH v2 1/7] app/bbdev: add explicit ut for latency vs validation

2020-08-18 Thread Nicolas Chautru
Adding explicit different ut when testing for validation or latency (early termination enabled or not). Signed-off-by: Nicolas Chautru --- app/test-bbdev/test_bbdev_perf.c | 92 ++-- 1 file changed, 88 insertions(+), 4 deletions(-) diff --git a/app/test-bbdev

[dpdk-dev] [PATCH v1 7/7] app/bbdev: update offload test to dequeue full ring

2020-08-18 Thread Nicolas Chautru
update offload dequeue to retrieve the full ring to be agnostic of implementation. Signed-off-by: Nicolas Chautru --- app/test-bbdev/test_bbdev_perf.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev

[dpdk-dev] [PATCH v1 5/7] app/bbdev: skip bler ut when compression is used

2020-08-18 Thread Nicolas Chautru
bler test results are not valid when LLR compression is used or for loopback scenarios. Skipping these. Signed-off-by: Nicolas Chautru --- app/test-bbdev/test_bbdev_perf.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/t

[dpdk-dev] [PATCH v1 6/7] app/bbdev: reduce duration of throughput test

2020-08-18 Thread Nicolas Chautru
Reducing number of repetitions from 1000 to 100 to save time. Results are accurate enough with 100 loops. Signed-off-by: Nicolas Chautru --- app/test-bbdev/test_bbdev_perf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test

[dpdk-dev] [PATCH v1 4/7] app/bbdev: define wait for offload

2020-08-18 Thread Nicolas Chautru
Replacing magic number for default wait time for hw offload. Signed-off-by: Nicolas Chautru --- app/test-bbdev/test_bbdev_perf.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev_perf.c index d0d2a55..e2c1d64

[dpdk-dev] [PATCH v1 3/7] app/bbdev: include explict HARQ preloading

2020-08-18 Thread Nicolas Chautru
Run preloading explictly for unit tests. Load each code block by reusing existing input op then restore for the actual test. Signed-off-by: Nicolas Chautru --- app/test-bbdev/main.h| 1 + app/test-bbdev/test_bbdev_perf.c | 51 +--- 2 files changed

[dpdk-dev] [PATCH v1 0/7] BBDEV test updates

2020-08-18 Thread Nicolas Chautru
Serie updating and extending the app running the bbdev-test for the existing bbdev PMDs. (Resending v1 as previous email did not seam to reach patches.dpdk.org) Nicolas Chautru (7): app/bbdev: add explicit ut for latency vs validation app/bbdev: add explicit check for counters app/bbdev: i

[dpdk-dev] [PATCH v1 1/7] app/bbdev: add explicit ut for latency vs validation

2020-08-18 Thread Nicolas Chautru
Adding explicit different ut when testing for validation or latency (early termination enabled or not). Signed-off-by: Nicolas Chautru --- app/test-bbdev/test_bbdev_perf.c | 92 ++-- 1 file changed, 88 insertions(+), 4 deletions(-) diff --git a/app/test-bbdev

[dpdk-dev] [PATCH v1 2/7] app/bbdev: add explicit check for counters

2020-08-18 Thread Nicolas Chautru
Adding explict check in ut that the stats counters have the expect values. Was missing for coverage. Signed-off-by: Nicolas Chautru --- app/test-bbdev/test_bbdev_perf.c | 17 + 1 file changed, 17 insertions(+) diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_b

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

2020-08-18 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 v2 09/11] baseband/acc100: add debug function to validate input

2020-08-18 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 v2 05/11] baseband/acc100: add LDPC processing functions

2020-08-18 Thread Nicolas Chautru
Adding LDPC decode and encode processing operations Signed-off-by: Nicolas Chautru --- drivers/baseband/acc100/rte_acc100_pmd.c | 1625 +- drivers/baseband/acc100/rte_acc100_pmd.h |3 + 2 files changed, 1626 insertions(+), 2 deletions(-) diff --git a/drivers/base

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

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

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

2020-08-18 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 v2 08/11] baseband/acc100: add interrupt support to PMD

2020-08-18 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 | 288 ++- drivers/baseband/acc100/rte_acc100_pmd.h | 15 ++ 2 files changed, 300 insertions(+), 3 deletion

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

2020-08-18 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 v2 04/11] baseband/acc100: add queue configuration

2020-08-18 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 v2 03/11] baseband/acc100: add info get function

2020-08-18 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 v2 06/11] baseband/acc100: add HARQ loopback support

2020-08-18 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 v2 02/11] baseband/acc100: add register definition file

2020-08-18 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] [PATCH v2 00/11] bbdev PMD ACC100

2020-08-18 Thread Nicolas Chautru
v2: includes clean up from latest CI checks. 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:

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

2020-08-18 Thread Ajit Khaparde
On Tue, Aug 18, 2020 at 12:22 AM wrote: > 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

Re: [dpdk-dev] [RFC PATCH] config: remap flags used for Arm platforms

2020-08-18 Thread Ferruh Yigit
On 8/18/2020 3:53 PM, Bruce Richardson wrote: > On Tue, Aug 18, 2020 at 03:36:00PM +0100, Ferruh Yigit wrote: >> On 8/14/2020 7:03 AM, Ruifeng Wang wrote: >>> Flags are used to distinguish different platform architectures. >>> These flags can be used to pick different code paths for different >>> a

Re: [dpdk-dev] [PATCH v3] net/virtio: fix wrong variable assignment in helper macro

2020-08-18 Thread Ferruh Yigit
On 8/14/2020 6:23 AM, Vipul Ashri wrote: > Hi All > > I tried twice uploading this same patch but it is still not listed under > http://patches.dpdk.org/project/dpdk/list/. > Please let me know if I am missing something and required to do some > additional steps to submit my patch. Mail list is

Re: [dpdk-dev] [PATCH] net/failsafe: don't double space warning

2020-08-18 Thread Ferruh Yigit
On 8/14/2020 9:30 PM, Gaëtan Rivet wrote: > On 14/08/20 22:28 +0200, Gaëtan Rivet wrote: >> On 14/08/20 10:39 -0700, Stephen Hemminger wrote: >>> Already get a newline from WARN() macro call. >>> >>> Fixes: 9dda3e3393c2 ("net/failsafe: add timestamp to stats snapshot") >>> Cc: ma...@mellanox.com >>

[dpdk-dev] 19.11.4 patches review and test

2020-08-18 Thread Luca Boccassi
Hi all, Here is a list of patches targeted for stable release 19.11.4. The planned date for the final release is August 31st. Please help with testing and validation of your use cases and report any issues/results with reply-all to this mail. For the final release the fixes and reported validati

[dpdk-dev] [PATCH 0 8/8] crypto/bcmfs: add crypto pmd into cryptodev test

2020-08-18 Thread Vikas Gupta
Add test suites for supported algorithms by bcmfs crypto pmd Signed-off-by: Vikas Gupta --- app/test/test_cryptodev.c | 261 ++ app/test/test_cryptodev.h | 1 + 2 files changed, 262 insertions(+) diff --git a/app/test/test_cryptodev.c b/app/test/test_crypto

[dpdk-dev] [PATCH 0 7/8] crypto/bcmfs: add crypto h/w module

2020-08-18 Thread Vikas Gupta
Add crypto h/w module to process crypto op. Crypto op is processed via sym_engine module before submitting the crypto request to h/w queues. Signed-off-by: Vikas Gupta --- drivers/crypto/bcmfs/bcmfs_sym.c| 316 drivers/crypto/bcmfs/bcmfs_sym_defs.h | 16 + drivers/crypto/bcmf

[dpdk-dev] [PATCH 0 6/8] crypto/bcmfs: add session handling and capabilities

2020-08-18 Thread Vikas Gupta
Add session handling and capabilities supported by crypto h/w accelerator. Signed-off-by: Vikas Gupta --- doc/guides/cryptodevs/bcmfs.rst | 46 ++ doc/guides/cryptodevs/features/bcmfs.ini | 56 ++ drivers/crypto/bcmfs/bcmfs_sym_capabilities.c | 764 ++ driver

[dpdk-dev] [PATCH 0 4/8] crypto/bcmfs: add hw queue pair operations

2020-08-18 Thread Vikas Gupta
Add queue pair operations exported by supported devices. Signed-off-by: Vikas Gupta --- drivers/crypto/bcmfs/bcmfs_dev_msg.h | 29 + drivers/crypto/bcmfs/bcmfs_device.c | 51 ++ drivers/crypto/bcmfs/bcmfs_device.h | 16 + drivers/crypto/bcmfs/bcmfs_qp.c | 1 + dri

[dpdk-dev] [PATCH 0 5/8] crypto/bcmfs: create a symmetric cryptodev

2020-08-18 Thread Vikas Gupta
Create a symmetric crypto device and supported cryptodev ops. Signed-off-by: Vikas Gupta --- drivers/crypto/bcmfs/bcmfs_device.c | 15 ++ drivers/crypto/bcmfs/bcmfs_device.h | 9 + drivers/crypto/bcmfs/bcmfs_qp.c | 37 +++ drivers/crypto/bcmfs/bcmfs_qp.h | 16 ++ drivers/crypto/

[dpdk-dev] [PATCH 0 3/8] crypto/bcmfs: add apis for queue pair management

2020-08-18 Thread Vikas Gupta
Add queue pair management APIs which will be used by Crypto device to manage h/w queues. A bcmfs device structure owns multiple queue-pairs based on the mapped address allocated to it. Signed-off-by: Vikas Gupta --- drivers/crypto/bcmfs/Makefile| 28 --- drivers/crypto/bcmfs/bcmfs_devic

[dpdk-dev] [PATCH 0 1/8] crypto/bcmfs: add BCMFS driver

2020-08-18 Thread Vikas Gupta
Add Broadcom FlexSparc(FS) device creation driver which registers to a vdev and create a device. Add APIs for logs, supportive documention and maintainers file. Signed-off-by: Vikas Gupta --- MAINTAINERS | 7 + config/common_base|

[dpdk-dev] [PATCH 0 2/8] crypto/bcmfs: add vfio support

2020-08-18 Thread Vikas Gupta
Add vfio support for device. Signed-off-by: Vikas Gupta --- drivers/crypto/bcmfs/Makefile | 1 + drivers/crypto/bcmfs/bcmfs_device.c | 5 ++ drivers/crypto/bcmfs/bcmfs_device.h | 6 ++ drivers/crypto/bcmfs/bcmfs_vfio.c | 94 + drivers/crypto/bcmfs/bcmfs_vfi

[dpdk-dev] [PATCH 0 0/8] Add Crypto PMD for Broadcom`s FlexSparc devices

2020-08-18 Thread Vikas Gupta
Hi, This patchset contains support for Crypto offload on Broadcom’s Stingray/Stingray2 SoCs having FlexSparc unit. BCMFS is an acronym for Broadcom FlexSparc device used in the patchest. The patchset progressively adds major modules as below. a) Detection of platform-device based on the known reg

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

2020-08-18 Thread Stephen Hemminger
On Tue, 18 Aug 2020 17:39:19 +0500 Sarosh Arif wrote: > 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 now deprecated. In addition > to this it has been discu

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

2020-08-18 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 v6 2/4] crypto/qat: add crypto data-path service API support

2020-08-18 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 | 923 + d

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

2020-08-18 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 v6 1/4] cryptodev: add crypto data-path service APIs

2020-08-18 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 v6 0/4] cryptodev: add data-path service APIs

2020-08-18 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 v5 0/5] compiling ethdev lib under windows

2020-08-18 Thread Dmitry Kozlyuk
On Tue, 11 Aug 2020 09:24:19 +0300, Fady Bader wrote: > Added needed changes in order to get ethdev compiling under windows. > > Depends-on: series-10382 ("compile librte_net for windows") > > v5: fixed style issues. > > v4: added comments to #else and fixed code issue. > > v3: rebased on curre

Re: [dpdk-dev] [PATCH v2] common/iavf: mark internal symbols

2020-08-18 Thread Ferruh Yigit
On 8/17/2020 4:08 AM, Xing, Beilei wrote: > > >> -Original Message- >> From: Wang, Haiyue >> Sent: Saturday, August 15, 2020 12:31 AM >> To: dev@dpdk.org >> Cc: Zhang, Qi Z ; Yang, Qiming >> ; Wang, Haiyue ; Wu, >> Jingjing ; Xing, Beilei ; Ray >> Kinsella ; Neil Horman >> Subject: [PAT

Re: [dpdk-dev] [dpdk-stable] [PATCH] net/ena/base: fix doorbell evaluation for the LLQ case

2020-08-18 Thread Ferruh Yigit
On 8/13/2020 7:07 PM, Marcin Wojtas wrote: > Hi, > > śr., 12 sie 2020 o 18:37 Artur Rojek napisał(a): >> >> From: Michal Krawczyk >> >> This patch adds a missing LLQ-related check in the >> ena_com_is_doorbell_needed() routine, which is relevant for the feature >> supported by the next generatio

Re: [dpdk-dev] [RFC PATCH] config: remap flags used for Arm platforms

2020-08-18 Thread Bruce Richardson
On Tue, Aug 18, 2020 at 03:36:00PM +0100, Ferruh Yigit wrote: > On 8/14/2020 7:03 AM, Ruifeng Wang wrote: > > Flags are used to distinguish different platform architectures. > > These flags can be used to pick different code paths for different > > architectures at compile time. > > For Arm platfor

Re: [dpdk-dev] Regarding error while running l2fwd application of DPDK-19.02

2020-08-18 Thread Bruce Richardson
On Thu, Aug 13, 2020 at 03:00:36PM +0800, Utkarsh Kathuria wrote: > Greetings of the day, > My name is Utkarsh Kathuria. I am new to DPDK and trying to run the > application l2fwd. > After I write the command ./examples/l2fwd/build/l2fwd -c 0x4 -n 1 -- -p > 0x3, it shows error cause not enough core

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

2020-08-18 Thread Bruce Richardson
On Fri, Aug 07, 2020 at 01:30:02PM +0100, Ciara Power wrote: > Make is no longer supported for compiling DPDK, references are now > removed in the documentation. > > Signed-off-by: Ciara Power Apologies for the multiple emails, but to review this properly I'm reviewing the text section by sectio

Re: [dpdk-dev] [RFC PATCH] config: remap flags used for Arm platforms

2020-08-18 Thread Ferruh Yigit
On 8/14/2020 7:03 AM, Ruifeng Wang wrote: > Flags are used to distinguish different platform architectures. > These flags can be used to pick different code paths for different > architectures at compile time. > For Arm platforms, there are 3 flags in use: RTE_ARCH_ARM, > RTE_ARCH_ARMv7 and RTE_ARC

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

2020-08-18 Thread Bruce Richardson
On Fri, Aug 07, 2020 at 01:30:02PM +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/linux_gsg/build_dpdk.rst | 58 --- > doc/guides/linux_gsg/

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

2020-08-18 Thread Eugenio Perez Martin
On Mon, Aug 10, 2020 at 4:11 PM 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 --forward

[dpdk-dev] [PATCH] net/virtio: fix wrong variable assignment in helper macro

2020-08-18 Thread Vipul Ashri
Inside Macro ASSIGN_UNLESS_EQUAL(var, val), assignment to var is always failing as assignment done using var_ having local scope only. This leads to TX packets not going out and found broken due to cleanup malfunctioning. This patch fixes the wrong variable assignment. Fixes: 57f90f894588 ("net/vi

Re: [dpdk-dev] [PATCH v3] net/virtio: fix wrong variable assignment in helper macro

2020-08-18 Thread Vipul Ashri
Hi All I tried twice uploading this same patch but it is still not listed under http://patches.dpdk.org/project/dpdk/list/. Please let me know if I am missing something and required to do some additional steps to submit my patch. Thanks to Xia for reviewing this code! Regards Vipul -Orig

[dpdk-dev] [PATCH v3] net/virtio: fix wrong variable assignment in helper macro

2020-08-18 Thread Vipul Ashri
Inside Macro ASSIGN_UNLESS_EQUAL(var, val), assignment to var is always failing as assignment done using var_ having local scope only. This leads to TX packets not going out and found broken due to cleanup malfunctioning. This patch fixes the wrong variable assignment. Fixes: 57f90f894588 ("net/vi

[dpdk-dev] [PATCH] net/virtio: fix wrong variable assignment in helper macro

2020-08-18 Thread Vipul Ashri
Inside Macro ASSIGN_UNLESS_EQUAL(var, val), assignment to var is always failing as assignment done using var_ having local scope only. This leads to TX packets not going out and found broken due to cleanup malfunctioning. This patch fixes the wrong variable assignment. Fixes: 57f90f894588 ("net/vi

[dpdk-dev] [PATCH v3] net/virtio: fix wrong variable assignment in helper macro

2020-08-18 Thread Vipul Ashri
Inside Macro ASSIGN_UNLESS_EQUAL(var, val), assignment to var is always failing as assignment done using var_ having local scope only. This leads to TX packets not going out and found broken due to cleanup malfunctioning. This patch fixes the wrong variable assignment. Fixes: 57f90f894588 ("net/vi

[dpdk-dev] FW: [PATCH v2] Fixes: 57f90f894588("net/virtio: reuse packed ring functions")

2020-08-18 Thread Vipul Ashri
Hi Javin FYI http://patches.dpdk.org/patch/75476/ The mentioned fix you are trying to submit is already addressed and in review with Xia chenbo since 10th august. Hope you can discard your patch as I have already sent the patch to dpdk community. Regards Vipul -Original Message- From:

[dpdk-dev] [PATCH v2] net/virtio: fix wrong variable assignment in helper macro

2020-08-18 Thread Vipul Ashri
Inside Macro ASSIGN_UNLESS_EQUAL(var, val), assignment to var is always failing as assignment done using var_ having local scope only. This leads to TX packets not going out and found broken due to cleanup malfunctioning. This patch fixes the wrong variable assignment. Fixes: 57f90f894588 ("net/vi

[dpdk-dev] Regarding error while running l2fwd application of DPDK-19.02

2020-08-18 Thread Utkarsh Kathuria
Greetings of the day, My name is Utkarsh Kathuria. I am new to DPDK and trying to run the application l2fwd. After I write the command ./examples/l2fwd/build/l2fwd -c 0x4 -n 1 -- -p 0x3, it shows error cause not enough cores. Please help me. Thank you Regards Utkarsh Kathuria

[dpdk-dev] [PATCH v2] Fixes: 57f90f894588("net/virtio: reuse packed ring functions")

2020-08-18 Thread Vipul Ashri
Problem - Standard Tx packets are not going out and found broken due to cleanup malfunctioning whereever below mentioned macro is used. RootCause - Here inside Macro 'ASSIGN_UNLESS_EQUAL(var, val)' assignment to 'var' argument passed is always failing as assignment done using 'var_' having loc

  1   2   >