IB/srpt: One target per port
authorBart Van Assche <bart.vanassche@wdc.com>
Wed, 17 Jan 2018 00:14:08 +0000 (16:14 -0800)
committerDoug Ledford <dledford@redhat.com>
Thu, 18 Jan 2018 19:49:24 +0000 (14:49 -0500)
commitba60c84f82f6facfe66688073458f233e4e5ba51
tree0d6066dbad7b212f58fb4dc96dbcc120c30a3a39
parentc5efb62148a4bf2865d76c43c012a3329f5b5b8c
IB/srpt: One target per port

In multipathing setups where a target system is equipped with
dual-port HCAs it is useful to have one connection per target port
instead of one connection per target HCA. Hence move the connection
list (rch_list) from struct srpt_device into struct srpt_port.

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