RDMA/srpt: Make debug output more detailed
authorBart Van Assche <bvanassche@acm.org>
Mon, 25 May 2020 17:22:10 +0000 (10:22 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 29 May 2020 17:49:55 +0000 (14:49 -0300)
commitd4ee7f3a4445ec1b0b88af216f4032c4d30abf5a
treea51c388c2f1f4f1653e2c97538a06bbae798b3e1
parent87fee61c35133e41f28facf856e0481cbf1bb2bd
RDMA/srpt: Make debug output more detailed

Since the session name by itself is not sufficient to uniquely identify a
queue pair, include the queue pair number. Show the ASCII channel state
name instead of the numeric value. This change makes the ib_srpt debug
output more consistent.

Link: https://lore.kernel.org/r/20200525172212.14413-3-bvanassche@acm.org
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/ulp/srpt/ib_srpt.c