Re: [dpdk-dev] [PATCH 1/3] net/virtio_user: add vhost layer

2016-12-07 Thread Yuanhan Liu
On Fri, Dec 02, 2016 at 02:31:13PM +, Jianfeng Tan wrote: > To support vhost kernel as the backend of net_virtio_user in comming > patches, we abstract a vhost layer to hide all vhost_user functions. > - Move vhost_user specific structs and macros into vhost_user.c, > and only keep common

[dpdk-dev] [PATCH 1/3] net/virtio_user: add vhost layer

2016-12-02 Thread Jianfeng Tan
To support vhost kernel as the backend of net_virtio_user in comming patches, we abstract a vhost layer to hide all vhost_user functions. - Move vhost_user specific structs and macros into vhost_user.c, and only keep common definitions in vhost.h; - Add a struct vhost_internal, and an array