examples/vhost: add async vhost args parsing
authorCheng Jiang <cheng1.jiang@intel.com>
Thu, 22 Oct 2020 08:59:06 +0000 (08:59 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:24:26 +0000 (23:24 +0100)
commit3a04ecb21420cff673b003998303283cb4eb4c76
treea8e2d5fdc85c75cd8ea3c0fa5f706a167b17ade8
parentf56b6d450bea473f2762912e162fc58b22bccb40
examples/vhost: add async vhost args parsing

This patch is to add async vhost driver arguments parsing function
for CBDMA channel, DMA initiation function and args description.
The meson build file is changed to fix dependency problem. With
these arguments vhost device can be set to use CBDMA or CPU for
enqueue operation and bind vhost device with specific CBDMA channel
to accelerate data copy.

Signed-off-by: Cheng Jiang <cheng1.jiang@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
doc/guides/sample_app_ug/vhost.rst
examples/vhost/ioat.c [new file with mode: 0644]
examples/vhost/ioat.h [new file with mode: 0644]
examples/vhost/main.c
examples/vhost/meson.build