hw/rdma: Add wrappers and macros
authorYuval Shaia <yuval.shaia@oracle.com>
Fri, 9 Feb 2018 13:15:00 +0000 (15:15 +0200)
committerMarcel Apfelbaum <marcel@redhat.com>
Mon, 19 Feb 2018 11:03:24 +0000 (13:03 +0200)
commitdcbf469aeffb3b307d2bc5331797d67979b715e3
tree67235c5fed5ee03ccb8b717d6c5c0ba4b12cdc6b
parent7605e12a512ad87b764cda6554724e7f84ded18d
hw/rdma: Add wrappers and macros

As all mapping for this device are from driver to device,
declare wrappers on top of pci_dma_*map functions.

In addition, declare macros to be used for debug messages.

Reviewed-by: Dotan Barak <dotanb@mellanox.com>
Reviewed-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Marcel Apfelbaum <marcel@redhat.com>
hw/Makefile.objs
hw/rdma/Makefile.objs [new file with mode: 0644]
hw/rdma/rdma_utils.c [new file with mode: 0644]
hw/rdma/rdma_utils.h [new file with mode: 0644]