Skip to content

Command Reference Guide · Part 3 of 7

InfiniBand and RDMA

Read-only commandUse / first question
ibv_devicesWhich verbs devices are present?
ibv_devinfoWhat are the HCA and port capabilities?
ibstatIs the IB port active, and at what width/rate?
ibdev2netdevWhich HCA maps to which Linux netdev?
rdma link showWhich RDMA links are visible to Linux?
perfquery <lid>IB port counters for an authorized LID; requires fabric permissions.
iblinkinfoFabric link map when diagnostic tools and permissions exist.
ibnetdiscoverDiscovered topology; can be slow on large fabrics.
cat /sys/class/infiniband/<device>/ports/1/stateLocal port state without contacting other devices.
cat /sys/class/infiniband/<device>/fw_verLocal HCA firmware version.
Read-only commandibv_devices
Use / first questionWhich verbs devices are present?
Read-only commandibv_devinfo
Use / first questionWhat are the HCA and port capabilities?
Read-only commandibstat
Use / first questionIs the IB port active, and at what width/rate?
Read-only commandibdev2netdev
Use / first questionWhich HCA maps to which Linux netdev?
Read-only commandrdma link show
Use / first questionWhich RDMA links are visible to Linux?
Read-only commandperfquery <lid>
Use / first questionIB port counters for an authorized LID; requires fabric permissions.
Read-only commandiblinkinfo
Use / first questionFabric link map when diagnostic tools and permissions exist.
Read-only commandibnetdiscover
Use / first questionDiscovered topology; can be slow on large fabrics.
Read-only commandcat /sys/class/infiniband/<device>/ports/1/state
Use / first questionLocal port state without contacting other devices.
Read-only commandcat /sys/class/infiniband/<device>/fw_ver
Use / first questionLocal HCA firmware version.

For , pair rdma link show with ip -s link, ethtool -S, switch / , and the approved traffic-class map. A link that is UP has not passed end-to-end validation. See NVIDIA MLNX_OFED tools and rdma-core for release-specific behavior.

Read aloudPage 3