On 11/4/19 5:36 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...@intel.com>
> ---
> v1 - add the case.
> v2 - add the rte_vhost prefix.
> v3 - add packed ring support
> v4 - fix build, MAINTAINERS and add guides
> v5 - fix ci/intel-compilation errors
> v6 - fix ci/intel-compilation errors
> ---
> MAINTAINERS | 2 +
> doc/guides/sample_app_ug/index.rst | 1 +
> doc/guides/sample_app_ug/vhost_blk.rst | 63 ++
> examples/meson.build | 2 +-
> 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 | 1094 ++++++++++++++++++++++++
> examples/vhost_blk/vhost_blk.h | 127 +++
> examples/vhost_blk/vhost_blk_compat.c | 173 ++++
> 11 files changed, 1770 insertions(+), 1 deletion(-)
> create mode 100644 doc/guides/sample_app_ug/vhost_blk.rst
> 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
Applied to dpdk-next-virtio/master.
Thanks,
Maxime