[dpdk-dev] [PATCH 2/4] ethdev: add new attributes to hairpin config

2020-09-30 Thread Bing Zhao
To support two ports hairpin mode and keep the backward compatibility for the application, two new attribute members of hairpin queue config structure are added. `tx_explicit` means if the application itself will insert the TX part flow rules. If not set, PMD will insert the rules implicitly. `man

[dpdk-dev] [PATCH 1/4] ethdev: add hairpin bind and unbind APIs

2020-09-30 Thread Bing Zhao
In single port hairpin mode, all the hairpin TX and RX queues belong to the same device. After the queues are set up properly, there is no other dependency between the TX queue and its RX peer queue. The binding process that connected the TX and RX queues together from hardware level will be done a

[dpdk-dev] [PATCH 0/4] introduce support for hairpin between two ports

2020-09-30 Thread Bing Zhao
This patch set will add the support for hairpin between two ports. In the meanwhile, the compatibility of the previous single port mode is taken into consideration and kept. The patches contain the following changes: 1. new APIs to bind and unbind hairpin ports in manual binding mode. 2. new inter

[dpdk-dev] [PATCH 3/4] ethdev: add APIs for hairpin queue operation

2020-09-30 Thread Bing Zhao
Every hairpin queue pair should be configured properly and the connection between TX and RX queues should be established, before hairpin function works. In single port hairpin mode, the queues of each pair belong to the same device. It is easy to get the hardware and software information of each qu

[dpdk-dev] [PATCH 4/4] app/testpmd: change hairpin queues setup

2020-09-30 Thread Bing Zhao
A new parameter `hairpin-mode` is introduced to the testpmd command line. Bitmask value is used to provide more flexible configuration. Bit 0 in the LSB indicates the hairpin will use the loop mode. The previous port RX queue will be connected to the current port TX queue. Bit 1 in the LSB indicat

[dpdk-dev] [PATCH v5] eal: add cache-line demote support

2020-09-30 Thread Omkar Maslekar
We are including this in rte_prefetch.h since it is the most closely related code location.rte_cldemte is similar to a prefetch hint -in reverse Omkar Maslekar (1): eal: add cache-line demote support doc/guides/rel_notes/release_20_11.rst| 7 +++ lib/librte_eal/arm/include/rte_pre

[dpdk-dev] [PATCH v5] eal: add cache-line demote support

2020-09-30 Thread Omkar Maslekar
rte_cldemote is similar to a prefetch hint - in reverse. cldemote(addr) enables software to hint to hardware that line is likely to be shared. Useful in core-to-core communications where cache-line is likely to be shared. ARM and PPC implementation is provided with NOP and can be added if any equiv

Re: [dpdk-dev] [PATCH 0/3] patchset for bnxt PMD

2020-09-30 Thread Ajit Khaparde
On Wed, Sep 30, 2020 at 10:16 AM Ajit Khaparde wrote: > > On Tue, Sep 29, 2020 at 1:59 PM Ajit Khaparde > wrote: > > > > Patches for bnxt PMD to add support for RSS level > > selection, update HWRM API. > Patchset applied to dpdk-next-net-brcm. Dropped patch [3/3] during merge. Patchwork updated

Re: [dpdk-dev] [PATCH] net/netvsc: fix txq leak in error path

2020-09-30 Thread Long Li
>Subject: [dpdk-dev] [PATCH] net/netvsc: fix txq leak in error path > >From: Yunjian Wang > >In hn_dev_tx_queue_setup() allocated memory for txq, we should free it >when error happens, otherwise it will lead to memory leak. > >Fixes: cc0251813277 ("net/netvsc: split send buffers from Tx descriptor

Re: [dpdk-dev] Regarding bond and slave driver configuration in DPDK 19.11

2020-09-30 Thread Robin Fahy
Hi Chas & DPDK team, One of our engineers at Juniper Networks is blocked on an issue related to a mismatch between dev_conf and dev_info when attempting to configure a bond and slave driver using DPDK 19.11. Are there any similar known issues with this configuration, or knowledge resources on

[dpdk-dev] [PATCH v10 02/10] baseband/acc100: add register definition file

2020-09-30 Thread Nicolas Chautru
Add in the list of registers for the device and related HW specs definitions. Signed-off-by: Nicolas Chautru Reviewed-by: Rosen Xu Acked-by: Liu Tianjiao --- drivers/baseband/acc100/acc100_pf_enum.h | 1068 ++ drivers/baseband/acc100/acc100_vf_enum.h | 73 ++ driv

[dpdk-dev] [PATCH v10 03/10] baseband/acc100: add info get function

2020-09-30 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 Acked-by: Liu Tianjiao --- app/test-bbdev/meson.build | 3 + driv

[dpdk-dev] [PATCH v10 01/10] drivers/baseband: add PMD for ACC100

2020-09-30 Thread Nicolas Chautru
Add stubs for the ACC100 PMD Signed-off-by: Nicolas Chautru Acked-by: Liu Tianjiao --- doc/guides/bbdevs/acc100.rst | 228 + doc/guides/bbdevs/features/acc100.ini | 14 ++ doc/guides/bbdevs/index.rst| 1 + drivers

[dpdk-dev] [PATCH v10 05/10] baseband/acc100: add LDPC processing functions

2020-09-30 Thread Nicolas Chautru
Adding LDPC decode and encode processing operations Signed-off-by: Nicolas Chautru Acked-by: Liu Tianjiao Acked-by: Dave Burley --- doc/guides/bbdevs/features/acc100.ini|8 +- drivers/baseband/acc100/rte_acc100_pmd.c | 1616 +- drivers/baseband/acc100/rte_ac

[dpdk-dev] [PATCH v10 04/10] baseband/acc100: add queue configuration

2020-09-30 Thread Nicolas Chautru
Adding function to create and configure queues for the device. Still no capability. Signed-off-by: Nicolas Chautru Reviewed-by: Rosen Xu Acked-by: Liu Tianjiao --- drivers/baseband/acc100/rte_acc100_pmd.c | 438 ++- drivers/baseband/acc100/rte_acc100_pmd.h | 45 +++

[dpdk-dev] [PATCH v10 06/10] baseband/acc100: add HARQ loopback support

2020-09-30 Thread Nicolas Chautru
Additional support for HARQ memory loopback Signed-off-by: Nicolas Chautru Acked-by: Liu Tianjiao --- drivers/baseband/acc100/rte_acc100_pmd.c | 159 ++- 1 file changed, 155 insertions(+), 4 deletions(-) diff --git a/drivers/baseband/acc100/rte_acc100_pmd.c b/drive

[dpdk-dev] [PATCH v10 00/10] bbdev PMD ACC100

2020-09-30 Thread Nicolas Chautru
v10: Updates based on Tom Rix valuable review comments. Notably doc clarifiction, #define names updates, few magic numbers left, stricter error handling and few valuable coding suggestions. Thanks v9: moved the release notes update to the last commit v8: integrated the doc feature table in previo

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

2020-09-30 Thread Nicolas Chautru
Adding capability and functions to support MSI interrupts, call backs and inforing. Signed-off-by: Nicolas Chautru Acked-by: Liu Tianjiao --- drivers/baseband/acc100/rte_acc100_pmd.c | 302 ++- drivers/baseband/acc100/rte_acc100_pmd.h | 16 ++ 2 files changed, 315 i

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

2020-09-30 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 Acked-by: Liu Tianjiao --- drivers/baseband/acc100/rte_acc100_pmd.c | 436 +++ 1 file changed, 436 insertions(+) diff --git a/drivers/baseband

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

2020-09-30 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 Acked-by: Liu Tianjiao --- app/test-bbdev/test_bbdev_perf.c | 71 +++ doc/guides/rel_notes/release_20_11.rst

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

2020-09-30 Thread Nicolas Chautru
Adding capability for 4G encode and decoder processing Signed-off-by: Nicolas Chautru Acked-by: Liu Tianjiao --- doc/guides/bbdevs/features/acc100.ini|4 +- drivers/baseband/acc100/rte_acc100_pmd.c | 1029 +++--- 2 files changed, 958 insertions(+), 75 deletions(-

[dpdk-dev] [PATCH] build: add -moutline-atomics to default Arm build

2020-09-30 Thread Juraj Linkeš
-moutline-atomics allows LSE instructions to be used if available when compiling for ARMv8.0 instruction set. It's enabled by default on newer compilers, such as gcc-10.1. Enable the option so that earlier compiler versions that support it but don't enable it by default build with it. Signed-off-b

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

2020-09-30 Thread David Marchand
On Fri, Aug 28, 2020 at 1:45 PM Juraj Linkeš wrote: > > 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 d

[dpdk-dev] [PATCH] app/testpmd: support query of AGE action

2020-09-30 Thread Dekel Peled
Following ethdev update [1], this patch adds CLI support to query information related to AGE action. [1] https://mails.dpdk.org/archives/dev/2020-September/183699.html Signed-off-by: Dekel Peled Acked-by: Matan Azrad --- app/test-pmd/config.c | 12 1 file changed, 12 insertions(+)

<    1   2   3