]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitee733bf9055124e356a69bdfb174a7a13026cdf2
tree548fb7b13d7b117a4768023c93add40f44dc8ff4
parent9365fe8a57ddcb4b2854357cf2682c25db48e22b
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