summaryrefslogtreecommitdiffstats
path: root/include/rdma/rdmavt_qp.h
diff options
context:
space:
mode:
authorMike Marciniszyn <mike.marciniszyn@intel.com>2016-03-07 20:35:08 +0100
committerDoug Ledford <dledford@redhat.com>2016-03-17 20:55:19 +0100
commitef086c0d5dd9a151578c72b6f257e5b0e77d65eb (patch)
tree9a003cbefbd321f25dbb8eb5b4d0c28ee6f67837 /include/rdma/rdmavt_qp.h
parentIB/hfi1: Improve LED beaconing (diff)
downloadlinux-ef086c0d5dd9a151578c72b6f257e5b0e77d65eb.tar.xz
linux-ef086c0d5dd9a151578c72b6f257e5b0e77d65eb.zip
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 'include/rdma/rdmavt_qp.h')
-rw-r--r--include/rdma/rdmavt_qp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rdma/rdmavt_qp.h b/include/rdma/rdmavt_qp.h
index f2f4df023aaa..497e59065c2c 100644
--- a/include/rdma/rdmavt_qp.h
+++ b/include/rdma/rdmavt_qp.h
@@ -251,6 +251,7 @@ struct rvt_qp {
enum ib_mtu path_mtu;
int srate_mbps; /* s_srate (below) converted to Mbit/s */
+ pid_t pid; /* pid for user mode QPs */
u32 remote_qpn;
u32 qkey; /* QKEY for this QP (for UD or RD) */
u32 s_size; /* send work queue size */