]> Git Repo - qemu.git/commitdiff
hw/rdma: Print backend QP number in hex format
authorYuval Shaia <[email protected]>
Sun, 5 Aug 2018 15:35:16 +0000 (18:35 +0300)
committerMarcel Apfelbaum <[email protected]>
Sat, 18 Aug 2018 15:00:48 +0000 (18:00 +0300)
To be consistent with other prints throughout the code fix places that
print it as decimal number.

Signed-off-by: Yuval Shaia <[email protected]>
Reviewed-by: Marcel Apfelbaum <[email protected]>
Message-Id: <20180805153518[email protected]>
Signed-off-by: Marcel Apfelbaum <[email protected]>
hw/rdma/rdma_rm.c
hw/rdma/vmw/pvrdma_qp_ops.c

index 1f014b4ab2c22aa3769bbb59e93ae82daebb861a..859c90000381cbf65959298ee3785dbc95e54b56 100644 (file)
@@ -389,7 +389,7 @@ int rdma_rm_modify_qp(RdmaDeviceResources *dev_res, RdmaBackendDev *backend_dev,
     RdmaRmQP *qp;
     int ret;
 
-    pr_dbg("qpn=%d\n", qp_handle);
+    pr_dbg("qpn=0x%x\n", qp_handle);
 
     qp = rdma_rm_get_qp(dev_res, qp_handle);
     if (!qp) {
@@ -447,7 +447,7 @@ int rdma_rm_query_qp(RdmaDeviceResources *dev_res, RdmaBackendDev *backend_dev,
 {
     RdmaRmQP *qp;
 
-    pr_dbg("qpn=%d\n", qp_handle);
+    pr_dbg("qpn=0x%x\n", qp_handle);
 
     qp = rdma_rm_get_qp(dev_res, qp_handle);
     if (!qp) {
index a8664f40c8901c18d3541cd705979cbe51708a4a..c668afd0edee123d03ddd7ca1162ba109e3b52a3 100644 (file)
@@ -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)) {
This page took 0.027383 seconds and 4 git commands to generate.