]> 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)
commit56c77f9a1d228e37b21db025c43cf9545b3b974c
treea97b98b73e7f8a879bcaa838f02d38301a1441cb
parent07288bcaf487146f11f2a7c64c5394015ad1f1eb
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