summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/hfi1/verbs.h
diff options
context:
space:
mode:
authorKaike Wan <kaike.wan@intel.com>2019-01-24 04:30:18 +0100
committerDoug Ledford <dledford@redhat.com>2019-02-05 23:53:55 +0100
commit2f16a696a05d34ba8c920b2133a51f18107fdb8b (patch)
tree8f8744fc452b588c6040e9fe69ed241db9eeb00d /drivers/infiniband/hw/hfi1/verbs.h
parentIB/hfi1: TID RDMA RcvArray programming and TID allocation (diff)
downloadlinux-2f16a696a05d34ba8c920b2133a51f18107fdb8b.tar.xz
linux-2f16a696a05d34ba8c920b2133a51f18107fdb8b.zip
IB/hfi1: Add the counter n_tidwait
This patch adds the counter n_tidwait to count the number of times the TID resource allocator has to wait for TID resources. Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com> Signed-off-by: Kaike Wan <kaike.wan@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/verbs.h')
-rw-r--r--drivers/infiniband/hw/hfi1/verbs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/hfi1/verbs.h b/drivers/infiniband/hw/hfi1/verbs.h
index 94f198b47239..20729454f181 100644
--- a/drivers/infiniband/hw/hfi1/verbs.h
+++ b/drivers/infiniband/hw/hfi1/verbs.h
@@ -243,6 +243,7 @@ struct hfi1_ibdev {
struct kmem_cache *verbs_txreq_cache;
u64 n_txwait;
u64 n_kmem_wait;
+ u64 n_tidwait;
/* protect iowait lists */
seqlock_t iowait_lock ____cacheline_aligned_in_smp;