summaryrefslogtreecommitdiffstats
path: root/hw/virtio/vhost-user-rng-pci.c
diff options
context:
space:
mode:
authorLi Zhijian2021-09-10 09:02:55 +0200
committerJuan Quintela2021-10-19 08:39:04 +0200
commit911965ace9386e35ca022a65bb45a32fd421af3e (patch)
treecac0f47717ae21a351c720847fedb41425a10263 /hw/virtio/vhost-user-rng-pci.c
parentmigration/rdma: Try to register On-Demand Paging memory region (diff)
downloadqemu-911965ace9386e35ca022a65bb45a32fd421af3e.tar.gz
qemu-911965ace9386e35ca022a65bb45a32fd421af3e.tar.xz
qemu-911965ace9386e35ca022a65bb45a32fd421af3e.zip
migration/rdma: advise prefetch write for ODP region
The responder mr registering with ODP will sent RNR NAK back to the requester in the face of the page fault. --------- ibv_poll_cq wc.status=13 RNR retry counter exceeded! ibv_poll_cq wrid=WRITE RDMA! --------- ibv_advise_mr(3) helps to make pages present before the actual IO is conducted so that the responder does page fault as little as possible. Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com> Reviewed-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'hw/virtio/vhost-user-rng-pci.c')
0 files changed, 0 insertions, 0 deletions