summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2018-03-03 00:14:15 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-03-08 01:56:14 +0300
commit63cf1a902c9dd6b0761861ea87fce3663f59403b (patch)
treec4cb86f6b24532d00663b87ec53fcbc8ec039b89 /include/uapi
parent63231585a6167840172cf7e9045b43ced8a0b6c2 (diff)
downloadlinux-63cf1a902c9dd6b0761861ea87fce3663f59403b.tar.xz
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 <bart.vanassche@wdc.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions