IB/hfi1: Add RQ/SRQ information to QP stats
authorMichael J. Ruhl <michael.j.ruhl@intel.com>
Fri, 22 Dec 2017 16:45:44 +0000 (08:45 -0800)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 3 Jan 2018 21:21:31 +0000 (14:21 -0700)
commitd67d6114ca23263dfc17ef98e94b88846b796212
treed019c32c604fe4103c4b8ef34722189511d48b61
parent107013ce7b28c3d7395bc0299c0fe3ce12f15b6f
IB/hfi1: Add RQ/SRQ information to QP stats

When debugging issues with RC QPs, it is useful to know if a QP
has an associated RQ or SRQ, the size of the RQ, and any RNR timeout
values.

Add the necessary information to the QP stats output.

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hfi1/qp.c