1SRP_DAEMON_PORT@.SERVICE(5)srp_daemon_port@.serviceSRP_DAEMON_PORT@.SERVICE(5)
2
3
4
6 srp_daemon_port@.service - srp_daemon_port@ systemd service that
7 controls a single port
8
10 srp_daemon_port@.service
11
13 The srp_daemon_port@.service controls whether or not an srp_daemon
14 process is monitoring the RDMA port specified as template argument. The
15 format for the RDMA port name is dev:port where dev is the name of an
16 RDMA device and port is an port number starting from one. Starting an
17 instance of this template will start an srp_daemon process. Stopping an
18 instance of this template will stop the srp_daemon process for the
19 specified port. It can be prevented that srp_daemon is started for a
20 certain port by masking the corresponding systemd service, e.g.
21 systemctl mask srp_daemon_port@mlx4_0:1.
22
23 A list of all RDMA device and port number pairs can be obtained e.g. as
24 follows:
25
26 $ (cd /sys/class/infiniband >&/dev/null && for p in */ports/*; do
27 [ -e "$p" ] && echo "${p/\/ports\//:}"; done)
28 mlx4_0:1
29 mlx4_0:2
30 mlx4_1:1
31 mlx4_1:2
32
34 srp_daemon(1), srp_daemon.service(5), systemctl(1)
35
36
37
38srp_daemon SRP_DAEMON_PORT@.SERVICE(5)