logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

smcd-device - Print information about SMC-D devices

Description

       The smcddevice command displays SMC-D devices and their properties.  The smcrdevice command displays
       SMC-R devices and their properties.

   smcd,smcrdeviceshow
       inspect the device properties

       all(default)
              List all devices.

       netdevNETDEVSMC-R only: limit the command output to the device with the specified network device name.

       ibdevIBDEVSMC-R only: limit the command output to the device port with the specified RoCE device name.

Examples


       1. Show all SMC-D devices:
         #smcddeviceshowall

       2. Show all SMC-R devices:
         #smcrdevicesshowall

       3. Show all SMC-R devices with RoCE (InfiniBand) device name "mlx4_0":
         #smcrdeviceshowibdevmlx4_0

       4. Show all SMC-R devices with network device name "eth0":
         #smcrdeviceshownetdeveth0

Name

       smcd-device - Print information about SMC-D devices

       smcr-device - Print information about SMC-R devices

Output

Net-Dev
       Network device name.

   IB-Dev
       RoCE (InfiniBand) device name.

   IB-P
       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.

   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    For SMC-R, there is 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.  In case of SMC-D, there is at least one link group running on the ISM device.

       No     For SMC-R, there is  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.  In case
              of SMC-D, there is no link group running on the ISM device.

   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. Leading asterisk "*" means PNET ID is set by the user. (e.g "*PNET-ID")

See Also

smcd(8), smcr(8)

smc-tools                                           June 2020                                     SMCD-DEVICE(8)

Synopsis

smcd [ OPTIONS ] device  { COMMAND | help }

       smcddevice [ show ] [ all ]

       smcr [ OPTIONS ] device  { COMMAND | help }

       smcrdevice [ show ] [ all ] [ netdevNETDEV ] [ ibdevIBDEV ]

See Also