diff options
author | Mike Marciniszyn <mike.marciniszyn@intel.com> | 2016-03-07 11:35:08 -0800 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-03-17 15:55:19 -0400 |
commit | ef086c0d5dd9a151578c72b6f257e5b0e77d65eb (patch) | |
tree | 9a003cbefbd321f25dbb8eb5b4d0c28ee6f67837 /drivers/infiniband | |
parent | 2243472e9d98c3ca0cb735f96ad48a7b59bdb34d (diff) | |
download | linux-ef086c0d5dd9a151578c72b6f257e5b0e77d65eb.tar.bz2 |
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')
-rw-r--r-- | drivers/infiniband/sw/rdmavt/qp.c | 1 |
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); |