User Manual
Rev 2.3-1.0.1
Mellanox Technologies
51
ethtool -C eth<x> adaptive-rx
on|off
Enables/disables adaptive interrupt moderation.
By default, the driver uses adaptive interrupt moderation
for the receive path, which adjusts the moderation time to
the traffic pattern.
ethtool -C eth<x> [pkt-rate-low N]
[pkt-rate-high N] [rx-usecs-low N]
[rx-usecs-high N]
Sets the values for packet rate limits and for moderation
time high and low values.
• Above an upper limit of packet rate, adaptive mod-
eration will set the moderation time to its highest
value.
• Below a lower limit of packet rate, the moderation
time will be set to its lowest value.
ethtool -C eth<x> [rx-usecs N] [rx-
frames N]
Sets the interrupt coalescing settings when the adaptive
moderation is disabled.
Note: usec settings correspond to the time to wait after the
*last* packet is sent/received before triggering an inter
-
rupt.
ethtool -a eth<x> Queries the pause frame settings.
ethtool -A eth<x> [rx on|off] [tx
on|off]
Sets the pause frame settings.
ethtool -g eth<x> Queries the ring size values.
ethtool -G eth<x> [rx <N>] [tx
<N>]
Modifies the rings size.
ethtool -S eth<x> Obtains additional device statistics.
ethtool -t eth<x> Performs a self diagnostics test.
ethtool -s eth<x> msglvl [N] Changes the current driver message level.
ethtool -T eth<x> Shows time stamping capabilities
ethtool -l eth<x> Shows the number of channels
ethtool -L eth<x> [rx <N>] [tx
<N>]
Sets the number of channels
etthtool -m|--dump-module-
eeprom eth<x> [ raw on|off ] [ hex
on|off ] [ offset N ] [ length N ]
Queries/Decodes the cable module eeprom information.
ethtool --show-priv-flags eth<x> Shows driver private flags and their states (on/off)
Private flags are:
• pm_qos_request_low_latency
• mlx4_rss_xor_hash_function
• qcn_disable_32_14_4_e
ethtool --set-priv-flags eth<x>
<priv flag> <on/off>
Enables/disables driver feature matching the given private
flag.
Table 3 - ethtool Supported Options
Options Description