vhost: hide internal code
authorYuanhan Liu <yuanhan.liu@linux.intel.com>
Sat, 30 Apr 2016 05:11:19 +0000 (13:11 +0800)
committerYuanhan Liu <yuanhan.liu@linux.intel.com>
Wed, 22 Jun 2016 07:43:01 +0000 (09:43 +0200)
commitdb69be54b6ff5840540fdcfe9ae8f8d0da1260b9
tree40e4183f860da308c58667c9adfd4ff15f53b914
parent4ecf22e356de2e6db2cf0a4470cb55b1638db7b0
vhost: hide internal code

We are now safe to move all those internal structs/macros/functions to
vhost-net.h, to hide them from external access.

This patch also breaks long lines and removes some redundant comments.

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Tested-by: Rich Lane <rich.lane@bigswitch.com>
Acked-by: Rich Lane <rich.lane@bigswitch.com>
lib/librte_vhost/rte_virtio_net.h
lib/librte_vhost/vhost-net.h
lib/librte_vhost/vhost_user/vhost-net-user.h