SMC-DEVICE(8)

NAME
smc-device - Print information about SMC devices

SYNOPSIS

smc [ OPTIONS ] device { COMMAND | help }

smc device [ show ] [ all ] [ type TYPE ] [ netdev NETDEV ] [ ibdev IBDEV ]
TYPE := [ smcr | smcd ]

DESCRIPTION
The smc device command displays SMC devices and their properties. Devices can be listed for SMC-R and SMC-D. The command operates with SMC-R type per default on all command levels.

  smc device show - look at the device properties

all (default)
    Show all the devices.

type TYPE
    List only the devices of the given type.

netdev NETDEV
    List only the device with the given network device name.

ibdev IBDEV
    List only the device ports with the given RoCE (InfiniBand) device name.

OUTPUT

  Net-Dev
Network device name.

  IB-Dev
RoCE (InfiniBand) device name.

  IB-P
InfiniBand port of the RoCE device.

  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
Show whether the device is critical i.e. without failover possibility.

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. "*" means PNET-ID is set by the user.

EXAMPLES
1. Show all devices of the type smcd:
# smc device show all type smcd
2. Show all devices of the type smcr:
# smc devices show all type smcr
3. Shows all devices with RoCE (InfiniBand) device name "mlx4_0":
# smc device show ibdev mlx4_0
4. Shows all devices with network device name "eth0":
# smc device show netdev eth0

SEE ALSO
smcd(8), smcr(8)