vhost: export queue free entries
authorYuanhan Liu <yuanhan.liu@linux.intel.com>
Tue, 10 May 2016 22:46:24 +0000 (06:46 +0800)
committerYuanhan Liu <yuanhan.liu@linux.intel.com>
Wed, 22 Jun 2016 07:02:58 +0000 (09:02 +0200)
commita67f286a6596e6269bb3b83e01f9b42bb5544b46
tree2a39b66b6f4ae5d246fd7d19fabffcf54bc97228
parentf6d1bd536567daf177d1d25b2d68464af5370ccd
vhost: export queue free entries

The new API rte_vhost_avail_entries() is actually a rename of
rte_vring_available_entries(), with the "vring" to "vhost" name
change to keep the consistency of other vhost exported APIs.

This change could let us avoid the dependency of "virtio_net"
struct, to prepare for the ABI refactoring.

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>
doc/guides/rel_notes/release_16_07.rst
examples/tep_termination/main.c
examples/vhost/main.c
lib/librte_vhost/rte_vhost_version.map
lib/librte_vhost/rte_virtio_net.h
lib/librte_vhost/virtio-net.c