Broadcom bnx2x NIC does not set ring buffer size on boot with udev

Solution Verified - Updated -

Issue

  • Broadcom bnx2x NIC does not set ring buffer size on boot with udev
  • bnx2x device ring buffer is not set correctly
  • We set the ring buffer via /etc/udev/rules.d/71-ethtool.rules file, and noticed bnx2x device is getting some lower number if we try to set to max value of 4078. I expect the ring buffer value to set to 4078.
# ls -l /etc/udev/rules.d/71-ethtool.rules
-rw-r--r-- 1 root root 2080 Mon DD HH:MM /etc/udev/rules.d/71-ethtool.rules

# grep bnx2x /etc/udev/rules.d/71-ethtool.rules
SUBSYSTEM=="net", ACTION=="add|change", KERNEL=="*", DRIVERS=="bnx2x", RUN+="/sbin/ethtool -G %k rx 4078 tx 4078"

# ethtool -g ethX
Ring parameters for ethX:
Pre-set maximums:
RX:             4078
RX Mini:        0
RX Jumbo:       0
TX:             4078
Current hardware settings:
RX:             453
RX Mini:        0
RX Jumbo:       0
TX:             4078

Environment

  • Red Hat Enterprise Linux 6
  • Broadcom NetXtreme II NIC using bnx2x driver
  • ethtool -G command in udev rules to set device ring buffer

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content