]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7d53439f61f8526a6f3da6b9ab2a01569a0d16d5
treed019c32c604fe4103c4b8ef34722189511d48b61
parentc1191badc4e649b47748d69f503b7a29010f8ea7
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