Skip to content

Commit 63cf1a9

Browse files
KAGA-KOKOjgunthorpe
authored andcommitted
IB/srpt: Add RDMA/CM support
Add a parameter for configuring the port on which the ib_srpt driver listens for incoming RDMA/CM connections, namely /sys/kernel/config/target/srpt/discovery_auth/rdma_cm_port. The default value for this parameter is 0 which means "do not listen for incoming RDMA/CM connections". Add RDMA/CM support to all code that handles connection state changes. Modify srpt_init_nodeacl() such that ACLs can be configured for IPv4 and IPv6 addresses. Note: incoming connection requests are only accepted for ports that have been enabled. See also the "if (!sport->enabled)" code in the connection request handler. See also the following configfs attribute: /sys/kernel/config/target/srpt/$port/$port/enable. Signed-off-by: Bart Van Assche <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
1 parent 6323158 commit 63cf1a9

File tree

2 files changed

+325
-63
lines changed

2 files changed

+325
-63
lines changed

0 commit comments

Comments
 (0)