[dpdk-dev] [PATCH v5 01/11] lib/librte_vhost: move src files in vhost example to vhost lib directory

Thomas Monjalon thomas.monjalon at 6wind.com
Mon Sep 29 21:41:38 CEST 2014


Hi Huawei,

2014-09-26 17:45, Huawei Xie:
> "git mv examples/vhost lib/librte_vhost"
> This is a purely src file move, without any modification.
> Subsequent patch will transform those src files to a vhost library.
> 
> Signed-off-by: Huawei Xie <huawei.xie at intel.com>
> ---
>  examples/vhost/Makefile                      |   60 -
>  examples/vhost/eventfd_link/Makefile         |   39 -
>  examples/vhost/eventfd_link/eventfd_link.c   |  205 --
>  examples/vhost/eventfd_link/eventfd_link.h   |   79 -
>  examples/vhost/libvirt/qemu-wrap.py          |  367 ---
>  examples/vhost/main.c                        | 3725 --------------------------
>  examples/vhost/main.h                        |   86 -
>  examples/vhost/vhost-net-cdev.c              |  367 ---
>  examples/vhost/vhost-net-cdev.h              |   83 -
>  examples/vhost/virtio-net.c                  | 1165 --------
>  examples/vhost/virtio-net.h                  |  161 --
>  lib/librte_vhost/eventfd_link/Makefile       |   39 +
>  lib/librte_vhost/eventfd_link/eventfd_link.c |  205 ++
>  lib/librte_vhost/eventfd_link/eventfd_link.h |   79 +
>  lib/librte_vhost/libvirt/qemu-wrap.py        |  367 +++
>  lib/librte_vhost/main.c                      | 3725 ++++++++++++++++++++++++++
>  lib/librte_vhost/main.h                      |   86 +
>  lib/librte_vhost/vhost-net-cdev.c            |  367 +++
>  lib/librte_vhost/vhost-net-cdev.h            |   83 +
>  lib/librte_vhost/virtio-net.c                | 1165 ++++++++
>  lib/librte_vhost/virtio-net.h                |  161 ++
>  21 files changed, 6277 insertions(+), 6337 deletions(-)

In patch 2, you're using main.c to create vhost_rxtx.c.
So it would be clearer to rename it in this patch 1.

-- 
Thomas


More information about the dev mailing list