[dpdk-dev] [PATCH v3 13/13] app/test: enable subset of unit tests on Windows

2021-09-03 Thread Jie Zhou
Enable a subset of unit tests on Windows. Currently not all the dependencies (e.g. libraries and some functionalities) of all unit tests are supported on Windows yet. Signed-off-by: Jie Zhou --- app/test/meson.build | 361 ++- 1 file changed, 188 insertion

[dpdk-dev] [PATCH v3 10/13] app/test: differentiate a strerror on different OS

2021-09-03 Thread Jie Zhou
On Windows, strerror returns just "Unknown error" for errnum greater than MAX_ERRNO, while linux and freebsd returns "Unknown error ", which is the current expectation for errno_autotest. Differentiate the error string on Windows to remove a "duplicate error code" failure. Signed-off-by: Jie Zhou

[dpdk-dev] [PATCH v3 12/13] app/test: replace .sh scripts with .py scripts

2021-09-03 Thread Jie Zhou
- Add python script to get coremask - Add python script to check if system supports hugepages - Remove two corresponding .sh scripts - Replace calling of .sh with corresponding .py in meson.build Signed-off-by: Jie Zhou --- app/test/get-coremask.sh | 13 - app/test/get_coremask.py |

[dpdk-dev] [PATCH v3 11/13] app/test: remove two alarm_autotest cases

2021-09-03 Thread Jie Zhou
Remove two alarm_autotest test cases which do bogus range check on Windows. Signed-off-by: Jie Zhou --- app/test/test_alarm.c | 4 1 file changed, 4 insertions(+) diff --git a/app/test/test_alarm.c b/app/test/test_alarm.c index b4034339b8..70e97a3109 100644 --- a/app/test/test_alarm.c +++

[dpdk-dev] [PATCH v3 09/13] app/test: skip two logs_autotest cases on Windows

2021-09-03 Thread Jie Zhou
DPDK logs_autotest on Windows failed at "dynamic log types" tests. The failures are on 2 test cases for rte_log_set_level_regexp API, due to regular expression is not supported on Windows in DPDK yet and regcomp/regexec are just stubs on Windows (in regex.h). In app\test\test_logs.c, ifndef these

[dpdk-dev] [PATCH v3 05/13] app/test: replace POSIX specific code

2021-09-03 Thread Jie Zhou
- Include rte_os_shim.h - Replace sleep and usleep with rte_delay_us_sleep - #ifndef RTE_EXEC_ENV_WINDOWS for POSIX code only Signed-off-by: Jie Zhou --- app/test/packet_burst_generator.c | 1 + app/test/process.h| 4 +++- app/test/test.c | 4 app/test/test

[dpdk-dev] [PATCH v3 07/13] app/test: skip interrupt tests on Windows

2021-09-03 Thread Jie Zhou
Even though test_interrupts.c can compile on Windows, skip interrupt tests for now since majority of eal_interrupt on Windows are stubs. Will remove the skip after interrupt being fully enabled on Windows. Signed-off-by: Jie Zhou --- app/test/test_interrupts.c | 10 ++ 1 file changed, 10

[dpdk-dev] [PATCH v3 08/13] app/test: temporarily "skip" one cmdline test case

2021-09-03 Thread Jie Zhou
cmdline tests pass except one failure at the test_cmdline_socket_fns test case with error: failed to open /dev/null for reading! Temporarily "skip" this case while enable all other passing cases. Issue is tracked internally and will add the corresponding case on Windows in future. Signed-off-by:

[dpdk-dev] [PATCH v3 06/13] app/test: exclude ENOTSUP as failure

2021-09-03 Thread Jie Zhou
Check rte_errno to exclude ENOTSUP as failures in test_memory.c Signed-off-by: Jie Zhou --- app/test/test_memory.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/test/test_memory.c b/app/test/test_memory.c index 7d5ae99bab..6f4fc02c03 100644 --- a/app/test/test_memo

[dpdk-dev] [PATCH v3 04/13] app/test: remove unnecessary headers

2021-09-03 Thread Jie Zhou
Remove unnecessary header inclusion Signed-off-by: Jie Zhou --- app/test/commands.c | 2 -- app/test/test.c | 1 - app/test/test_cmdline_lib.c | 1 - 3 files changed, 4 deletions(-) diff --git a/app/test/commands.c b/app/test/commands.c index 76f6ee5d23..82bd8bf474 100644 --

[dpdk-dev] [PATCH v3 00/13] app/test: enable subset of tests on Windows

2021-09-03 Thread Jie Zhou
This patchset is to enable a subset of unit tests on windows. It mainly includes: - Enable building libraries on Windows that some tests depend on - Replace POSIX specific codes - Fix some lib and tests per failures investigation - Replace .sh scripts with .py scripts for meson.build - Enable buil

[dpdk-dev] [PATCH v3 01/13] lib: build libraries that some tests depend on

2021-09-03 Thread Jie Zhou
Enable building subset of libraries that tests depend on for Windows Signed-off-by: Jie Zhou --- lib/meson.build | 6 ++ 1 file changed, 6 insertions(+) diff --git a/lib/meson.build b/lib/meson.build index 1673ca4323..f109d6987d 100644 --- a/lib/meson.build +++ b/lib/meson.build @@ -81,10 +

[dpdk-dev] [PATCH v3 03/13] eal/windows: return ENOTSUP for not supported API

2021-09-03 Thread Jie Zhou
UT memory_autotest on Windows has 2 failed cases on eal APIs eal_memalloc_get_seg_fd and eal_memalloc_get_seg_fd_offset. These 2 APIs are not supported on Windows yet. Should return ENOTSUP such that in test_memory.c these 2 ENOTSUP cases will not be marked as failures, same as other ENOTSUP cases.

