numam-dpdk/lib/librte_vhost
Yuanhan Liu eb32247457 vhost: export guest memory regions
Some vhost-user driver may need this info to setup its own page tables
for GPA (guest physical addr) to HPA (host physical addr) translation.
SPDK (Storage Performance Development Kit) is one example.

Besides, by exporting this memory info, we could also export the
gpa_to_vva() as an inline function, which helps for performance.
Otherwise, it has to be referenced indirectly by a "vid".

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2017-04-01 10:40:13 +02:00
..
fd_man.c vhost: try to shrink pfdset when fdset_add fails 2017-04-01 08:58:54 +02:00
fd_man.h vhost: allow many vhost-user ports 2017-01-17 09:20:18 +01:00
Makefile mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
rte_vhost_version.map vhost: export guest memory regions 2017-04-01 10:40:13 +02:00
rte_virtio_net.h vhost: export guest memory regions 2017-04-01 10:40:13 +02:00
socket.c vhost: make notify ops per vhost driver 2017-04-01 10:40:13 +02:00
vhost_user.c vhost: export guest memory regions 2017-04-01 10:40:13 +02:00
vhost_user.h vhost: support MTU protocol feature 2017-04-01 10:36:17 +02:00
vhost.c vhost: export guest memory regions 2017-04-01 10:40:13 +02:00
vhost.h vhost: export guest memory regions 2017-04-01 10:40:13 +02:00
virtio_net.c vhost: fix false sharing 2017-04-01 10:36:17 +02:00