Re: [dpdk-dev] [RFC PATCH v2 0/7] heterogeneous computing library

2021-08-28 Thread Wang, Haiyue
> -Original Message- > From: Jerin Jacob > Sent: Friday, August 27, 2021 20:19 > To: Thomas Monjalon > Cc: Jerin Jacob ; dpdk-dev ; Stephen > Hemminger > ; David Marchand ; > Andrew Rybchenko > ; Wang, Haiyue ; > Honnappa Nagarahalli > ; Yigit, Ferruh ; > techbo...@dpdk.org; Elena > A

[dpdk-dev] [PATCH 2/2] eal/windows: fix export list

2021-08-28 Thread Dmitry Kozlyuk
* Version and randomness API were not added to .def file by mistake, which is why they were later excluded from the export list. * Device API stubs were added to EAL but not exported. Fixes: edd66d57d55c ("eal/windows: add random function") Fixes: 3d2fcb0e0aec ("eal/windows: add device event stu

[dpdk-dev] [PATCH 1/2] eal: remove Windows-specific list of common files

2021-08-28 Thread Dmitry Kozlyuk
The majority of common EAL sources that are built for all platforms were listed separately for Windows and for other OS. It seems that developers adding modules to EAL perceived this as if Windows supported only a limited subset of modules and only added new ones into another. Factor the truly comm

[dpdk-dev] [PATCH 0/2] eal/windows: restore mistakenly hidden API

2021-08-28 Thread Dmitry Kozlyuk
Some functions were not exported, and UUID API not even built on Windows for no compelling reason. This hasn't been an issue so far, because only static build is currently available on Windows, however: 1) it's better to have fewer differences between platforms; 2) enabling shared build is planned

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

2021-08-28 Thread Dmitry Kozlyuk
2021-08-18 10:13 (UTC-0700), 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 m

Re: [dpdk-dev] [PATCH v2 02/13] driver/mempool: build mempool stack on Windows

2021-08-28 Thread Dmitry Kozlyuk
2021-08-18 10:13 (UTC-0700), Jie Zhou: > mempool_autotest failed on Windows at setting the "stack" handler > test case. Per debugging, in rte_mempool_ops_table, there are only > 6 ring ops registered, and no "stack" ops registered which caused > the failure of rte_mempool_set_ops_byname and thus th

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

2021-08-28 Thread Dmitry Kozlyuk
2021-08-18 10:13 (UTC-0700), Jie Zhou: > In app/test/meson.build > - Specify the subset of source files to compile on Windows > - Specify the subset of tests to be enabled on Windows > Signed-off-by: Jie Zhou > --- > app/test/meson.build | 859 ++- > 1 file

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

2021-08-28 Thread Dmitry Kozlyuk
2021-08-18 10:13 (UTC-0700), Jie Zhou: > - Add python scripts to get coremask and check hugepage config > - Remove two corresponding .sh scripts > - Replace calling of .sh with corresponding .py in meson.build There are multiple violations of PEP8 in new files, please run a formatter on them, e.g.

[dpdk-dev] [PATCH] lib: remove sched.h from public headers

2021-08-28 Thread Dmitry Kozlyuk
Public headers including POSIX-specific were unusable on Windows. These includes were superfluous, remove them. Signed-off-by: Dmitry Kozlyuk --- lib/eal/include/rte_eal.h | 1 - lib/telemetry/rte_telemetry.h | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/eal/include/rte_eal.h b/l

Re: [dpdk-dev] [PATCH v2] ethdev: add namespace

2021-08-28 Thread Ajit Khaparde
On Fri, Aug 27, 2021 at 12:59 AM Andrew Rybchenko wrote: > > On 8/27/21 4:19 AM, Ferruh Yigit wrote: > > Add 'RTE_ETH' namespace to all enums & macros in a backward compatible > > way. The macros for backward compatibility can be removed in next LTS. > > > > Internal components switched to new enu

Re: [dpdk-dev] [PATCH v2 01/15] ethdev: introduce shared Rx queue

2021-08-28 Thread Xueming(Steven) Li
> -Original Message- > From: Jerin Jacob > Sent: Thursday, August 26, 2021 7:58 PM > To: Xueming(Steven) Li > Cc: dpdk-dev ; Ferruh Yigit ; > NBU-Contact-Thomas Monjalon ; > Andrew Rybchenko > Subject: Re: [PATCH v2 01/15] ethdev: introduce shared Rx queue > > On Thu, Aug 19, 2021 at

Re: [dpdk-dev] [PATCH] app/testpmd: add command to print representor info

