qemu-patch-raspberry4/hw/rdma
Yuval Shaia 2cfa953009 hw/rdma: Protect against concurrent execution of poll_cq
The function rdma_poll_cq is called from two contexts - completion
handler thread which sense new completion on backend channel and
explicitly as result of guest issuing poll_cq command.

Add lock to protect against concurrent executions.

Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
Reviewed-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Message-Id: <1552300155-25216-4-git-send-email-yuval.shaia@oracle.com>
Reviewed-by: Kamal Heib <kamalheib1@gmail.com>
Signed-off-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
2019-03-16 15:52:44 +02:00
..
vmw hw/rdma: Switch to generic error reporting way 2019-03-16 15:52:44 +02:00
Makefile.objs config: split PVRDMA from RDMA 2018-08-18 18:01:34 +03:00
rdma_backend.c hw/rdma: Protect against concurrent execution of poll_cq 2019-03-16 15:52:44 +02:00
rdma_backend.h hw/rdma: Switch to generic error reporting way 2019-03-16 15:52:44 +02:00
rdma_backend_defs.h hw/rdma: Introduce protected qlist 2019-03-16 15:52:44 +02:00
rdma_rm.c hw/rdma: Protect against concurrent execution of poll_cq 2019-03-16 15:52:44 +02:00
rdma_rm.h hw/rdma: Switch to generic error reporting way 2019-03-16 15:52:44 +02:00
rdma_rm_defs.h hw/rdma: Protect against concurrent execution of poll_cq 2019-03-16 15:52:44 +02:00
rdma_utils.c hw/rdma: Introduce protected qlist 2019-03-16 15:52:44 +02:00
rdma_utils.h hw/rdma: Introduce protected qlist 2019-03-16 15:52:44 +02:00
trace-events hw/rdma: Switch to generic error reporting way 2019-03-16 15:52:44 +02:00