[PATCH v4 1/1] vhost: integrate dmadev in asynchronous data-path

Maxime Coquelin maxime.coquelin at redhat.com
Thu Feb 10 14:44:04 CET 2022



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.hu at intel.com>
> Signed-off-by: Sunil Pai G <sunil.pai.g at 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
> 

Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Thanks,
Maxime



More information about the dev mailing list