numam-dpdk/lib/librte_vhost
Darek Stojaczyk c19429844c vhost: remove vhost-net requirements from generic APIs
The rte_vhost API to put data into virtqueues operates
on mbufs and hence it is strictly vhost-net specific.
External backends need to implement virtqueue handling
from scratch and that's just not possible without APIs
to get/set vring base addresses.

Those relevant APIs are there, but they have a check that
prevents them from working with any non-vhost-net device.
This patch removes those checks.

rte_vhost_get_log_base() is not necessarily needed for
external backends, as other, higher level vhost APIs for
live migration are available and could be used instead.
We remove the extra check from it anyway for consistency.

Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Tiwei Bie <tiwei.bie@intel.com>
2019-03-01 18:17:36 +01:00
..
fd_man.c vhost: fix race condition when adding fd in the fdset 2018-12-21 16:22:40 +01:00
fd_man.h vhost: fix race condition when adding fd in the fdset 2018-12-21 16:22:40 +01:00
iotlb.c vhost: flush IOTLB cache on new mem table handling 2018-08-05 01:47:47 +02:00
iotlb.h vhost: flush IOTLB cache on new mem table handling 2018-08-05 01:47:47 +02:00
Makefile vhost/crypto: fix shared lib build without cryptodev 2018-10-26 22:14:05 +02:00
meson.build vhost: add config flag for postcopy 2018-10-18 10:24:39 +02:00
rte_vdpa.h vhost: remove vDPA available ring relay helper 2019-02-08 19:27:07 +01:00
rte_vhost_crypto.h vhost/crypto: use separate session mempools 2019-01-10 16:57:22 +01:00
rte_vhost_version.map vhost: add external message handling to the API 2019-02-08 19:27:07 +01:00
rte_vhost.h vhost: add external message handling to the API 2019-02-08 19:27:07 +01:00
socket.c vhost: fix deadlock in driver unregister 2019-02-22 14:39:49 +01:00
vdpa.c vhost: fix sprintf with snprintf 2019-02-22 14:39:49 +01:00
vhost_crypto.c vhost: add external message handling to the API 2019-02-08 19:27:07 +01:00
vhost_user.c vhost: fix potential use-after-free for memory region 2019-03-01 18:17:36 +01:00
vhost_user.h vhost: remove unused function prototype 2019-01-18 09:47:26 +01:00
vhost.c vhost: remove vhost-net requirements from generic APIs 2019-03-01 18:17:36 +01:00
vhost.h vhost: fix potential use-after-free for memory region 2019-03-01 18:17:36 +01:00
virtio_crypto.h vhost: add virtio crypto header file 2018-04-14 00:43:30 +02:00
virtio_net.c vhost: fix potential use-after-free for memory region 2019-03-01 18:17:36 +01:00