]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit62cde6b179269b4c941347487461dc2919a0a0ae
treea97b98b73e7f8a879bcaa838f02d38301a1441cb
parentb8210a8d3fde5d8f9431784ea79ab50d61f0ecf3
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