[dpdk-dev] [PATCH v3 02/13] mempool/stack: build on Windows

2021-09-03 Thread Jie Zhou
Enable mempool/stack on Windows since mempool unit test depends on this driver. Signed-off-by: Jie Zhou --- drivers/mempool/stack/meson.build | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/mempool/stack/meson.build b/drivers/mempool/stack/meson.build index 371cf131b1..580dde79e

[dpdk-dev] [v6, 4/4] net/cnxk: add telemetry endpoing to ethdev

2021-09-03 Thread Gowrishankar Muthukrishnan
Add telemetry endpoint to ethdev. Signed-off-by: Gowrishankar Muthukrishnan --- drivers/net/cnxk/cnxk_ethdev_telemetry.c | 148 +++ drivers/net/cnxk/meson.build | 1 + 2 files changed, 149 insertions(+) create mode 100644 drivers/net/cnxk/cnxk_ethdev_telemetry.

[dpdk-dev] [v6, 3/4] common/cnxk: add telemetry endpoints to nix

2021-09-03 Thread Gowrishankar Muthukrishnan
Add telemetry endpoints to nix. Signed-off-by: Gowrishankar Muthukrishnan --- drivers/common/cnxk/cnxk_telemetry_nix.c | 852 +++ drivers/common/cnxk/meson.build | 3 +- drivers/common/cnxk/roc_nix.c| 3 + drivers/common/cnxk/roc_nix_priv.h |

[dpdk-dev] [v6, 2/4] mempool/cnxk: add telemetry end points

2021-09-03 Thread Gowrishankar Muthukrishnan
Adding telemetry end points to cnxk mempool driver. Signed-off-by: Gowrishankar Muthukrishnan --- drivers/mempool/cnxk/cnxk_mempool_telemetry.c | 100 ++ drivers/mempool/cnxk/meson.build | 1 + 2 files changed, 101 insertions(+) create mode 100644 drivers/mempool/

[dpdk-dev] [v6, 1/4] common/cnxk: add telemetry endpoints to npa

2021-09-03 Thread Gowrishankar Muthukrishnan
Add telemetry endpoints to npa. Signed-off-by: Gowrishankar Muthukrishnan --- drivers/common/cnxk/cnxk_telemetry.h | 26 +++ drivers/common/cnxk/cnxk_telemetry_npa.c | 225 +++ drivers/common/cnxk/meson.build | 6 +- drivers/common/cnxk/roc_platform.h |

[dpdk-dev] [v6, 0/4] cnxk: enable telemetry endpoints

2021-09-03 Thread Gowrishankar Muthukrishnan
This patch series enables telemetry for cnxk in the following: - NPA LF - Mempool driver - NIX LF - Ethdev driver Depends-on: series-18612 ("net/cnxk: support for inline ipsec") v6: - Added nix and ethdev endpoints. Gowrishankar Muthukrishnan (4): common/cnxk: add telemetry endpoints to n

Re: [dpdk-dev] [PATCH v19 1/7] dmadev: introduce DMA device library public APIs

2021-09-03 Thread fengchengwen
On 2021/9/3 21:03, Bruce Richardson wrote: > On Thu, Sep 02, 2021 at 09:13:09PM +0800, Chengwen Feng wrote: >> The 'dmadevice' is a generic type of DMA device. >> >> This patch introduce the 'dmadevice' public APIs which expose generic >> operations that can enable configuration and I/O with the DM

Re: [dpdk-dev] [PATCH v19 1/7] dmadev: introduce DMA device library public APIs

