How to get and set device buffer size for Mellanox ConnectX-3 InfiniBand devices with mlx4 and ib_ipoib driver?

Solution Verified - Updated -

Issue

  • How to get and set device buffer size for Mellanox ConnectX-3 InfiniBand devices with mlx4 and ib_ipoib driver?
  • We are not able to set / or get any ring buffer value for InfiniBand interface
  • We are seeing some performance related issue and need to increase rx ring size
# ethtool -g ib0
Ring parameters for ib0:
Cannot get device ring settings: Operation not supported
  • When we use drivers provided by Mellanox - we are able to get the values:
# ethtool -g ib0
Ring parameters for ib0:
Pre-set maximums:
RX:             8192
TX:             8192
Current hardware settings:
RX:             2048
TX:             2048

Environment

  • Red Hat Enterprise Linux 7
  • Infiniband controller: Mellanox Technologies ConnectX-3 using mlx4 driver
  • IP over Infiniband (IPoIB) using ib_ipoib driver

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In