ConnectX-2 Card User Manual
Rev 1.0
Mellanox Technologies
27
where 'x' is the OS assigned interface number.
• To check driver and device information run:
#> ethtool -i eth<n>
Example:
#> ethtool -i eth2
driver: mlx4_en (MT_04A0140005)
version: 1.5.1 (March 2010)
firmware-version: 2.7.000
bus-info: 0000:13:00.0
• To query stateless offload status run:
#> ethtool -k eth<x>
• To set stateless offload status run:
#> ethtool -K eth<x> [rx on|off] [tx on|off] [sg on|off] [tso on|off]
• To query interrupt coalescing settings run:
#> ethtool -c eth<x>
• By default, the driver uses adaptive interrupt moderation for the receive path, which adjusts the
moderation time to the traffic pattern. To enable/disable adaptive interrupt moderation use the
following command:
#>ethtool -C eth<x> adaptive-rx on|off
• Above an upper limit of packet rate, adaptive moderation 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. To set the values for packet rate limits and for moderation time high and low values, use
the following command:
#> ethtool -C eth<x> [pkt-rate-low N] [pkt-rate-high N] [rx-usecs-low N] [rx-usecs-high N]
• To set interrupt coalescing settings when adaptive moderation is disabled, use:
#> ethtool -c eth<x> [rx-usecs N] [rx-frames N]
To query pause frame settings run:
#> ethtool -a eth<x>
usec settings correspond to the time to wait after the *last* packet is sent/received
before triggering an interrupt.