InfiniBand Interface
For information on port type management of ConnectX-4 and above adapter cards, please refer to Port Type Management/VPI Cards Configuration section.
RDMA counters are available only through sysfs located under:
# /sys/class/infiniband/<device>/ports/*/counters/
# /sys/class/infiniband/<device>/ports/*/hw_counters/
For mlx5 port and RDMA counters, refer to the Understanding mlx5 Linux Counters Community post.