On 2/9/22 13:51, Jiayu Hu wrote:
Since dmadev is introduced in 21.11, to avoid the overhead of vhost DMA abstraction layer and simplify application logics, this patch integrates dmadev in asynchronous data path. Signed-off-by: Jiayu Hu <jiayu...@intel.com> Signed-off-by: Sunil Pai G <sunil.pa...@intel.com> --- doc/guides/prog_guide/vhost_lib.rst | 100 +++++----- examples/vhost/Makefile | 2 +- examples/vhost/ioat.c | 218 ---------------------- examples/vhost/ioat.h | 63 ------- examples/vhost/main.c | 253 ++++++++++++++++++++----- examples/vhost/main.h | 11 ++ examples/vhost/meson.build | 6 +- lib/vhost/meson.build | 2 +- lib/vhost/rte_vhost.h | 2 + lib/vhost/rte_vhost_async.h | 145 ++++----------- lib/vhost/version.map | 3 + lib/vhost/vhost.c | 121 ++++++++---- lib/vhost/vhost.h | 85 ++++++++- lib/vhost/virtio_net.c | 277 ++++++++++++++++++++++------ 14 files changed, 693 insertions(+), 595 deletions(-) delete mode 100644 examples/vhost/ioat.c delete mode 100644 examples/vhost/ioat.h
Applied to dpdk-next-virtio/main. Thanks, Maxime