aboutsummaryrefslogtreecommitdiff
path: root/hw/rdma/vmw
diff options
context:
space:
mode:
authorYuval Shaia <yuval.shaia@oracle.com>2018-08-05 18:35:16 +0300
committerMarcel Apfelbaum <marcel.apfelbaum@gmail.com>2018-08-18 18:00:48 +0300
commitabc665aae30a6fa3b6bb6784b535ab656461abd3 (patch)
treeb8d7beb90083a1d6c3dbb3e35ee0b766c3c8efc4 /hw/rdma/vmw
parent292dce627b51329212130470f485b7dc2b72b48c (diff)
downloadqemu-abc665aae30a6fa3b6bb6784b535ab656461abd3.zip
qemu-abc665aae30a6fa3b6bb6784b535ab656461abd3.tar.gz
qemu-abc665aae30a6fa3b6bb6784b535ab656461abd3.tar.bz2
hw/rdma: Print backend QP number in hex format
To be consistent with other prints throughout the code fix places that print it as decimal number. Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com> Reviewed-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com> Message-Id: <20180805153518.2983-12-yuval.shaia@oracle.com> Signed-off-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Diffstat (limited to 'hw/rdma/vmw')
-rw-r--r--hw/rdma/vmw/pvrdma_qp_ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/rdma/vmw/pvrdma_qp_ops.c b/hw/rdma/vmw/pvrdma_qp_ops.c
index a8664f4..c668afd 100644
--- a/hw/rdma/vmw/pvrdma_qp_ops.c
+++ b/hw/rdma/vmw/pvrdma_qp_ops.c
@@ -130,7 +130,7 @@ int pvrdma_qp_send(PVRDMADev *dev, uint32_t qp_handle)
PvrdmaSqWqe *wqe;
PvrdmaRing *ring;
- pr_dbg("qp_handle=%d\n", qp_handle);
+ pr_dbg("qp_handle=0x%x\n", qp_handle);
qp = rdma_rm_get_qp(&dev->rdma_dev_res, qp_handle);
if (unlikely(!qp)) {
@@ -174,7 +174,7 @@ int pvrdma_qp_recv(PVRDMADev *dev, uint32_t qp_handle)
PvrdmaRqWqe *wqe;
PvrdmaRing *ring;
- pr_dbg("qp_handle=%d\n", qp_handle);
+ pr_dbg("qp_handle=0x%x\n", qp_handle);
qp = rdma_rm_get_qp(&dev->rdma_dev_res, qp_handle);
if (unlikely(!qp)) {