numam-dpdk/lib/librte_vhost
Maxime Coquelin b9c07b3141 vhost: fix IOTLB on NUMA realloc
In case of NUMA reallocation, virtqueue's iotlb list is broken,
has its head changes but first iotlb entry in the list still points
to the previous head pointer.

Also, in case of reallocation, we want the IOTLB cache mempool to be
on the new socket.

This patch perform a full re-init of the IOTLB cache when mempool
already exists, and calls the IOTLB cache init function in case
the virtqueue is being reallocated on a new socket.

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Reviewed-by: Jens Freimann <jfreimann@redhat.com>
2017-10-13 22:08:21 +02:00
..
fd_man.c vhost: check poll error code 2017-10-10 15:54:31 +02:00
fd_man.h vhost: introduce API to start a specific driver 2017-04-01 10:42:44 +02:00
iotlb.c vhost: fix IOTLB on NUMA realloc 2017-10-13 22:08:21 +02:00
iotlb.h vhost: add pending IOTLB miss request list and helpers 2017-10-10 15:52:27 +02:00
Makefile vhost: add IOTLB helper functions 2017-10-10 15:52:27 +02:00
rte_vhost_version.map vhost: support Rx queue count request 2017-06-16 14:04:25 +02:00
rte_vhost.h vhost: add user callbacks for socket open/close 2017-10-10 15:54:31 +02:00
socket.c vhost: add user callbacks for socket open/close 2017-10-10 15:54:31 +02:00
vhost_user.c vhost: fix IOTLB on NUMA realloc 2017-10-13 22:08:21 +02:00
vhost_user.h vhost: distinguish master and slave requests 2017-10-10 15:54:31 +02:00
vhost.c vhost: fix deadlock on IOTLB miss 2017-10-13 22:08:21 +02:00
vhost.h vhost: enable IOMMU support 2017-10-10 15:53:27 +02:00
virtio_net.c vhost: postpone device creation until rings are mapped 2017-10-10 15:52:27 +02:00