1SMCD-DEVICE(8)             Linux Programmer's Manual            SMCD-DEVICE(8)
2
3
4

NAME

6       smcd-device - Print information about SMC-D devices
7
8       smcr-device - Print information about SMC-R devices
9
10

SYNOPSIS

12       smcd [ OPTIONS ] device  { COMMAND | help }
13
14
15       smcd device [ show ] [ all ]
16
17       smcr [ OPTIONS ] device  { COMMAND | help }
18
19
20       smcr device [ show ] [ all ] [ netdev NETDEV ] [ ibdev IBDEV ]
21
22

DESCRIPTION

24       The smcd device command displays SMC-D devices and their properties.
25       The smcr device command displays SMC-R devices and their properties.
26
27
28   smcd,smcr device show
29       inspect the device properties
30
31
32       all (default)
33              Show all the devices.
34
35
36       netdev NETDEV
37              SMC-R only: list only the device with the given network device
38              name.
39
40
41       ibdev IBDEV
42              SMC-R only: list only the device ports with the given RoCE de‐
43              vice name.
44
45

OUTPUT

47   Net-Dev
48       Network device name.
49
50   IB-Dev
51       RoCE (InfiniBand) device name.
52
53   IB-P
54       InfiniBand port of the RoCE device. Note that per InfiniBand conven‐
55       tion, the port counting starts at 1. Consequently, devices where each
56       port is represented as a separate device will indicate the port as the
57       first port for all ports.
58
59   IB-State
60       State of the RoCE device port.
61
62       INACTIVE
63              The RoCE device port is inactive.
64
65       ACTIVE The RoCE device port is active.
66
67   Type
68       Type of the underlying PCI device.
69
70       RoCE_Express
71              Underlying used device is RoCE Express.
72
73       RoCE_Express2
74              Underlying used device is RoCE Express 2.
75
76       ISM    Underlying used device is ISM.
77
78   Crit / InUse
79       Show whether the device is critical i.e. without failover possibil‐
80       ity(SMC-R) or whether the device is in use.(SMC-D)
81
82       Yes    In case of SMC-R, there is at least one linkgroup running on the
83              device with state "SINGLE" or locally "ASYMMETRIC" which means
84              the linkgroups do not have any fail-over device in case of a
85              failure.  In case of SMC-D, there is at least one linkgroup run‐
86              ning on the ISM device.
87
88       No     In case of SMC-R, there is no linkgroup running on the device
89              with state "SINGLE" or locally "ASYMMETRIC" which means the
90              linkgroup(s) have a fallback device in case of a failure.  In
91              case of SMC-D, there is no linkgroup running on the ISM device.
92
93   FID
94       Functional ID of the PCI device.
95
96   PCI-ID
97       ID of the PCI device.
98
99   PCHID
100       Physical channel ID of the PCI device.
101
102   #Links
103       Number of links(SMC-R)/linkgroups(SMC-D) on the device.
104
105   PNET-ID
106       PNET-ID of the device. Preceding "*" means PNET-ID is set by the user.
107       (e.g "*PNET-ID")
108
109

EXAMPLES

111       1. Show all SMC-D devices:
112         # smcd device show all
113
114       2. Show all SMC-R devices:
115         # smcr devices show all
116
117       3. Shows all SMC-R devices with RoCE (InfiniBand) device name "mlx4_0":
118         # smcr device show ibdev mlx4_0
119
120       4. Shows all SMC-R devices with network device name "eth0":
121         # smcr device show netdev eth0
122

SEE ALSO

124       smcd(8), smcr(8)
125
126
127
128smc-tools                          June 2020                    SMCD-DEVICE(8)
Impressum