IB/srpt: Move the code for parsing struct ib_cm_req_event_param
authorBart Van Assche <bart.vanassche@wdc.com>
Wed, 17 Jan 2018 00:14:17 +0000 (16:14 -0800)
committerDoug Ledford <dledford@redhat.com>
Thu, 18 Jan 2018 19:49:27 +0000 (14:49 -0500)
commit2ffcf04263832557dc55d5a7339d8f29428b679a
treed3cefbd753bba70abef03f669064b5fa8a5b108b
parent090fa24bf239ce1ec58f2b90c5ba54feca456cb0
IB/srpt: Move the code for parsing struct ib_cm_req_event_param

This patch does not change any functionality but makes srpt_cm_req_recv()
independent of the IB/CM and hence simplifies the patch that introduces
RDMA/CM support.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/srpt/ib_srpt.c