numam-dpdk/lib/librte_vhost
Patrick Fu 6563cf9238 vhost: fix async copy on multi-page buffers
Async copy fails when single ring buffer vector is split on multiple
physical pages. This happens because current hpa address translation
function doesn't handle multi-page buffers. A new gpa to hpa address
conversion function, which returns the hpa on the first hitting host
pages, is implemented in this patch. Async data path recursively calls
this new function to construct a multi-segments async copy descriptor
for ring buffers crossing physical page boundaries.

Fixes: cd6760da10 ("vhost: introduce async enqueue for split ring")

Signed-off-by: Patrick Fu <patrick.fu@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2020-07-30 00:41:24 +02: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: make IOTLB cache name unique among processes 2020-04-21 13:57:07 +02:00
iotlb.h vhost: replace IOTLB license with SPDX tag 2019-08-05 16:06:11 +02:00
Makefile vhost: introduce async enqueue registration API 2020-07-07 23:38:28 +02:00
meson.build vhost: introduce async enqueue registration API 2020-07-07 23:38:28 +02:00
rte_vdpa_dev.h vhost: make some vDPA callbacks mandatory 2020-07-11 06:18:52 +02:00
rte_vdpa.h vhost: split vDPA header file 2020-06-30 14:52:30 +02:00
rte_vhost_async.h vhost: fix async callback return type 2020-07-30 00:41:23 +02:00
rte_vhost_crypto.h enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00
rte_vhost_version.map vhost: introduce async enqueue registration API 2020-07-07 23:38:28 +02:00
rte_vhost.h vhost: support virtio status 2020-07-11 06:18:52 +02:00
socket.c vhost: make some vDPA callbacks mandatory 2020-07-11 06:18:52 +02:00
vdpa.c vhost: make some vDPA callbacks mandatory 2020-07-11 06:18:52 +02:00
vhost_crypto.c vhost/crypto: validate keys lengths 2020-05-18 15:22:34 +02:00
vhost_user.c vhost: fix guest notification setting 2020-07-30 00:41:24 +02:00
vhost_user.h vhost: support virtio status message 2020-07-11 06:18:52 +02:00
vhost.c vhost: fix guest notification setting 2020-07-30 00:41:24 +02:00
vhost.h vhost: fix async copy on multi-page buffers 2020-07-30 00:41:24 +02:00
virtio_crypto.h vhost: add virtio crypto header file 2018-04-14 00:43:30 +02:00
virtio_net.c vhost: fix async copy on multi-page buffers 2020-07-30 00:41:24 +02:00