VPI Adapter Card Installation
Rev 1.0
Mellanox Technologies
28
• To set pause frame settings run:
#> ethtool -A eth<x> [rx on|off] [tx on|off]
• To query ring size values run:
#> ethtool -g eth<x>
• To modify rings size run:
#> ethtool -G eth<x> [rx <N>] [tx <N>]
• To obtain additional device statistics, run:
#> ethtool -S eth<x>
• To perform a self diagnostics test, run:
#> ethtool -t eth<x>
• The mlx4_en parameters can be found under /sys/module/mlx4_en (or /sys/module/mlx4_en/
parameters, depending on the OS) and can be listed using the command:
#> modinfo mlx4_en
To set non-default values to module parameters, the following line should be added to the file/etc/
modprobe.conf:
"options mlx4_en <param_name>=<value> <param_name>=<value> ..."
Ethernet Network Tuning
MLNX_EN installation changes several default network parameters in order to achieve optimized
networking performance in terms of high throughput, low latency and low CPU utilization. These
parameters are changed through the 'sysctl' interface.
In order to restore these parameters to their default values, download the
"mlnx_en_reverse_settings.conf" file from the MLNX_EN for Linux Web page
http://www.mellanox.com
=> Home > Products > Adapter Ethernet SW.
and run:
> /sbin/sysctl -p mlnx_en_reverse_settings.conf