SMC_RNICS(8)
π SMC_RNICS(8) β like, the whole manual, bestie
ok so this is smc_rnics from the Linux Programmer's Manual β yes it's section 8, yes it's a sysadmin baddie, and yes I'm gonna walk you through every single line of it π«Ά
β¨ NAME β¨
smc_rnics β list, enable and disable (R)NICs as used by SMC-R and SMC-D. that's it. that's the whole job. iconic behavior tbh π
πΈ SYNOPSIS πΈ
smc_rnics [-ahrv] [-d FID] [-e FID] [FID]
π¦ DESCRIPTION π¦
so the SMC protocol needs an (R)NIC for the (R)DMA traffic β like, it literally cannot function without one, no cap. use smc_rnics to handle your (R)NICs and also to identify ones that got hotplugged. main character tool for a main character protocol π
π OPTIONS π
by default, smc_rnics shows all the enabled (R)NICs in the system. that's the vibe check it runs automatically β¨
- FID β limit output to the specified function ID (FID). just the one, bestie.
-a,--allβ include disabled and unknown devices in output. the full roster, no filter π₯-d,--disable FIDβ set (R)NIC FID offline. bye bye π-e,--enable FIDβ set (R)NIC FID online. β οΈ careful though: devices other than (R)NICs are not displayed by default, so once you enable one it will not show up in further output unless you also pass-aor-r. it's giving "why is my device invisible" and honestly it's just doing what it said it would π-h,--helpβ display a briefsmc_rnicsusage information. the tutorial level π§-I,--IB-devβ display IB device information.-r,--rawidsβ display raw PCI vendor/device, PFT, and VFN codes in columns. note that this will also include unknown devices. raw data, no makeup, still slaying π-v,--versionβ display version information.
β OUTPUT β
ok bestie, here's what every column is actually telling you β do not skip this, it's the whole plot π
π FID
Function ID.
π Power
tells you whether the PCI slot is on (1) or off (0). and yeah, if it's off, go look at option -e for how to enable a device that's offline. we discussed this π
π PCI_ID
PCI ID in BDF (Bus:Device.Function) notation.
π PCHID
physical channel identifier β or, when it's an ISM device, the virtual channel identifier (VCHID). same column, two moods π¦
π Type
device type in human readable form. currently there's just a single device type supported that actually is not an RDMA capable network adapter: ISM. yep. one (1) imposter in the list π
the following RDMA capable network adapters are supported though π
Integrated_Networkβ IBM Integrated Network Adapter 100GNetwork_Expressβ Network ExpressRoCE_Express3β RoCE Express 3RoCE_Express2β RoCE Express 2RoCE_Expressβ RoCE Express
and psst β see option -r to switch to display of PCI vendor and device instead β¨
π PFT
PCI Function Type. it shows you a hexadecimal value with option -r, or the mapped name with option -a. pick your fighter π₯
π VF
Virtual Function. indicates if the FID is a virtual function within the adapter.
π VFN
Virtual Function number. indicates the virtual function within the adapter.
π PPrt
corresponding physical port of an RNIC, if applicable. starts counting at 0 (yes, zero. programmer brain π§ )
π IPrt
corresponding Infiniband port of an RNIC, if applicable. starts counting at 1 (yes, one this time. don't ask, just vibe)
π PNET_ID
physical network ID. it gets an asterisk * appended if it was defined via smc_pnet. little star, big meaning β
π Net-Dev
network interface in Linux, if applicable.
π IB-Dev
Infiniband interface in Linux, if applicable.
π₯ RETURN CODES π₯
on success, smc_rnics returns 0. if an error occurs, a return code other than 0 is returned. classic. no notes. periodt π
π SEE ALSO π
go read them, they're all part of the friend group π«Ά
π‘ friendly reminder:-dand-eliterally take an (R)NIC offline and online. that's real networking, bestie. be sure before you type β¨
and that's the whole page!! brought to you by smc-tools, dated October 2018 β yes she's vintage but she's still That Girl πππ
π¦ where this page comes from
- opensuse-leap 16.0: smc-tools 1.8.8-160000.1.1 Β· EPL-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms