diff options
author | Bart Van Assche <bvanassche@acm.org> | 2019-09-30 16:17:03 -0700 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-10-04 15:35:07 -0300 |
commit | b5948cfddecd3af0faeddba9c77f22015959df89 (patch) | |
tree | 315b42ab1a747a990bba2b4f07e33365a9af8da2 /drivers/infiniband/ulp | |
parent | cbca2442a096f7fd8b68e6350d35c3a70182ca20 (diff) | |
download | linux-b5948cfddecd3af0faeddba9c77f22015959df89.tar.gz linux-b5948cfddecd3af0faeddba9c77f22015959df89.tar.bz2 linux-b5948cfddecd3af0faeddba9c77f22015959df89.zip |
RDMA/srpt: Improve a debug message
The ib_srpt driver uses two different identifiers while registering a
session with the LIO core. Report both identifiers if the modified
pr_debug() statement is enabled.
Link: https://lore.kernel.org/r/20190930231707.48259-12-bvanassche@acm.org
Cc: Honggang LI <honli@redhat.com>
Cc: Laurence Oberman <loberman@redhat.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/ulp')
-rw-r--r-- | drivers/infiniband/ulp/srpt/ib_srpt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/srpt/ib_srpt.c b/drivers/infiniband/ulp/srpt/ib_srpt.c index fbfadeedc195..dabaea301328 100644 --- a/drivers/infiniband/ulp/srpt/ib_srpt.c +++ b/drivers/infiniband/ulp/srpt/ib_srpt.c @@ -2293,7 +2293,8 @@ static int srpt_cm_req_recv(struct srpt_device *const sdev, be64_to_cpu(*(__be64 *)nexus->i_port_id), be64_to_cpu(*(__be64 *)(nexus->i_port_id + 8))); - pr_debug("registering session %s\n", ch->sess_name); + pr_debug("registering src addr %s or i_port_id %s\n", ch->sess_name, + i_port_id); tag_num = ch->rq_size; tag_size = 1; /* ib_srpt does not use se_sess->sess_cmd_map */ |