vhost: move cuse related handling in a subdirectory
authorHuawei Xie <huawei.xie@intel.com>
Mon, 23 Feb 2015 17:36:24 +0000 (17:36 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 24 Feb 2015 00:38:09 +0000 (01:38 +0100)
commit6ee36ead584b29dc242f79d36f622429a6d4a89b
tree4a658c822c983656bb606e5f6a99be37a45c4a25
parent04d696037af200411f7bb8928c64eb41d5d95e15
vhost: move cuse related handling in a subdirectory

Create vhost_cuse directory and move vhost-net-cdev.c into vhost_cuse.

vhost-cuse driver will be divided into two parts: cuse driver specific message
handling(in cuse directory) and common message handling(in virtio-net.c).

vhost ioctl message is pre-processed in cuse and then sent to virtio-net
if is not terminated.

virtio-net.c provides common message handling for both vhost-cuse and vhost-user.

Signed-off-by: Huawei Xie <huawei.xie@intel.com>
Acked-by: Tetsuya Mukawa <mukawa@igel.co.jp>
lib/librte_vhost/Makefile
lib/librte_vhost/vhost-net-cdev.c [deleted file]
lib/librte_vhost/vhost_cuse/vhost-net-cdev.c [new file with mode: 0644]