2021-09-03 Thread fengchengwen
On 2021/9/3 19:42, Gagandeep Singh wrote: > Hi, > > >> + >> +/** >> + * @warning >> + * @b EXPERIMENTAL: this API may change without prior notice. >> + * >> + * Close a DMA device. >> + * >> + * The device cannot be restarted after this call. >> + * >> + * @param dev_id >> + * The identifier of

Re: [dpdk-dev] [RFC V2] ethdev: fix issue that dev close in PMD calls twice

2021-09-03 Thread Huisong Li
Hi, Ferruh The callstack information for this problem has been sent. Please check it. Looking forward to your reply. Thanks. 在 2021/8/25 17:53, Huisong Li 写道: 在 2021/8/24 22:42, Ferruh Yigit 写道: On 8/19/2021 4:45 AM, Huisong Li wrote: 在 2021/8/18 19:24, Ferruh Yigit 写道: On 8/13/2021 9:16

[dpdk-dev] [PATCH v2 5/5] MAINTAINERS: add entry for new pcapng and dumper

2021-09-03 Thread Stephen Hemminger
Claim responsibility for the new code. Signed-off-by: Stephen Hemminger --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 266f5ac1dae8..06384ac2702d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1429,6 +1429,12 @@ F: app/test/test_pdump.*

[dpdk-dev] [PATCH v2 4/5] doc: changes for new pcapng and dumpcap

2021-09-03 Thread Stephen Hemminger
Describe the new packet capture library and utilities Signed-off-by: Stephen Hemminger --- doc/api/doxy-api-index.md | 1 + doc/api/doxy-api.conf.in | 1 + .../howto/img/packet_capture_framework.svg| 96 +-- doc/guides/howto/packet_c

[dpdk-dev] [PATCH v2 3/5] app/dumpcap: add new packet capture application

2021-09-03 Thread Stephen Hemminger
This is a new packet capture application to replace existing pdump. The new application works like Wireshark dumpcap program and supports the pdump API features. It is not complete yet some features such as filtering are not implemented. Signed-off-by: Stephen Hemminger --- app/dumpcap/main.c

[dpdk-dev] [PATCH v2 2/5] pdump: support pcapng and filtering

2021-09-03 Thread Stephen Hemminger
This enhances the DPDK pdump library to support new pcapng format and filtering via BPF. The internal client/server protocol is changed to support two versions: the original pdump basic version and a new pcapng version. The internal version number (not part of exposed API or ABI) is intentionally

[dpdk-dev] [PATCH v2 1/5] librte_pcapng: add new library for writing pcapng files

2021-09-03 Thread Stephen Hemminger
This is utility library for writing pcapng format files used by Wireshark family of utilities. Older tcpdump also knows how to read (but not write) this format. See draft RFC https://www.ietf.org/id/draft-tuexen-opsawg-pcapng-03.html and https://github.com/pcapng/pcapng/ Signed-off-by: Stephe

[dpdk-dev] [PATCH v2 0/5] Packet capture framework enhancements

2021-09-03 Thread Stephen Hemminger
This patch set is a more complete version of the the enhanced packet capture support described last year. The new capture library and utility are: - faster avoids lots of extra I/O, does bursting, etc. - gives more information (multiple ports, queues, etc) - has a better user interface (same

[dpdk-dev] [PATCH 4/5] compress/mlx5: refactor queue HW object

2021-09-03 Thread Raja Zidane
The mlx5 PMD for compress class uses an MMO WQE operated by the GGA engine in BF devices. Currently, all the MMO WQEs are managed by the SQ object. Starting from BF3, the queue of the MMO WQEs should be connected to the GGA engine using a new configuration, MMO, that will be supported only in the Q

[dpdk-dev] [PATCH] compress/mlx5: allow partial transformations support

2021-09-03 Thread Raja Zidane
Currently compress, decompress and dma are allowed only when all 3 capabilities are on. A case where the user wants decompress offload, if decompress capability is on but one of compress, dma is off, is not allowed. Split compress/decompress/dma support check to allow partial transformations. Sign

[dpdk-dev] [PATCH 2/5] common/mlx5: update new MMO HCA capabilities

2021-09-03 Thread Raja Zidane
New MMO HCA capabilities were added and others were renamed. Align hca capabilities with new prm. Add support in devx interface for changes in HCA capabilities. Signed-off-by: Raja Zidane Acked-by: Matan Azrad --- drivers/common/mlx5/mlx5_devx_cmds.c | 11 --- drivers/common/mlx5/mlx5_d

[dpdk-dev] [PATCH 5/5] regex/mlx5: refactor HW queue objects

2021-09-03 Thread Raja Zidane
The mlx5 PMD for regex class uses an MMO WQE operated by the GGA engine in BF devices. Currently, all the MMO WQEs are managed by the SQ object. Starting from BF3, the queue of the MMO WQEs should be connected to the GGA engine using a new configuration, MMO, that will be supported only in the QP o

[dpdk-dev] [PATCH 0/5] mlx5: replaced hardware queue object

2021-09-03 Thread Raja Zidane
The mlx5 PMDs for compress and regex classes use an MMO WQE operated by the GGA engine in BF devices. Currently, all the MMO WQEs are managed by the SQ object. Starting from BF3, the queue of the MMO WQEs should be connected to the GGA engine using a new configuration, mmo, that will be supported o

[dpdk-dev] [PATCH 3/5] common/mlx5: add MMO configuration for the DevX QP

2021-09-03 Thread Raja Zidane
A new configuration MMO was added to QP Context. If set, MMO WQEs are supported on this QP. For DMA MMO, supported only when dma_mmo_qp==1. For REGEXP MMO, supported only when regexp_mmo_qp==1. For COMPRESS MMO, supported only when compress_mmo_qp==1. For DECOMPRESS MMO, supported only when decompr

[dpdk-dev] [PATCH 1/5] common/mlx5: share DevX QP operations

2021-09-03 Thread Raja Zidane
Currently drivers using QP (vDPA, crypto and compress, regex soon) manage their memory, creation, modification and destruction of the QP, in almost identical code. Move QP memory management, creation and destruction to common. Add common function to change QP state to RTS. Add user_index attribute

Re: [dpdk-dev] [PATCH v2 6/6] app/test: add dmadev fill tests

2021-09-03 Thread Bruce Richardson
On Fri, Sep 03, 2021 at 05:17:49PM +0100, Conor Walsh wrote: > > It's probably worth noting that the new DMA IOAT drivers passes all of these > driver tests. > That's probably better called out in the cover letter of the IOAT set itself.

[dpdk-dev] DPDK Release Status Meeting 2021-09-02

2021-09-03 Thread Mcnamara, John
Release status meeting minutes 2021-09-02 = Agenda: * Release Dates * Subtrees * Roadmaps * LTS * Defects * Opens Participants: * ARM * Broadcom * Canonical * Intel * Marvell * Nvidia * Red Hat Release Dates - * v21.11 dates * Proposal/V1:

Re: [dpdk-dev] [PATCH v2 5/6] app/test: test dmadev instance failure handling

2021-09-03 Thread Kevin Laatz
On 01/09/2021 17:32, Bruce Richardson wrote: Add a series of tests to inject bad copy operations into a dmadev to test the error handling and reporting capabilities. Various combinations of errors in various positions in a burst are tested, as are errors in bursts with fence flag set, and multipl

Re: [dpdk-dev] [PATCH v2 6/6] app/test: add dmadev fill tests

2021-09-03 Thread Conor Walsh
It's probably worth noting that the new DMA IOAT drivers passes all of these driver tests. From: Kevin Laatz For dma devices which support the fill operation, run unit tests to verify fill behaviour is correct. Signed-off-by: Kevin Laatz Signed-off-by: Bruce Richardson --- Reviewed-

[dpdk-dev] [PATCH] net/af_xdp: fix support of secondary process

2021-09-03 Thread Stephen Hemminger
Doing basic operations like info_get or get_stats was broken in af_xdp PMD. The info_get would crash because dev->device was NULL in secondary process. Fix this by doing same initialization as af_packet and tap devices. The get_stats would crash because the XDP socket is not open in primary proces

Re: [dpdk-dev] [PATCH v3 2/5] test/crypto: add combined mode tests

2021-09-03 Thread Anoob Joseph
HI Ciara, Please see inline. Thanks, Anoob > > External Email > > -- > Hi Anoob, > > > >-Original Message- > >From: Anoob Joseph > >Sent: Friday 3 September 2021 11:05 > >To: Power, Ciara ; Akhil Goyal > >; Doherty,

Re: [dpdk-dev] [PATCH v2 4/6] app/test: add more comprehensive dmadev copy tests

2021-09-03 Thread Kevin Laatz
On 01/09/2021 17:32, Bruce Richardson wrote: Add unit tests for various combinations of use for dmadev, copying bursts of packets in various formats, e.g. 1. enqueuing two smaller bursts and completing them as one burst 2. enqueuing one burst and gathering completions in smaller bursts 3. using

Re: [dpdk-dev] [PATCH v2 6/6] app/test: add dmadev fill tests

2021-09-03 Thread Conor Walsh
From: Kevin Laatz For dma devices which support the fill operation, run unit tests to verify fill behaviour is correct. Signed-off-by: Kevin Laatz Signed-off-by: Bruce Richardson --- Reviewed-by: Conor Walsh

Re: [dpdk-dev] [PATCH v2 5/6] app/test: test dmadev instance failure handling

2021-09-03 Thread Conor Walsh
Add a series of tests to inject bad copy operations into a dmadev to test the error handling and reporting capabilities. Various combinations of errors in various positions in a burst are tested, as are errors in bursts with fence flag set, and multiple errors in a single burst. Signed-off-by:

Re: [dpdk-dev] [PATCH v2 4/6] app/test: add more comprehensive dmadev copy tests

2021-09-03 Thread Conor Walsh
Add unit tests for various combinations of use for dmadev, copying bursts of packets in various formats, e.g. 1. enqueuing two smaller bursts and completing them as one burst 2. enqueuing one burst and gathering completions in smaller bursts 3. using completed_status() function to gather compl

Re: [dpdk-dev] [PATCH v2 3/6] app/test: add basic dmadev copy tests

2021-09-03 Thread Conor Walsh
For each dmadev instance, perform some basic copy tests to validate that functionality. Signed-off-by: Bruce Richardson --- +static inline void +await_hw(int dev_id, uint16_t vchan) +{ + int idle = rte_dmadev_vchan_idle(dev_id, vchan); + if (idle < 0) { + /* for d

Re: [dpdk-dev] [PATCH v2 2/6] app/test: add basic dmadev instance tests

2021-09-03 Thread Conor Walsh
Run basic sanity tests for configuring, starting and stopping a dmadev instance to help validate drivers. This also provides the framework for future tests for data-path operation. Signed-off-by: Bruce Richardson --- Reviewed-by: Conor Walsh

Re: [dpdk-dev] [PATCH v2 3/6] app/test: add basic dmadev copy tests

2021-09-03 Thread Kevin Laatz
On 01/09/2021 17:32, Bruce Richardson wrote: For each dmadev instance, perform some basic copy tests to validate that functionality. Signed-off-by: Bruce Richardson --- app/test/test_dmadev.c | 174 + 1 file changed, 174 insertions(+) + +static in

Re: [dpdk-dev] [PATCH v19 7/7] app/test: add dmadev API test

2021-09-03 Thread Walsh, Conor
> This is a tradeoff point. If we changed the log level of dmadev, it is > difficult to > know where the test case fails. > > So I prefer add more meaningful information, at least print out the function > name. > > And V19 add format function name in log default, so the rte_dmadev's log > will

Re: [dpdk-dev] [PATCH v19 6/7] dma/skeleton: introduce skeleton dmadev driver

2021-09-03 Thread Conor Walsh
Skeleton dmadevice driver, on the lines of rawdev skeleton, is for showcasing of the dmadev library. Design of skeleton involves a virtual device which is plugged into VDEV bus on initialization. Also, enable compilation of dmadev skeleton drivers. Signed-off-by: Chengwen Feng --- +/* Co

Re: [dpdk-dev] [PATCH v8] doc: add release milestones definition

2021-09-03 Thread Ferruh Yigit
On 9/3/2021 12:50 PM, Thomas Monjalon wrote: > 02/09/2021 18:33, Ferruh Yigit: >> On 8/26/2021 11:11 AM, Thomas Monjalon wrote: >>> +rc1 >>> +~~~ >>> + >>> +* Priority: libraries. No library feature should be accepted after -rc1. >>> +* API changes or additions must be implemented in libraries. >>>

Re: [dpdk-dev] [PATCH v19 4/7] dmadev: introduce DMA device library implementation

2021-09-03 Thread Conor Walsh
This patch introduce DMA device library implementation which includes configuration and I/O with the DMA devices. Signed-off-by: Chengwen Feng Acked-by: Bruce Richardson Acked-by: Morten Brørup --- + +static int +dmadev_shared_data_prepare(void) +{ + const struct rte_memzone *mz; +

Re: [dpdk-dev] [PATCH v19 3/7] dmadev: introduce DMA device library PMD header

2021-09-03 Thread Conor Walsh
This patch introduce DMA device library PMD header which was driver facing APIs for a DMA device. Signed-off-by: Chengwen Feng Acked-by: Bruce Richardson Acked-by: Morten Brørup --- Reviewed-by: Conor Walsh

Re: [dpdk-dev] [PATCH v19 2/7] dmadev: introduce DMA device library internal header

2021-09-03 Thread Conor Walsh
This patch introduce DMA device library internal header, which contains internal data types that are used by the DMA devices in order to expose their ops to the class. Signed-off-by: Chengwen Feng Acked-by: Bruce Richardson Acked-by: Morten Brørup --- Reviewed-by: Conor Walsh

Re: [dpdk-dev] [PATCH v19 1/7] dmadev: introduce DMA device library public APIs

2021-09-03 Thread Conor Walsh
The 'dmadevice' is a generic type of DMA device. This patch introduce the 'dmadevice' public APIs which expose generic operations that can enable configuration and I/O with the DMA devices. Maintainers update is also included in this patch. Signed-off-by: Chengwen Feng Acked-by: Bruce Richa

Re: [dpdk-dev] [PATCH v19 4/7] dmadev: introduce DMA device library implementation

2021-09-03 Thread Bruce Richardson
On Fri, Sep 03, 2021 at 04:13:41PM +0100, Kevin Laatz wrote: > On 02/09/2021 14:13, Chengwen Feng wrote: > > +++ b/lib/dmadev/rte_dmadev.c > > @@ -0,0 +1,614 @@ > > +/* SPDX-License-Identifier: BSD-3-Clause > > + * Copyright(c) 2021 HiSilicon Limited. > > + * Copyright(c) 2021 Intel Corporation. >

Re: [dpdk-dev] [EXT] [PATCH v2] app/crypto-perf: add throughput test for asymmetric crypto

2021-09-03 Thread Akhil Goyal
> From: Kiran Kumar K > > Adding support for asymmetric crypto perf test. > Only modex is supported for now. > > Signed-off-by: Kiran Kumar K > --- Acked-by: Akhil Goyal

Re: [dpdk-dev] [PATCH 2/4] cryptodev: promote asym APIs to stable

2021-09-03 Thread Akhil Goyal
Hi Arek, Do you think all the asym APIs are not eligible for promoting it to stable APIs? I haven't seen any changes for quite some time and we cannot have it experimental Forever. The APIs which you think are expected to change, we can leave them as experimental And mark the others as stable.

[dpdk-dev] [PATCH] update Intel roadmap for 21.11

2021-09-03 Thread Ferruh Yigit
Signed-off-by: Ferruh Yigit --- Cc: John McNamara --- content/roadmap/_index.md | 16 1 file changed, 16 insertions(+) diff --git a/content/roadmap/_index.md b/content/roadmap/_index.md index 0bf652014350..8bc795839e0f 100644 --- a/content/roadmap/_index.md +++ b/content/roadma

Re: [dpdk-dev] [PATCH v19 7/7] app/test: add dmadev API test

2021-09-03 Thread Kevin Laatz
On 02/09/2021 14:13, Chengwen Feng wrote: This patch add dmadev API test which based on 'dma_skeleton' vdev. The test cases could be executed using 'dmadev_autotest' command in test framework. Signed-off-by: Chengwen Feng Signed-off-by: Bruce Richardson --- MAINTAINERS| 1 +

Re: [dpdk-dev] [PATCH v19 6/7] dma/skeleton: introduce skeleton dmadev driver

2021-09-03 Thread Kevin Laatz
On 02/09/2021 14:13, Chengwen Feng wrote: Skeleton dmadevice driver, on the lines of rawdev skeleton, is for showcasing of the dmadev library. Design of skeleton involves a virtual device which is plugged into VDEV bus on initialization. Also, enable compilation of dmadev skeleton drivers. Sig

Re: [dpdk-dev] [PATCH v19 5/7] doc: add DMA device library guide

2021-09-03 Thread Kevin Laatz
On 02/09/2021 14:13, Chengwen Feng wrote: This patch adds dmadev library guide. Signed-off-by: Chengwen Feng Acked-by: Conor Walsh --- MAINTAINERS | 1 + doc/guides/prog_guide/dmadev.rst | 125 doc/guides/prog_guide/img/dmadev.svg | 283 +

Re: [dpdk-dev] [PATCH v19 4/7] dmadev: introduce DMA device library implementation

2021-09-03 Thread Kevin Laatz
On 02/09/2021 14:13, Chengwen Feng wrote: This patch introduce DMA device library implementation which includes configuration and I/O with the DMA devices. Signed-off-by: Chengwen Feng Acked-by: Bruce Richardson Acked-by: Morten Brørup --- config/rte_config.h | 3 + lib/dmadev/m

Re: [dpdk-dev] [PATCH v19 3/7] dmadev: introduce DMA device library PMD header

2021-09-03 Thread Kevin Laatz
On 02/09/2021 14:13, Chengwen Feng wrote: This patch introduce DMA device library PMD header which was driver facing APIs for a DMA device. Signed-off-by: Chengwen Feng Acked-by: Bruce Richardson Acked-by: Morten Brørup --- lib/dmadev/meson.build | 1 + lib/dmadev/rte_dmadev.h |

Re: [dpdk-dev] [PATCH v19 2/7] dmadev: introduce DMA device library internal header

2021-09-03 Thread Kevin Laatz
On 02/09/2021 14:13, Chengwen Feng wrote: This patch introduce DMA device library internal header, which contains internal data types that are used by the DMA devices in order to expose their ops to the class. Signed-off-by: Chengwen Feng Acked-by: Bruce Richardson Acked-by: Morten Brørup ---

Re: [dpdk-dev] [PATCH v19 1/7] dmadev: introduce DMA device library public APIs

2021-09-03 Thread Kevin Laatz
On 02/09/2021 14:13, Chengwen Feng wrote: The 'dmadevice' is a generic type of DMA device. This patch introduce the 'dmadevice' public APIs which expose generic operations that can enable configuration and I/O with the DMA devices. Maintainers update is also included in this patch. Signed-off-

Re: [dpdk-dev] [PATCH v3 2/5] test/crypto: add combined mode tests

2021-09-03 Thread Power, Ciara
Hi Anoob, >-Original Message- >From: Anoob Joseph >Sent: Friday 3 September 2021 11:05 >To: Power, Ciara ; Akhil Goyal ; >Doherty, Declan ; Zhang, Roy Fan >; Ananyev, Konstantin > >Cc: Jerin Jacob Kollanukkaran ; Archana Muniganti >; Tejasree Kondoj ; Hemant >Agrawal ; Nicolau, Radu ; >G

Re: [dpdk-dev] [PATCH v3 0/8] Crypto adapter support for Marvell CNXK driver

2021-09-03 Thread Akhil Goyal
> First three patches are to support crypto adapter implementation and the > remaining patches add event crypto adapter OP_FORWARD mode support > on > Marvell CN9K and CN10K SOC. > > v3: > * Fixed checkpatch errors. > > v2: > * Fixed checkpatch errors. > > Shijith Thotton (8): > net/cnxk: add

Re: [dpdk-dev] [PATCH] examples/ipsec-secgw: use mbuf packet type in ev worker

2021-09-03 Thread Akhil Goyal
> Use mbuf packet type for traffic identification as > packet is parsed already by HW before and HW/PMD updates > necessary info in mbuf packet type of the found protocols. > > This change is specifically for event mode. > > Signed-off-by: Nithin Dabilpuram > --- Acked-by: Akhil Goyal

Re: [dpdk-dev] [PATCH v10 2/3] devtools: script to send notifications of expired symbols

2021-09-03 Thread Kinsella, Ray
On 01/09/2021 14:01, David Marchand wrote: > Hello Ray, > > On Tue, Aug 31, 2021 at 4:51 PM Ray Kinsella wrote: >> >> Use this script with the output of the DPDK symbol tool, to notify >> maintainers of expired symbols by email. You need to define the environment >> variable DPDK_GETMAINTAINER

Re: [dpdk-dev] [PATCH v10 2/3] devtools: script to send notifications of expired symbols

2021-09-03 Thread Kinsella, Ray
On 01/09/2021 13:46, Aaron Conole wrote: > Ray Kinsella writes: > >> Use this script with the output of the DPDK symbol tool, to notify >> maintainers of expired symbols by email. You need to define the environment >> variable DPDK_GETMAINTAINER_PATH for this tool to work. >> >> Use terminal o

Re: [dpdk-dev] [PATCH v10 2/3] devtools: script to send notifications of expired symbols

2021-09-03 Thread Kinsella, Ray
Hi David, On 01/09/2021 14:01, David Marchand wrote: > Hello Ray, > > On Tue, Aug 31, 2021 at 4:51 PM Ray Kinsella wrote: >> >> Use this script with the output of the DPDK symbol tool, to notify >> maintainers of expired symbols by email. You need to define the environment >> variable DPDK_GETM

[dpdk-dev] [PATCH v11 3/3] maintainers: add new abi scripts

2021-09-03 Thread Ray Kinsella
Add new abi management scripts to the MAINTAINERS file. Signed-off-by: Ray Kinsella --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 266f5ac1da..ff8245271f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -129,6 +129,8 @@ F: devtools/gen-abi.sh

[dpdk-dev] [PATCH v11 2/3] devtools: script to send notifications of expired symbols

2021-09-03 Thread Ray Kinsella
Use this script with the output of the DPDK symbol tool, to notify maintainers of expired symbols by email. You need to define the environment variable DPDK_GETMAINTAINER_PATH for this tool to work. Use terminal output to review the emails before sending. e.g. $ devtools/symbol-tool.py list-expire

[dpdk-dev] [PATCH v11 1/3] devtools: script to track symbols over releases

2021-09-03 Thread Ray Kinsella
This script tracks the growth of stable and experimental symbols over releases since v19.11. The script has the ability to count the added symbols between two dpdk releases, and to list experimental symbols present in two dpdk releases (expired symbols). example usages: Count symbols added since

[dpdk-dev] [PATCH v11 0/3] devtools: scripts to count and track symbols

2021-09-03 Thread Ray Kinsella
Scripts to count and track the lifecycle of DPDK symbols. The symbol-tool script reports on the growth of symbols over releases and list expired symbols. The notify-symbol-maintainers script consumes the input from symbol-tool and generates email notifications of expired symbols. v2: reworked to

Re: [dpdk-dev] [PATCH 06/10] vdpa/sfc: add support for dev conf and dev close ops

2021-09-03 Thread Vijay Kumar Srivastava
Hi Maxime, >-Original Message- >From: Maxime Coquelin >Sent: Monday, August 30, 2021 5:06 PM >To: Vijay Kumar Srivastava ; dev@dpdk.org >Cc: chenbo@intel.com; andrew.rybche...@oktetlabs.ru; Vijay Kumar >Srivastava >Subject: Re: [PATCH 06/10] vdpa/sfc: add support for dev conf and de

Re: [dpdk-dev] [PATCH 08/10] vdpa/sfc: add support for MAC filter config

2021-09-03 Thread Vijay Kumar Srivastava
Hi Maxime, >-Original Message- >From: Maxime Coquelin >Sent: Monday, August 30, 2021 7:18 PM >To: Vijay Kumar Srivastava ; dev@dpdk.org >Cc: chenbo@intel.com; andrew.rybche...@oktetlabs.ru; Vijay Kumar >Srivastava >Subject: Re: [PATCH 08/10] vdpa/sfc: add support for MAC filter conf

Re: [dpdk-dev] [PATCH 02/10] vdpa/sfc: add support for device initialization

2021-09-03 Thread Vijay Kumar Srivastava
Hi Chenbo, >-Original Message- >From: Xia, Chenbo >Sent: Monday, August 30, 2021 4:22 PM >To: Vijay Kumar Srivastava ; dev@dpdk.org >Cc: maxime.coque...@redhat.com; andrew.rybche...@oktetlabs.ru; Vijay >Kumar Srivastava >Subject: RE: [PATCH 02/10] vdpa/sfc: add support for device initia

Re: [dpdk-dev] [PATCH] metrics: promote metrics deinitialize API

2021-09-03 Thread Kinsella, Ray
On 03/09/2021 14:08, Harman Kalra wrote: > Remove experimental flag from rte_metrics_deinit(). > This API was introduced in 19.11 release. > > Signed-off-by: Harman Kalra > --- > lib/metrics/rte_metrics.h | 4 > lib/metrics/version.map | 2 +- > 2 files changed, 1 insertion(+), 5 delet

[dpdk-dev] [PATCH] metrics: promote metrics deinitialize API

2021-09-03 Thread Harman Kalra
Remove experimental flag from rte_metrics_deinit(). This API was introduced in 19.11 release. Signed-off-by: Harman Kalra --- lib/metrics/rte_metrics.h | 4 lib/metrics/version.map | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/metrics/rte_metrics.h b/lib/metric

Re: [dpdk-dev] [PATCH v19 1/7] dmadev: introduce DMA device library public APIs

2021-09-03 Thread Bruce Richardson
On Thu, Sep 02, 2021 at 09:13:09PM +0800, Chengwen Feng wrote: > The 'dmadevice' is a generic type of DMA device. > > This patch introduce the 'dmadevice' public APIs which expose generic > operations that can enable configuration and I/O with the DMA devices. > > Maintainers update is also inclu

Re: [dpdk-dev] [PATCH] pipeline: remove experimental tag from API

2021-09-03 Thread Kinsella, Ray
On 01/09/2021 13:20, Jasvinder Singh wrote: > These APIs were introduced in 18.05, therefore removing > experimental tag to promote them to stable state. > > Signed-off-by: Jasvinder Singh > --- > lib/pipeline/rte_port_in_action.h | 10 -- > lib/pipeline/rte_table_action.h | 18

Re: [dpdk-dev] [PATCH v18 8/8] maintainers: add for dmadev

2021-09-03 Thread Maxime Coquelin
Hi, On 9/2/21 3:39 PM, fengchengwen wrote: > Fix in v19 > > I think there many patches wait for dmadev framework upstream, so > could you help review unreviewd patches (like dma/skeleton and app/test)? Thanks for all the work, it looks really promising! > Also, we have developed the dma driver

Re: [dpdk-dev] [PATCH] pipeline: remove experimental tag from API

2021-09-03 Thread Zhang, Roy Fan
> -Original Message- > From: Singh, Jasvinder > Sent: Wednesday, September 1, 2021 1:20 PM > To: dev@dpdk.org > Cc: Dumitrescu, Cristian ; m...@ashroe.eu; > Zhang, Roy Fan > Subject: [PATCH] pipeline: remove experimental tag from API > > These APIs were introduced in 18.05, therefore rem

Re: [dpdk-dev] [PATCH v8] doc: add release milestones definition

2021-09-03 Thread Thomas Monjalon
03/09/2021 14:26, Andrew Rybchenko: > On 8/26/21 1:11 PM, Thomas Monjalon wrote: > > +* Announce new features in libraries, drivers, applications, and examples. > > +* To be published before the first day of the release cycle. > > What is the first day of the release cycle? Proposal deadline? > Or

Re: [dpdk-dev] [PATCH] test/crypto: refactor scheduler test worker PMDs

2021-09-03 Thread Zhang, Roy Fan
> -Original Message- > From: Troy, Rebecca > Sent: Thursday, September 2, 2021 12:54 PM > To: dev@dpdk.org > Cc: Zhang, Roy Fan ; Troy, Rebecca > ; Akhil Goyal ; Doherty, > Declan > Subject: [PATCH] test/crypto: refactor scheduler test worker PMDs > > Previously, the scheduler unit test

Re: [dpdk-dev] [PATCH v4 09/10] ipsec: add support for initial SQN value

2021-09-03 Thread Zhang, Roy Fan
> -Original Message- > From: Nicolau, Radu > Sent: Friday, September 3, 2021 12:26 PM > To: Ananyev, Konstantin ; Iremonger, > Bernard ; Medvedkin, Vladimir > > Cc: dev@dpdk.org; m...@ashroe.eu; Richardson, Bruce > ; Zhang, Roy Fan ; > hemant.agra...@nxp.com; gak...@marvell.com; ano...@ma

Re: [dpdk-dev] [PATCH v4 08/10] ipsec: add support for SA telemetry

2021-09-03 Thread Zhang, Roy Fan
> -Original Message- > From: Nicolau, Radu > Sent: Friday, September 3, 2021 12:26 PM > To: Ananyev, Konstantin ; Iremonger, > Bernard ; Medvedkin, Vladimir > ; Ray Kinsella > Cc: dev@dpdk.org; Richardson, Bruce ; Zhang, > Roy Fan ; hemant.agra...@nxp.com; > gak...@marvell.com; ano...@mar

Re: [dpdk-dev] [PATCH v4 07/10] ipsec: add support for NAT-T

2021-09-03 Thread Zhang, Roy Fan
> -Original Message- > From: Nicolau, Radu > Sent: Friday, September 3, 2021 12:26 PM > To: Ananyev, Konstantin ; Iremonger, > Bernard ; Medvedkin, Vladimir > > Cc: dev@dpdk.org; m...@ashroe.eu; Richardson, Bruce > ; Zhang, Roy Fan ; > hemant.agra...@nxp.com; gak...@marvell.com; ano...@ma

Re: [dpdk-dev] [PATCH v4 06/10] ipsec: add transmit segmentation offload support

2021-09-03 Thread Zhang, Roy Fan
> -Original Message- > From: Nicolau, Radu > Sent: Friday, September 3, 2021 12:26 PM > To: Ananyev, Konstantin ; Iremonger, > Bernard ; Medvedkin, Vladimir > > Cc: dev@dpdk.org; m...@ashroe.eu; Richardson, Bruce > ; Zhang, Roy Fan ; > hemant.agra...@nxp.com; gak...@marvell.com; ano...@ma

Re: [dpdk-dev] [PATCH v4 02/10] security: add UDP params for IPsec NAT-T

2021-09-03 Thread Zhang, Roy Fan
> -Original Message- > From: Nicolau, Radu > Sent: Friday, September 3, 2021 12:26 PM > To: Akhil Goyal ; Doherty, Declan > > Cc: dev@dpdk.org; m...@ashroe.eu; Ananyev, Konstantin > ; Medvedkin, Vladimir > ; Richardson, Bruce > ; Zhang, Roy Fan ; > hemant.agra...@nxp.com; ano...@marvel

Re: [dpdk-dev] [PATCH 4/7] examples/ipsec-secgw: enable stats by default

2021-09-03 Thread Zhang, Roy Fan
> -Original Message- > From: dev On Behalf Of Radu Nicolau > Sent: Friday, September 3, 2021 12:23 PM > To: Nicolau, Radu ; Akhil Goyal > > Cc: dev@dpdk.org; Doherty, Declan > Subject: [dpdk-dev] [PATCH 4/7] examples/ipsec-secgw: enable stats by > default > > Enable stats screen by d

Re: [dpdk-dev] [PATCH v4 01/10] security: add support for TSO on IPsec session

2021-09-03 Thread Zhang, Roy Fan
> -Original Message- > From: Nicolau, Radu > Sent: Friday, September 3, 2021 12:26 PM > To: Akhil Goyal ; Doherty, Declan > > Cc: dev@dpdk.org; m...@ashroe.eu; Ananyev, Konstantin > ; Medvedkin, Vladimir > ; Richardson, Bruce > ; Zhang, Roy Fan ; > hemant.agra...@nxp.com; ano...@marvel

Re: [dpdk-dev] [PATCH v4 03/10] security: add ESN field to ipsec_xform

2021-09-03 Thread Zhang, Roy Fan
> -Original Message- > From: Nicolau, Radu > Sent: Friday, September 3, 2021 12:26 PM > To: Akhil Goyal ; Doherty, Declan > > Cc: dev@dpdk.org; m...@ashroe.eu; Ananyev, Konstantin > ; Medvedkin, Vladimir > ; Richardson, Bruce > ; Zhang, Roy Fan ; > hemant.agra...@nxp.com; ano...@marvell.c

Re: [dpdk-dev] [PATCH v4 04/10] mbuf: add IPsec ESP tunnel type

2021-09-03 Thread Zhang, Roy Fan
> -Original Message- > From: Nicolau, Radu > Sent: Friday, September 3, 2021 12:26 PM > To: Olivier Matz > Cc: dev@dpdk.org; m...@ashroe.eu; Ananyev, Konstantin > ; Medvedkin, Vladimir > ; Richardson, Bruce > ; Zhang, Roy Fan ; > hemant.agra...@nxp.com; gak...@marvell.com; ano...@marvell.

Re: [dpdk-dev] [PATCH v4 05/10] ipsec: add support for AEAD algorithms

2021-09-03 Thread Zhang, Roy Fan
> -Original Message- > From: Nicolau, Radu > Sent: Friday, September 3, 2021 12:26 PM > To: Ananyev, Konstantin ; Iremonger, > Bernard ; Medvedkin, Vladimir > > Cc: dev@dpdk.org; m...@ashroe.eu; Richardson, Bruce > ; Zhang, Roy Fan ; > hemant.agra...@nxp.com; gak...@marvell.com; ano...

[dpdk-dev] [PATCH v1 7/7] eal/alarm: introduce alarm fini routine

2021-09-03 Thread Harman Kalra
Implementing alarm cleanup routine, where the memory allocated for interrupt instance can be freed. Signed-off-by: Harman Kalra --- lib/eal/common/eal_private.h | 11 +++ lib/eal/freebsd/eal.c| 1 + lib/eal/freebsd/eal_alarm.c | 7 +++ lib/eal/linux/eal.c | 1 +

[dpdk-dev] [PATCH v1 6/7] eal/interrupts: make interrupt handle structure opaque

2021-09-03 Thread Harman Kalra
Moving interrupt handle structure definition inside the c file to make its fields totally opaque to the outside world. Dynamically allocating the efds and elist array os intr_handle structure, based on size provided by user. Eg size can be MSIX interrupts supported by a PCI device. Signed-off-by:

[dpdk-dev] [PATCH v1 4/7] test/interrupt: apply get set interrupt handle APIs

2021-09-03 Thread Harman Kalra
Updating the interrupt testsuite to make use of interrupt handle get set APIs. Signed-off-by: Harman Kalra --- app/test/test_interrupts.c | 237 - 1 file changed, 152 insertions(+), 85 deletions(-) diff --git a/app/test/test_interrupts.c b/app/test/test_inter

  1   2   >