IB/srpt: Eliminate srpt_find_channel()
authorBart Van Assche <bart.vanassche@sandisk.com>
Thu, 11 Feb 2016 19:07:49 +0000 (11:07 -0800)
committerDoug Ledford <dledford@redhat.com>
Mon, 29 Feb 2016 22:12:35 +0000 (17:12 -0500)
commit2739b592d360fd2031262c034f0f73f6f4b7c394
tree548fb7b13d7b117a4768023c93add40f44dc8ff4
parent1e20a2a5107021144fd795bcb66a272fd80cb477
IB/srpt: Eliminate srpt_find_channel()

In the CM REQ message handler, store the channel pointer in
cm_id->context such that the function srpt_find_channel() is no
longer needed. Additionally, make the CM event messages more
informative.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: Sagi Grimberg <sagig@mellanox.com>
Cc: Alex Estrin <alex.estrin@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/srpt/ib_srpt.c