numam-dpdk/lib/vhost
Maxime Coquelin eb40c50c17 vhost: fix missing cache logging NUMA realloc
When the guest allocates virtqueues on a different NUMA node
than the one the Vhost metadata are allocated, both the Vhost
device struct and the virtqueues struct are reallocated.

However, reallocating the log cache on the new NUMA node was
not done. This patch fixes this by reallocating it if it has
been allocated already, which means a live-migration is
on-going.

Fixes: 1818a63147 ("vhost: move dirty logging cache out of virtqueue")
Cc: stable@dpdk.org

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
2021-06-30 13:32:13 +02:00
..
fd_man.c
fd_man.h
iotlb.c
iotlb.h
meson.build
rte_vdpa_dev.h
rte_vdpa.h
rte_vhost_async.h vhost: support packed ring in async datapath 2021-05-04 10:21:52 +02:00
rte_vhost_crypto.h
rte_vhost.h vhost: fix offload flags in Rx path 2021-05-04 10:22:17 +02:00
socket.c vhost: fix offload flags in Rx path 2021-05-04 10:22:17 +02:00
vdpa.c
version.map
vhost_crypto.c vhost/crypto: check request pointer before dereference 2021-06-23 09:55:23 +02:00
vhost_user.c vhost: fix missing cache logging NUMA realloc 2021-06-30 13:32:13 +02:00
vhost_user.h
vhost.c vhost: restore IOTLB mempool allocation 2021-05-18 09:54:44 +02:00
vhost.h vhost: fix offload flags in Rx path 2021-05-04 10:22:17 +02:00
virtio_crypto.h
virtio_net.c vhost: allocate and free packets in bulk in Tx split 2021-06-23 09:55:34 +02:00