qemu-patch-raspberry4/hw/rdma/vmw
Yuval Shaia 7d2ce4b016 hw/rdma: Bugfix - Support non-aligned buffers
RDMA application can provide non-aligned buffers to be registered. In
such case the DMA address passed by driver is pointing to the beginning
of the physical address of the mapped page so we can't distinguish
between two addresses from the same page.

Fix it by keeping the offset of the virtual address in mr->virt.

Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
Reviewed-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Message-Id: <20180805153518.2983-13-yuval.shaia@oracle.com>
Signed-off-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
2018-08-18 18:00:55 +03:00
..
pvrdma.h hw/pvrdma: Make default pkey 0xFFFF 2018-08-18 17:59:58 +03:00
pvrdma_cmd.c hw/rdma: Bugfix - Support non-aligned buffers 2018-08-18 18:00:55 +03:00
pvrdma_dev_ring.c hw/rdma: Fix 32-bit compilation 2018-03-23 18:38:55 +03:00
pvrdma_dev_ring.h hw/rdma: Fix 32-bit compilation 2018-03-23 18:38:55 +03:00
pvrdma_main.c hw/pvrdma: Cosmetic change - indent right 2018-08-18 18:00:30 +03:00
pvrdma_qp_ops.c hw/rdma: Print backend QP number in hex format 2018-08-18 18:00:48 +03:00
pvrdma_qp_ops.h hw/rdma: PVRDMA commands and data-path ops 2018-02-19 13:03:24 +02:00
trace-events hw/rdma: Implementation of PVRDMA device 2018-02-19 13:03:24 +02:00