]> git.baikalelectronics.ru Git - kernel.git/commit
IB/srpt: Rework multi-channel support
authorBart Van Assche <bart.vanassche@wdc.com>
Wed, 17 Jan 2018 00:14:10 +0000 (16:14 -0800)
committerDoug Ledford <dledford@redhat.com>
Thu, 18 Jan 2018 19:49:25 +0000 (14:49 -0500)
commit72096024a739fd14b52a8c3462223042a10990db
tree32e5a711eecd7f3690045002e8c04748e3900b83
parent000835ed163f306442c4292bae0cc1df886e065c
IB/srpt: Rework multi-channel support

Store initiator and target port ID's once per nexus instead of in each
channel data structure. This change simplifies the duplicate connection
check in srpt_cm_req_recv().

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