qemu-patch-raspberry4/hw/rdma
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
..
vmw hw/rdma: Bugfix - Support non-aligned buffers 2018-08-18 18:00:55 +03:00
Makefile.objs hw/rdma: Implementation of PVRDMA device 2018-02-19 13:03:24 +02:00
rdma_backend.c hw/rdma: Cosmetic change - move to generic function 2018-08-18 18:00:39 +03:00
rdma_backend.h hw/rdma: Make distinction between device init and start modes 2018-08-18 17:59:23 +03:00
rdma_backend_defs.h hw/rdma: Make distinction between device init and start modes 2018-08-18 17:59:23 +03:00
rdma_rm.c hw/rdma: Bugfix - Support non-aligned buffers 2018-08-18 18:00:55 +03:00
rdma_rm.h rdma: fix up include directives 2018-03-23 18:38:55 +03:00
rdma_rm_defs.h hw/rdma: Delete useless structure RdmaRmUserMR 2018-08-18 18:00:06 +03:00
rdma_utils.c hw/rdma: Modify debug macros 2018-08-18 17:59:42 +03:00
rdma_utils.h hw/rdma: Modify debug macros 2018-08-18 17:59:42 +03:00
trace-events hw/rdma: Implementation of generic rdma device layers 2018-02-19 13:03:24 +02:00