smcd-device - Man Page
Name
smcd-device — Print information about SMC-D devices
smcr-device — Print information about SMC-R devices
Synopsis
smcd [ OPTIONS ] device { COMMAND | help }
smcd device [ show ] [ all ]
smcr [ OPTIONS ] device { COMMAND | help }
smcr device [ show ] [ all ] [ netdev NETDEV ] [ ibdev IBDEV ]
Description
The smcd device command displays SMC-D devices and their properties. The smcr device command displays SMC-R devices and their properties.
smcd,smcr device show
inspect the device properties
- all (default)
Show all the devices.
- netdev NETDEV
SMC-R only: list only the device with the given network device name.
- ibdev IBDEV
SMC-R only: list only the device ports with the given RoCE device name.
Output
Net-Dev
Network device name.
IB-Dev
RoCE (InfiniBand) device name.
Ib-P
InfiniBand port of the RoCE device. Note that per InfiniBand convention, the port counting starts at 1. Consequently, devices where each port is represented as a separate device will indicate the port as the first port for all ports.
IB-State
State of the RoCE device port.
- INACTIVE
The RoCE device port is inactive.
- ACTIVE
The RoCE device port is active.
Type
Type of the underlying PCI device.
- RoCE_Express
Underlying used device is RoCE Express.
- RoCE_Express2
Underlying used device is RoCE Express 2.
- ISM
Underlying used device is ISM.
Crit / InUse
Show whether the device is critical i.e. without failover possibility(SMC-R) or whether the device is in use.(SMC-D)
- Yes
In case of SMC-R, there is at least one linkgroup running on the device with state "SINGLE" or locally "ASYMMETRIC" which means the linkgroups do not have any fail-over device in case of a failure. In case of SMC-D, there is at least one linkgroup running on the ISM device.
- No
In case of SMC-R, there is no linkgroup running on the device with state "SINGLE" or locally "ASYMMETRIC" which means the linkgroup(s) have a fallback device in case of a failure. In case of SMC-D, there is no linkgroup running on the ISM device.
Fid
Functional ID of the PCI device.
PCI-Id
ID of the PCI device.
Pchid
Physical channel ID of the PCI device.
#Links
Number of links(SMC-R)/linkgroups(SMC-D) on the device.
Pnet-Id
PNET-ID of the device. Preceding "*" means PNET-ID is set by the user. (e.g "*PNET-ID")
Examples
1. Show all SMC-D devices:
# smcd device show all
2. Show all SMC-R devices:
# smcr devices show all
3. Shows all SMC-R devices with RoCE (InfiniBand) device name "mlx4_0":
# smcr device show ibdev mlx4_0
4. Shows all SMC-R devices with network device name "eth0":
# smcr device show netdev eth0
See Also
Referenced By
The man page smcr-device(8) is an alias of smcd-device(8).