[dpdk-dev] [PATCH] examples/vhost_blk: refactor vhost-blk example

Maxime Coquelin maxime.coquelin at redhat.com
Mon Apr 27 10:01:40 CEST 2020



On 2/28/20 4:32 PM, Jin Yu wrote:
> Decrease the code and make it easier to read. It's
> useful for understanding the inflight APIs and how
> packed ring works. Update the RST because the packed
> ring patch has been merged to QEMU master and ring_packed
> parameter changes to packed.
> 
> Fixes: c19beb3f38cd ("examples/vhost_blk: introduce vhost storage sample")
> 
> Signed-off-by: Jin Yu <jin.yu at intel.com>
> ---
>  doc/guides/sample_app_ug/vhost_blk.rst |    8 +-
>  examples/vhost_blk/blk.c               |   13 +-
>  examples/vhost_blk/vhost_blk.c         | 1139 ++++++++++--------------
>  examples/vhost_blk/vhost_blk.h         |   39 +-
>  4 files changed, 494 insertions(+), 705 deletions(-)
> 

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

Thanks,
Maxime



More information about the dev mailing list