IB/srp: Add RDMA/CM support
authorBart Van Assche <bart.vanassche@wdc.com>
Mon, 22 Jan 2018 22:27:12 +0000 (14:27 -0800)
committerDoug Ledford <dledford@redhat.com>
Tue, 23 Jan 2018 16:35:04 +0000 (11:35 -0500)
commit19f313438c7754e6cc2bceddeebeaa5132e2e0a1
tree3295d9bd2a0dd1b71ae2ea52278b8e146a26b7e3
parent172856eac7cfaaeabad6a282d3c79d687ad69fc0
IB/srp: Add RDMA/CM support

Since the SRP_LOGIN_REQ defined in the SRP standard is larger than
what fits in the RDMA/CM login request private data, introduce a new
login request format for the RDMA/CM.

Note: since srp_daemon and ibsrpdm rely on the subnet manager and
since there is no equivalent of the IB subnet manager in non-IB
networks, login has to be performed manually for non-IB networks.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/srp/ib_srp.c
drivers/infiniband/ulp/srp/ib_srp.h
include/scsi/srp.h