diff options
author | Mike Marciniszyn <mike.marciniszyn@intel.com> | 2016-02-04 11:03:11 -0800 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-03-10 20:38:04 -0500 |
commit | 20658661bc0712c51ad9798914f5eb3e28cb8121 (patch) | |
tree | ca06b51e24546cc2ab0d4933293d8aeb051b2991 /drivers/staging/rdma/hfi1/qp.c | |
parent | staging/rdma/hfi1: remove duplicate timeout print (diff) | |
download | linux-dev-20658661bc0712c51ad9798914f5eb3e28cb8121.tar.xz linux-dev-20658661bc0712c51ad9798914f5eb3e28cb8121.zip |
staging/rdma/hfi1: add s_retry to diagnostics
This is needed to debug ULP issues with getting retry attributes
correctly specified.
Reviewed-by: Jubin John <jubin.john@intel.com>
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/staging/rdma/hfi1/qp.c')
-rw-r--r-- | drivers/staging/rdma/hfi1/qp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/rdma/hfi1/qp.c b/drivers/staging/rdma/hfi1/qp.c index 9901ef0ef79c..ec9ee726267b 100644 --- a/drivers/staging/rdma/hfi1/qp.c +++ b/drivers/staging/rdma/hfi1/qp.c @@ -547,7 +547,7 @@ void qp_iter_print(struct seq_file *s, struct qp_iter *iter) sde = qp_to_sdma_engine(qp, priv->s_sc); wqe = rvt_get_swqe_ptr(qp, qp->s_last); seq_printf(s, - "N %d %s QP%u R %u %s %u %u %u f=%x %u %u %u %u %u PSN %x %x %x %x %x (%u %u %u %u %u %u) QP%u LID %x SL %u MTU %u %u %u SDE %p,%u\n", + "N %d %s QP%u R %u %s %u %u %u f=%x %u %u %u %u %u PSN %x %x %x %x %x (%u %u %u %u %u %u) QP%u LID %x SL %u MTU %u %u %u %u SDE %p,%u\n", iter->n, qp_idle(qp) ? "I" : "B", qp->ibqp.qp_num, @@ -571,6 +571,7 @@ void qp_iter_print(struct seq_file *s, struct qp_iter *iter) qp->remote_ah_attr.dlid, qp->remote_ah_attr.sl, qp->pmtu, + qp->s_retry, qp->s_retry_cnt, qp->s_rnr_retry_cnt, sde, |