[dpdk-dev] [PATCH v11 9/9] vhost: add vhost-user-blk example which support inflight

Maxime Coquelin maxime.coquelin at redhat.com
Fri Oct 11 12:24:08 CEST 2019



On 10/9/19 10:48 PM, Jin Yu wrote:
> A vhost-user-blk example that support inflight feature. It uses the
> new APIs that introduced in the first patch, so it can show how these
> APIs work to support inflight feature.
> 
> Signed-off-by: Jin Yu <jin.yu at intel.com>
> ---
> V1 - add the case.
> V2 - add the rte_vhost prefix.
> V3 - add packed ring support
> ---
>  examples/vhost_blk/Makefile           |   68 ++
>  examples/vhost_blk/blk.c              |  125 +++
>  examples/vhost_blk/blk_spec.h         |   95 +++
>  examples/vhost_blk/meson.build        |   21 +
>  examples/vhost_blk/vhost_blk.c        | 1092 +++++++++++++++++++++++++
>  examples/vhost_blk/vhost_blk.h        |  128 +++
>  examples/vhost_blk/vhost_blk_compat.c |  195 +++++
>  7 files changed, 1724 insertions(+)
>  create mode 100644 examples/vhost_blk/Makefile
>  create mode 100644 examples/vhost_blk/blk.c
>  create mode 100644 examples/vhost_blk/blk_spec.h
>  create mode 100644 examples/vhost_blk/meson.build
>  create mode 100644 examples/vhost_blk/vhost_blk.c
>  create mode 100644 examples/vhost_blk/vhost_blk.h
>  create mode 100644 examples/vhost_blk/vhost_blk_compat.c
> 

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



More information about the dev mailing list