aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rdma/hfi1/qp.c
diff options
context:
space:
mode:
authorMike Marciniszyn <mike.marciniszyn@intel.com>2016-02-14 12:44:17 -0800
committerDoug Ledford <dledford@redhat.com>2016-03-10 20:38:11 -0500
commit3585254d56b0c474a50f911295710e786b33d9ca (patch)
tree816fcd8d15440d4d639c9db97d5eef24d8a88ead /drivers/staging/rdma/hfi1/qp.c
parentIB/qib: Destroy SMI AH before de-allocating the protection domain (diff)
downloadlinux-dev-3585254d56b0c474a50f911295710e786b33d9ca.tar.xz
linux-dev-3585254d56b0c474a50f911295710e786b33d9ca.zip
staging/rdma/hfi1: add s_avail to qp_stats
This diagnostic capability was missed in the dual lock series. Signed-off-by: Vennila Megavannan <vennila.megavannan@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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/rdma/hfi1/qp.c b/drivers/staging/rdma/hfi1/qp.c
index 9e0531434eff..9846cd69d4f9 100644
--- a/drivers/staging/rdma/hfi1/qp.c
+++ b/drivers/staging/rdma/hfi1/qp.c
@@ -612,7 +612,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 %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 %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,
@@ -632,6 +632,7 @@ void qp_iter_print(struct seq_file *s, struct qp_iter *iter)
qp->s_sending_psn, qp->s_sending_hpsn,
qp->s_last, qp->s_acked, qp->s_cur,
qp->s_tail, qp->s_head, qp->s_size,
+ qp->s_avail,
qp->remote_qpn,
qp->remote_ah_attr.dlid,
qp->remote_ah_attr.sl,