SMCD-DEVICE(8) | Linux Programmer's Manual | SMCD-DEVICE(8) |
smcd-device - Print information about SMC-D devices
smcr-device - Print information about SMC-R devices
smcd [ OPTIONS ] device { COMMAND | help }
smcd device [ show ] [ all ]
smcr [ OPTIONS ] device { COMMAND | help }
smcr device [ show ] [ all ] [ netdev NETDEV ] [ ibdev IBDEV ]
The smcd device command displays SMC-D devices and their properties. The smcr device command displays SMC-R devices and their properties.
inspect the device properties
Network device name.
RoCE (InfiniBand) device name.
InfiniBand port of the RoCE device. According to the InfiniBand conventions, the port count 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.
State of the RoCE device port.
Type of the underlying PCI device.
Show whether the device is critical i.e. without failover possibility(SMC-R) or whether the device is in use.(SMC-D)
Function ID of the PCI device.
ID of the PCI device.
Physical channel ID of the PCI device.
Number of links (SMC-R)/link groups (SMC-D) on the device.
PNET ID of the device. Leading asterisk "*" means PNET ID is set by the user. (e.g "*PNET-ID")
1. Show all SMC-D devices:
# smcd device show all
2. Show all SMC-R devices:
# smcr devices show all
3. Show all SMC-R devices with RoCE (InfiniBand) device name
"mlx4_0":
# smcr device show ibdev mlx4_0
4. Show all SMC-R devices with network device name
"eth0":
# smcr device show netdev eth0
smcd(8), smcr(8)
June 2020 | smc-tools |