[dpdk-dev,2/7] vhost: remove sub source dir
Commit Message
We now have one vhost implementation; no sub source dir is needed.
Rmove it by move them to upper dir.
Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
---
lib/librte_vhost/Makefile | 6 +++---
lib/librte_vhost/{vhost_user => }/fd_man.c | 0
lib/librte_vhost/{vhost_user => }/fd_man.h | 0
lib/librte_vhost/{vhost_user => }/vhost-net-user.c | 0
lib/librte_vhost/{vhost_user => }/vhost-net-user.h | 0
lib/librte_vhost/{vhost_user => }/virtio-net-user.c | 0
lib/librte_vhost/{vhost_user => }/virtio-net-user.h | 0
7 files changed, 3 insertions(+), 3 deletions(-)
rename lib/librte_vhost/{vhost_user => }/fd_man.c (100%)
rename lib/librte_vhost/{vhost_user => }/fd_man.h (100%)
rename lib/librte_vhost/{vhost_user => }/vhost-net-user.c (100%)
rename lib/librte_vhost/{vhost_user => }/vhost-net-user.h (100%)
rename lib/librte_vhost/{vhost_user => }/virtio-net-user.c (100%)
rename lib/librte_vhost/{vhost_user => }/virtio-net-user.h (100%)
Comments
On 08/18/2016 10:48 AM, Yuanhan Liu wrote:
> We now have one vhost implementation; no sub source dir is needed.
> Rmove it by move them to upper dir.
s/Rmove/Remove/
>
> Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
> ---
> lib/librte_vhost/Makefile | 6 +++---
> lib/librte_vhost/{vhost_user => }/fd_man.c | 0
> lib/librte_vhost/{vhost_user => }/fd_man.h | 0
> lib/librte_vhost/{vhost_user => }/vhost-net-user.c | 0
> lib/librte_vhost/{vhost_user => }/vhost-net-user.h | 0
> lib/librte_vhost/{vhost_user => }/virtio-net-user.c | 0
> lib/librte_vhost/{vhost_user => }/virtio-net-user.h | 0
> 7 files changed, 3 insertions(+), 3 deletions(-)
> rename lib/librte_vhost/{vhost_user => }/fd_man.c (100%)
> rename lib/librte_vhost/{vhost_user => }/fd_man.h (100%)
> rename lib/librte_vhost/{vhost_user => }/vhost-net-user.c (100%)
> rename lib/librte_vhost/{vhost_user => }/vhost-net-user.h (100%)
> rename lib/librte_vhost/{vhost_user => }/virtio-net-user.c (100%)
> rename lib/librte_vhost/{vhost_user => }/virtio-net-user.h (100%)
Other than this typo:
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Thanks,
Maxime
@@ -48,9 +48,9 @@ endif
# all source are stored in SRCS-y
SRCS-$(CONFIG_RTE_LIBRTE_VHOST) := virtio-net.c vhost_rxtx.c
-SRCS-$(CONFIG_RTE_LIBRTE_VHOST) += vhost_user/vhost-net-user.c
-SRCS-$(CONFIG_RTE_LIBRTE_VHOST) += vhost_user/virtio-net-user.c
-SRCS-$(CONFIG_RTE_LIBRTE_VHOST) += vhost_user/fd_man.c
+SRCS-$(CONFIG_RTE_LIBRTE_VHOST) += vhost-net-user.c
+SRCS-$(CONFIG_RTE_LIBRTE_VHOST) += virtio-net-user.c
+SRCS-$(CONFIG_RTE_LIBRTE_VHOST) += fd_man.c
# install includes
SYMLINK-$(CONFIG_RTE_LIBRTE_VHOST)-include += rte_virtio_net.h
similarity index 100%
rename from lib/librte_vhost/vhost_user/fd_man.c
rename to lib/librte_vhost/fd_man.c
similarity index 100%
rename from lib/librte_vhost/vhost_user/fd_man.h
rename to lib/librte_vhost/fd_man.h
similarity index 100%
rename from lib/librte_vhost/vhost_user/vhost-net-user.c
rename to lib/librte_vhost/vhost-net-user.c
similarity index 100%
rename from lib/librte_vhost/vhost_user/vhost-net-user.h
rename to lib/librte_vhost/vhost-net-user.h
similarity index 100%
rename from lib/librte_vhost/vhost_user/virtio-net-user.c
rename to lib/librte_vhost/virtio-net-user.c
similarity index 100%
rename from lib/librte_vhost/vhost_user/virtio-net-user.h
rename to lib/librte_vhost/virtio-net-user.h