On 10/22/20 10:59 AM, Cheng Jiang wrote:
> This patch set makes vhost-vswitch be able to use vhost async APIs
> for enqueue operations. Demonstrated how the application
> leverage IOAT DMA channel with vhost async APIs.
>
> We introduce two parameters to enable DMA acceleration for Tx
> operations of queues:
> -dma_type This parameter is used to specify DMA type for async
> vhost-user net driver.
> -dmas This parameter is used to specify the assigned DMA device of a
> vhost device and enable async vhost data path.
>
> ---
> v10:
> * Fixed compilation issue on specific environment
>
> v9:
> * Optimized code structure to solve compilation issue on non-x86 platforms
>
> v8:
> * Changed meson build file due to the change of ioat component name
>
> v7:
> * Improved IOAT callbacks and added some comments
>
> v6:
> * Cleand code and rebased for latest code
>
> v5:
> * Improved meson build file and fixed dependency problem
>
> v4:
> * Code rebased for latest IOAT driver
>
> v3:
> * Fixed a coding style problem
>
> v2:
> * Changed meson build file to fix dependency problem
> * Added parameter description in usage function
> * Optimized parameter settings and parsing function
> * Optimized abstraction, moved some code to ioat.c
>
> Cheng Jiang (4):
> example/vhost: add async vhost args parsing function
> example/vhost: add support for vhost async data path
> doc: update vhost sample doc for vhost async data path
> doc: update release notes for vhost sample
>
> doc/guides/rel_notes/release_20_11.rst | 6 +
> doc/guides/sample_app_ug/vhost.rst | 11 ++
> examples/vhost/ioat.c | 201 +++++++++++++++++++++++++
> examples/vhost/ioat.h | 45 ++++++
> examples/vhost/main.c | 93 +++++++++++-
> examples/vhost/main.h | 1 +
> examples/vhost/meson.build | 5 +
> 7 files changed, 360 insertions(+), 2 deletions(-)
> create mode 100644 examples/vhost/ioat.c
> create mode 100644 examples/vhost/ioat.h
>
> --
> 2.27.0
>
Applied to dpdk-next-virtio/main.
Thanks,
Maxime