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>
This commit is contained in:
parent
292dce627b
commit
abc665aae3
|
@ -389,7 +389,7 @@ int rdma_rm_modify_qp(RdmaDeviceResources *dev_res, RdmaBackendDev *backend_dev,
|
||||||
RdmaRmQP *qp;
|
RdmaRmQP *qp;
|
||||||
int ret;
|
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);
|
qp = rdma_rm_get_qp(dev_res, qp_handle);
|
||||||
if (!qp) {
|
if (!qp) {
|
||||||
|
@ -447,7 +447,7 @@ int rdma_rm_query_qp(RdmaDeviceResources *dev_res, RdmaBackendDev *backend_dev,
|
||||||
{
|
{
|
||||||
RdmaRmQP *qp;
|
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);
|
qp = rdma_rm_get_qp(dev_res, qp_handle);
|
||||||
if (!qp) {
|
if (!qp) {
|
||||||
|
|
|
@ -130,7 +130,7 @@ int pvrdma_qp_send(PVRDMADev *dev, uint32_t qp_handle)
|
||||||
PvrdmaSqWqe *wqe;
|
PvrdmaSqWqe *wqe;
|
||||||
PvrdmaRing *ring;
|
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);
|
qp = rdma_rm_get_qp(&dev->rdma_dev_res, qp_handle);
|
||||||
if (unlikely(!qp)) {
|
if (unlikely(!qp)) {
|
||||||
|
@ -174,7 +174,7 @@ int pvrdma_qp_recv(PVRDMADev *dev, uint32_t qp_handle)
|
||||||
PvrdmaRqWqe *wqe;
|
PvrdmaRqWqe *wqe;
|
||||||
PvrdmaRing *ring;
|
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);
|
qp = rdma_rm_get_qp(&dev->rdma_dev_res, qp_handle);
|
||||||
if (unlikely(!qp)) {
|
if (unlikely(!qp)) {
|
||||||
|
|
Loading…
Reference in a new issue