2021-08-28 Thread Xueming(Steven) Li
> -Original Message- > From: Viacheslav Galaktionov > Sent: Friday, August 27, 2021 5:21 PM > To: Xueming(Steven) Li > Cc: Andrew Rybchenko ; Xiaoyun Li > ; dev@dpdk.org; Andy Moreton > > Subject: Re: [PATCH] app/testpmd: add command to print representor info > > On 2021-08-27 11:20

Re: [dpdk-dev] [PATCH v2] ethdev: fix representor port ID search by name

2021-08-28 Thread Xueming(Steven) Li
> -Original Message- > From: Viacheslav Galaktionov > Sent: Friday, August 27, 2021 5:48 PM > To: Xueming(Steven) Li > Cc: Andrew Rybchenko ; Ajit Khaparde > ; Somnath Kotur > ; John Daley ; Hyong Youb Kim > ; Beilei Xing > ; Qiming Yang ; Qi Zhang > ; Haiyue Wang > ; Matan Azrad ;

[dpdk-dev] [PATCH v3] net/pcap: support buffer size parameter

2021-08-28 Thread Qiming Chen
When the pcap port is probed, the size of the pcap message buffer is not set, the default is 2M, and then this value has a great impact on the message forwarding performance. Therefore, parameters are provided for users to set. In order to pass the buffer size parameter parsed by the probe to the

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

2021-08-28 Thread fengchengwen
I got checkpatch warning email of this patch, but there have none valid information: Test-Label: checkpatch Test-Status: WARNING http://dpdk.org/patch/97493 _coding style issues_ --- a/doc/guides/rel_notes/release_21_11.rst +++ b/doc/guides/rel_n

[dpdk-dev] [PATCH v2] net/pcap: support buffer size parameter

2021-08-28 Thread Qiming Chen
When the pcap port is probed, the size of the pcap message buffer is not set, the default is 2M, and then this value has a great impact on the message forwarding performance. Therefore, parameters are provided for users to set. In order to pass the buffer size parameter parsed by the probe to the

[dpdk-dev] [PATCH] net/pcap: support buffer size parameter

2021-08-28 Thread Qiming Chen
When the pcap port is probed, the size of the pcap message buffer is not set, the default is 2M, and then this value has a great impact on the message forwarding performance. Therefore, parameters are provided for users to set. In order to pass the buffer size parameter parsed by the probe to the

[dpdk-dev] [PATCH v17 5/8] doc: add DMA device library guide

2021-08-28 Thread Chengwen Feng
This patch adds dmadev library guide. Signed-off-by: Chengwen Feng Acked-by: Conor Walsh --- doc/guides/prog_guide/dmadev.rst | 125 doc/guides/prog_guide/img/dmadev.svg | 283 +++ doc/guides/prog_guide/index.rst | 1 + 3 files changed

[dpdk-dev] [PATCH v17 7/8] app/test: add dmadev API test

2021-08-28 Thread Chengwen Feng
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 --- app/test/meson.build | 4 + app/test/test_dmadev.c | 45 app/

[dpdk-dev] [PATCH v17 6/8] dma/skeleton: introduce skeleton dmadev driver

2021-08-28 Thread Chengwen Feng
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 --- drivers/dma/

[dpdk-dev] [PATCH v17 1/8] dmadev: introduce DMA device library public APIs

2021-08-28 Thread Chengwen Feng
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. Signed-off-by: Chengwen Feng Acked-by: Bruce Richardson Acked-by: Morten Brørup Acked-by: Jerin Jacob -

[dpdk-dev] [PATCH v17 3/8] dmadev: introduce DMA device library PMD header

2021-08-28 Thread Chengwen Feng
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 | 2 ++ lib/dmadev/rte_dmadev_pmd.h | 72 ++

[dpdk-dev] [PATCH v17 4/8] dmadev: introduce DMA device library implementation

2021-08-28 Thread Chengwen Feng
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/meson.build | 1 + lib/dmadev/rte_dmade

[dpdk-dev] [PATCH v17 2/8] dmadev: introduce DMA device library internal header

2021-08-28 Thread Chengwen Feng
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 --- lib/dmadev/meson.build | 1 + lib/

[dpdk-dev] [PATCH v17 0/8] support dmadev

2021-08-28 Thread Chengwen Feng
This patch set contains eight patch for new add dmadev. Chengwen Feng (8): dmadev: introduce DMA device library public APIs dmadev: introduce DMA device library internal header dmadev: introduce DMA device library PMD header dmadev: introduce DMA device library implementation doc: add DM

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

2021-08-28 Thread Chengwen Feng
This patch add myself as dmadev's maintainer and update release notes. Signed-off-by: Chengwen Feng --- MAINTAINERS| 7 +++ doc/guides/rel_notes/release_21_11.rst | 5 + 2 files changed, 12 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 266f5ac..c