]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
IB/hfi1: Add the counter n_tidwait
authorKaike Wan <kaike.wan@intel.com>
Thu, 24 Jan 2019 03:30:18 +0000 (19:30 -0800)
committerDoug Ledford <dledford@redhat.com>
Tue, 5 Feb 2019 22:53:55 +0000 (17:53 -0500)
commit2f16a696a05d34ba8c920b2133a51f18107fdb8b
tree8f8744fc452b588c6040e9fe69ed241db9eeb00d
parent838b6fd2d9ca29998869e4d1ecf4566efe807666
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>
drivers/infiniband/hw/hfi1/chip.c
drivers/infiniband/hw/hfi1/chip.h
drivers/infiniband/hw/hfi1/tid_rdma.c
drivers/infiniband/hw/hfi1/tid_rdma.h
drivers/infiniband/hw/hfi1/verbs.h