hw/rdma: Add support for MAD packets
commit605ec1663b51722a73046fed5453cb5efb994d85
authorYuval Shaia <yuval.shaia@oracle.com>
Fri, 21 Dec 2018 14:40:19 +0000 (21 16:40 +0200)
committerMarcel Apfelbaum <marcel.apfelbaum@gmail.com>
Sat, 22 Dec 2018 09:09:56 +0000 (22 11:09 +0200)
tree7c35720630b5b7782eb79a91877a2e3e77955d1d
parent305bdd7a57a52cf87f9bf3e85316b0f62fe7167c
hw/rdma: Add support for MAD packets

MAD (Management Datagram) packets are widely used by various modules
both in kernel and in user space for example the rdma_* API which is
used to create and maintain "connection" layer on top of RDMA uses
several types of MAD packets.

For more information please refer to chapter 13.4 in Volume 1
Architecture Specification, Release 1.1 available here:
https://www.infinibandta.org/ibta-specifications-download/

To support MAD packets the device uses an external utility
(contrib/rdmacm-mux) to relay packets from and to the guest driver.

Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
Reviewed-by: Marcel Apfelbaum<marcel.apfelbaum@gmail.com>
Signed-off-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
hw/rdma/rdma_backend.c
hw/rdma/rdma_backend.h
hw/rdma/rdma_backend_defs.h
hw/rdma/vmw/pvrdma.h
hw/rdma/vmw/pvrdma_main.c