summaryrefslogtreecommitdiff
path: root/drivers/infiniband/sw
diff options
context:
space:
mode:
authorMike Marciniszyn <mike.marciniszyn@intel.com>2016-03-07 22:35:08 +0300
committerDoug Ledford <dledford@redhat.com>2016-03-17 22:55:19 +0300
commitef086c0d5dd9a151578c72b6f257e5b0e77d65eb (patch)
tree9a003cbefbd321f25dbb8eb5b4d0c28ee6f67837 /drivers/infiniband/sw
parent2243472e9d98c3ca0cb735f96ad48a7b59bdb34d (diff)
downloadlinux-ef086c0d5dd9a151578c72b6f257e5b0e77d65eb.tar.xz
IB/hfi1: Report pid in qp_stats to aid debug
Tracking user/QP ownership is needed to debug issues with user ULPs like OpenMPI. Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/sw')
-rw-r--r--drivers/infiniband/sw/rdmavt/qp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/sw/rdmavt/qp.c b/drivers/infiniband/sw/rdmavt/qp.c
index ef82abf2d89e..de34474b0dfb 100644
--- a/drivers/infiniband/sw/rdmavt/qp.c
+++ b/drivers/infiniband/sw/rdmavt/qp.c
@@ -786,6 +786,7 @@ struct ib_qp *rvt_create_qp(struct ib_pd *ibpd,
goto bail_ip;
}
}
+ qp->pid = current->pid;
}
spin_lock(&rdi->n_qps_lock);