vhost: remove unnecessary fields
authorYuanhan Liu <yuanhan.liu@linux.intel.com>
Sun, 1 May 2016 23:28:39 +0000 (07:28 +0800)
committerYuanhan Liu <yuanhan.liu@linux.intel.com>
Wed, 22 Jun 2016 07:43:01 +0000 (09:43 +0200)
commit758e3471b494944bd77ffb1021fccbe2ba12e714
tree5f36fb9fe684c6fae7242400d962251ce69703b6
parentdb69be54b6ff5840540fdcfe9ae8f8d0da1260b9
vhost: remove unnecessary fields

The "reserved" field in virtio_net and vhost_virtqueue struct is not
necessary any more. We now expose virtio_net device with a number "vid".

This patch also removes the "priv" field: all fields are priviate now:
application can't access it now. The only way that we could still access
it is to expose it by a function, but I doubt that's needed or worthwhile.

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/vhost-net.h