Linux Ethtool Commands - Broadcom NetXreme-C User Manual

Table of Contents

Advertisement

NetXtreme-E User's Manual

Linux Ethtool Commands

Note: In
Table
Command
ethtool -s ethX speed 25000 autoneg off
ethtool -i ethX
ethtool -k ethX
ethtool -K ethX tso off
ethtool -K ethX gro off lro off
ethtool -g ethX
ethtool -G ethX rx N
ethtool -S ethX
ethtool -l ethX
ethtool -L ethX rx 0 tx 0 combined M
ethtool -C ethX rx-frames N
ethtool -x ethX
ethtool -s ethX autoneg on speed 10000 duplex full
ethtool --show-eee ethX
ethtool --set-eee ethX eee off
ethtool --set-eee ethX eee on tx-lpi off
ethtool -L ethX combined 1 rx 0 tx 0
ethtool -K ethX ntuple off
ethtool -K ethX ntuple on
Ethtool -t ethX
echo 32768 > /proc/sys/net/core/
rps_sock_flow_entries
echo 2048 > /sys/class/net/ethX/queues/rx-X/
rps_flow_cnt
sysctl -w net.core.busy_read=50
echo 4 > /sys/bus/pci/devices/0000:82:00.0/
sriov_numvfs
February 26, 2018 • NetXtreme-E-UG100
19, ethX should be replaced with the actual interface name.
Table 19: Linux Ethtool Commands
Software Packages and Installation
Description
Set the speed. If the link is up on one port, the driver will
not allow the other port to be set to an incompatible
speed.
Output includes Package version, NIC BIOS version
(boot code).
Show offload features.
Turn off TSO.
Turn off GRO / LRO.
Show ring sizes.
Set Ring sizes.
Get statistics.
Show number of rings.
Set number of rings.
Set interrupt coalescing. Other parameters supported
are: rx-usecs, rx-frames, rx-usecs-irq, rx-frames-irq, tx-
usecs, tx-frames, tx-usecs-irq, tx-frames-irq.
Show RSS flow hash indirection table and RSS key.
Enable Autoneg (see
"Auto-Negotiation Configuration"
on page 40
for more details)
Show EEE state.
Disable EEE.
Enable EEE, but disable LPI.
Disable RSS. Set the combined channels to 1.
Disable Accelerated RFS by disabling ntuple filters.
Enable Accelerated RFS.
Performs various diagnostic self-tests.
Enable RFS for Ring X.
This sets the time to busy read the device's receive ring
to 50 usecs. For socket applications waiting for data to
arrive, using this method can decrease latency by 2 or
3 usecs typically at the expense of higher CPU
utilization.
Enable SR-IOV with four VFs on bus 82, Device 0 and
Function 0.
Page 31

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NetXreme-C and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Netxtreme-e

Table of Contents