qemu-e2k/hw/rdma/vmw
Cornelia Huck 3aa1b7af0f pvrdma: wean code off pvrdma_ring.h kernel header
The pvrdma code relies on the pvrdma_ring.h kernel header for some
basic ring buffer handling. The content of that header isn't very
exciting, but contains some (q)atomic_*() invocations that (a)
cause manual massaging when doing a headers update, and (b) are
an indication that we probably should not be importing that header
at all.

Let's reimplement the ring buffer handling directly in the pvrdma
code instead. This arguably also improves readability of the code.

Importing the header can now be dropped.

Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Yuval Shaia <yuval.shaia.ml@gmail.com>
Tested-by: Yuval Shaia <yuval.shaia.ml@gmail.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
2021-03-15 16:41:22 +08:00
..
pvrdma_cmd.c pvrdma: wean code off pvrdma_ring.h kernel header 2021-03-15 16:41:22 +08:00
pvrdma_dev_ring.c pvrdma: wean code off pvrdma_ring.h kernel header 2021-03-15 16:41:22 +08:00
pvrdma_dev_ring.h pvrdma: wean code off pvrdma_ring.h kernel header 2021-03-15 16:41:22 +08:00
pvrdma_main.c pvrdma: wean code off pvrdma_ring.h kernel header 2021-03-15 16:41:22 +08:00
pvrdma_qp_ops.c misc: Replace zero-length arrays with flexible array member (automatic) 2020-03-16 22:07:42 +01:00
pvrdma_qp_ops.h Clean up header guards that don't match their file name 2019-05-13 08:58:55 +02:00
pvrdma.h pvrdma: wean code off pvrdma_ring.h kernel header 2021-03-15 16:41:22 +08:00
trace-events
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00