SMCD-DEVICE(8)
π SMCD-DEVICE π β okay bestie, let's talk SMC-D and SMC-R devices
So this is the smcd-device page from the Linux Programmer's Manual fam (and its sibling smcr-device), and it's basically the "tell me everything about my SMC devices" page. Yes queen, we're printing device info today. π
πΈ NAME πΈ
smcd-deviceβ print info about SMC-D devices, bestiesmcr-deviceβ print info about SMC-R devices, bestie
β¨ SYNOPSIS β¨
smcd [ OPTIONS ] device { COMMAND | help }
smcd device [ show ] [ all ]
smcr [ OPTIONS ] device { COMMAND | help }
smcr device [ show ] [ all ] [ netdev NETDEV ] [ ibdev IBDEV ]
π¦ DESCRIPTION π¦
Okay so. The smcd device command shows you your SMC-D devices and all their little properties. The smcr device command does the same thing but for your SMC-R devices. Two flavors, same energy. π
π smcd,smcr device show
Inspect the device properties. Like a vibe check but for hardware. π
all(this is the default, no cap) β lists all the devices.netdev NETDEVβ SMC-R only! Limits the command output to the device with the specified network device name.ibdev IBDEVβ SMC-R only! Limits the command output to the device port with the specified RoCE device name.
π OUTPUT π
This is what you're gonna see in each column, and ngl there's a lot going on, so let's go field by field.
Net-Dev
Network device name. Simple. Iconic.
IB-Dev
RoCE (InfiniBand) device name.
IB-P
The InfiniBand port of the RoCE device. Per the InfiniBand conventions, the port count starts at 1. Which means: for devices where each port is represented as a separate device, the port will show up as the first port for all ports. Yes, that's a lot of "port" in one sentence. It's giving recursive. π
IB-State
The state of the RoCE device port.
INACTIVEβ the RoCE device port is inactive. It's not giving anything rn. π΄ACTIVEβ the RoCE device port is active. Main character energy. π₯
Type
The type of the underlying PCI device.
RoCE_Expressβ the underlying used device is RoCE Express.RoCE_Express2β the underlying used device is RoCE Express 2.ISMβ the underlying used device is ISM.
Crit / InUse
Shows whether the device is critical, i.e. without failover possibility (SMC-R), or whether the device is in use (SMC-D). Very "are you okay or are you a risk" of it.
Yesβ for SMC-R, there's at least one link group running on the device with state"SINGLE"or locally"ASYMMETRIC", which means one or more link groups without a failover device in case of a link failure. For SMC-D, there's at least one link group running on the ISM device.Noβ for SMC-R, there's no link group running on the device with state"SINGLE"or locally"ASYMMETRIC", which means the link group(s) have a fallback device in case of a failure. For SMC-D, there's no link group running on the ISM device.
β οΈ Bestie, read those two carefully.Yes= no failover,No= there is a fallback. It's a little chaotic but we respect it. π
FID
Function 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) / link groups (SMC-D) on the device.
PNET-ID
PNET ID of the device. A leading asterisk "*" means the PNET ID was set by the user. (e.g. "*PNET-ID"). Not me adding a whole asterisk to communicate that, but okay. β¨
π§ EXAMPLES π§
- Show all SMC-D devices:
# smcd device show all
- Show all SMC-R devices:
# smcr devices show all
- Show all SMC-R devices with RoCE (InfiniBand) device name
"mlx4_0":
# smcr device show ibdev mlx4_0
- Show all SMC-R devices with network device name
"eth0":
# smcr device show netdev eth0
π SEE ALSO π
Go read those too, bestie, they're literally the prequels. π«Ά
And that's the whole page!! This little gem is brought to you by smc-tools, dated June 2020. Slay, periodt, happy device-printing. πβ¨ππ¦πΈπ
π¦ where this page comes from
- centos-stream 10: smc-tools 1.8.8-1.el10 Β· EPL-1.0
- centos-stream 9: smc-tools 1.8.8-1.el9 Β· EPL-1.0
- centos-stream 9: smc-tools 1.8.8-1.el9 Β· EPL-1.0
- fedora 43: smc-tools 1.8.5-2.fc43 Β· EPL-1.0
- fedora 43: smc-tools 1.8.5-2.fc43 Β· EPL-1.0
- fedora 44: smc-tools 1.8.6-2.fc44 Β· EPL-1.0
- fedora 44: smc-tools 1.8.6-2.fc44 Β· EPL-1.0
- opensuse-leap 16.0: smc-tools 1.8.8-160000.1.1 Β· EPL-1.0
- opensuse-leap 16.0: smc-tools 1.8.8-160000.1.1 Β· EPL-1.0
- opensuse-leap 16.0: smc-tools 1.8.8-160000.1.1 Β· EPL-1.0
- opensuse-leap 16.0: smc-tools 1.8.8-160000.1.1 Β· EPL-1.0
- ubuntu jammy: smc-tools 1.7.0-0ubuntu1 Β· EPL-1.0
- ubuntu jammy: smc-tools 1.7.0-0ubuntu1.2 Β· EPL-1.0
- ubuntu noble: smc-tools 1.8.3-0ubuntu1 Β· EPL-1.0
- ubuntu noble: smc-tools 1.8.3-0ubuntu1.1 Β· EPL-1.0
- ubuntu questing: smc-tools 1.8.5-0ubuntu1
- ubuntu resolute: smc-tools 1.8.7-0ubuntu1 Β· EPL-1.0
- ubuntu stonking: smc-tools 1.8.8-0ubuntu1 Β· EPL-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms