[dpdk-dev] [PATCH] vhost: add log print of socket path on adding connection

2021-09-04 Thread Gaoxiang Liu
Add log print of socket path in vhost_user_add_connection. It's useful when adding a mass of socket connections, because the information of every connection is more clearer. Fixes: a277c7159876 ("vhost: refactor code structure") Cc: sta...@dpdk.org Signed-off-by: Gaoxiang Liu --- lib/vhost/sock

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

2021-09-04 Thread Jerin Jacob
On Sat, Sep 4, 2021 at 3:44 PM Chengwen Feng wrote: > > This patch adds dmadev library guide. > > Signed-off-by: Chengwen Feng > Acked-by: Conor Walsh > Reviewed-by: Kevin Laatz Acked-by: Jerin Jacob > --- > MAINTAINERS | 1 + > doc/guides/prog_guide/dmadev.rst

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

2021-09-04 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 Reviewed-by: Kevin Laatz Reviewed-by: Conor Walsh --- MAINTAINERS

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

2021-09-04 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 Reviewed-by: Kevi

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

2021-09-04 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 Reviewed-by: Kevin Laatz Reviewed-by: Conor Walsh --- lib/dmadev/meson.build | 1 + lib/dmadev/rte_dmadev.h

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

2021-09-04 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. Maintainers update is also included in this patch. Signed-off-by: Chengwen Feng Acked-by: Bruce Richardso

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

2021-09-04 Thread Chengwen Feng
This patch adds dmadev library guide. Signed-off-by: Chengwen Feng Acked-by: Conor Walsh Reviewed-by: Kevin Laatz --- MAINTAINERS | 1 + doc/guides/prog_guide/dmadev.rst | 125 doc/guides/prog_guide/img/dmadev.svg | 283 +++ d

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

2021-09-04 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 Reviewed-by: Kevin Laatz Reviewed-by: Conor Walsh --- config/rte_config.h | 3 + lib/dm

[dpdk-dev] [PATCH v20 0/7] support dmadev

2021-09-04 Thread Chengwen Feng
This patch set contains seven patch for new add dmadev. Chengwen Feng (7): 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 v20 2/7] dmadev: introduce DMA device library internal header

2021-09-04 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 Reviewed-by: Kevin Laatz Reviewed-by: Conor Wa

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

2021-09-04 Thread Morten Brørup
> From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Bruce Richardson > Sent: Friday, 3 September 2021 15.04 > > 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 expo

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

2021-09-04 Thread fengchengwen
On 2021/9/3 23:35, Conor Walsh 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 >> --- > >> + >> +static int >> +dmadev_sh

[dpdk-dev] [PATCH v2] examples/l3fwd: add changes to use event vector

2021-09-04 Thread Shijith Thotton
Added changes to receive packets as event vector. By default this is disabled and can be enabled using the option --enable-vector. Vector size and timeout to form the vector can be configured using options --vector-size and --vector-tmo-ns. Example: dpdk-l3fwd -l 0-3 -n 4 -- -p 0x03 --mode

[dpdk-dev] [PATCH] examples/l2fwd-event: changes to use event vector

2021-09-04 Thread Shijith Thotton
Added changes to receive packets as event vector. By default this is disabled and can be enabled using the option --enable-vector. Vector size and timeout to form the vector can be configured using options --vector-size and --vector-tmo-ns. Example: dpdk-l2fwd-event -l 0-3 -n 4 -- -p 0x03

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

2021-09-04 Thread fengchengwen
On 2021/9/3 23:38, Walsh, Conor wrote: > >> 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

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

2021-09-04 Thread fengchengwen
On 2021/9/3 23:14, Kevin Laatz wrote: > 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. >> >>

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

2021-09-04 Thread fengchengwen
On 2021/9/3 20:59, Maxime Coquelin wrote: > 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 reall