IB/srpt: Preparations for adding RDMA/CM support
authorBart Van Assche <bart.vanassche@wdc.com>
Wed, 17 Jan 2018 00:14:16 +0000 (16:14 -0800)
committerDoug Ledford <dledford@redhat.com>
Thu, 18 Jan 2018 19:49:27 +0000 (14:49 -0500)
commit090fa24bf239ce1ec58f2b90c5ba54feca456cb0
treea97b98b73e7f8a879bcaa838f02d38301a1441cb
parentfcf589364f2a106544d79594dcf722d97528031b
IB/srpt: Preparations for adding RDMA/CM support

Introduce a union in struct srpt_rdma_ch for member variables that
depend on the type of connection manager. Avoid that error messages
report the IB/CM ID.

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
drivers/infiniband/ulp/srpt/ib_srpt.h