iw_cxgb4: dump detailed driver-specific QP information
authorSteve Wise <swise@opengridcomputing.com>
Thu, 3 May 2018 15:41:49 +0000 (08:41 -0700)
committerDoug Ledford <dledford@redhat.com>
Thu, 3 May 2018 19:51:27 +0000 (15:51 -0400)
commit056f9c7f39bf517d58f32797f1eb1465bb6f6ef2
treebeb73b7ffdc1747d18597007f2e4d0f0d7af3127
parent73937e8a030b046c6b0fa73868bee25647a29be4
iw_cxgb4: dump detailed driver-specific QP information

Provide a cxgb4-specific function to fill in qp state details.
This allows dumping important c4iw_qp state useful for debugging.

Included in the dump are the t4_sq, t4_rq structs, plus a dump
of the t4_swsqe and t4swrqe descriptors for the first and last
pending entries.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/cxgb4/Makefile
drivers/infiniband/hw/cxgb4/iw_cxgb4.h
drivers/infiniband/hw/cxgb4/provider.c
drivers/infiniband/hw/cxgb4/restrack.c [new file with mode: 0644]