ethtool
[ lro on|off ]
[ rxvlan on|off ]
[ txvlan on|off ] [ ntuple on|off ] [ rxhash on|off ]
sudo ethtool eth0 Settings for eth0: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full Supports auto-negotiation: Yes Advertised link modes: 10baseT/Half 10baseT/Full 100baseT/Half 100baseT/Full Advertised auto-negotiation: Yes Speed: 100Mb/s Duplex: Full Port: MII PHYAD: 1 Transceiver: internal Auto-negotiation: on Supports Wake-on: pumbg Wake-on: d Current message level: 0x00000001 (1) Link detected: yes
-s --change ethn [ speed 10|100|1000|2500|10000 ] [ xcvr internal|external ] [ port tp|aui|bnc|mii|fibre ] [ duplex half|full ] [ autoneg on|off ] [ phyad %d ] [ msglvl %d ] [ advertis %x ] 0x001 10 Half 0x002 10 Full 0x004 100 Half 0x008 100 Full 0x010 1000 Half† 0x020 1000 Full 0x8000 2500 Full† († not IEEE standard) 0x800 10000 Full 0x03F Auto [ wol d|p|u|m|b|a|g|s … ] Wake-on-LAN. disable, phy activity, unicast messages, multicast messages, broadcast messages, aRP, g MagicPacket™, secureOn™ password for MagicPacket™, [ sopass xx:xx:xx:xx:xx:xx ]
Show visible port identification
(e.g. blinking) | --identify ethn [ seconds ] -p
| ||||||||||||||||||||||
Execute adapter self test | --test ethn [ online | offline ]
| ||||||||||||||||||||||
Statistics | --statistics ethn
| ||||||||||||||||||||||
Rx network flow classification | --show-nfc ethn [ rx-flow-hash tcp3|udp4|ah4|sctp4|tcp6|udp6|ah6|sctp6 ] -n
|
--show-coalesce ethn
-c
--coalesce ethn
-C [adaptive-rx on|off]
[rx-usecs N] [rx-frames N] [tx-usecs N] [tx-frames N]
[rx-usecs-irq N] [rx-frames-irq N] [tx-usecs-irq N] [tx-frames-irq N]
[rx-usecs-low N] [rx-frames-low N] [tx-usecs-low N] [tx-frames-low N]
[rx-usecs-high N] [rx-frames-high N] [tx-usecs-high N] [tx-frames-high N]
[adaptive-tx on|off]
[pkt-rate-low N] [pkt-rate-high N]
[stats-block-usecs N]
[sample-interval N]
Caution -E
Flash firmware image -f-x --show-rxfh-indir ethn -X --set-rxfh-indir ethn N | weight W0 W1 ...-h --help ethn --version
rxpackets: 4738 rxbytes: 5493514 rxbroadcast: 126 rxmulticast: 0 rxerrors: 0 multicast: 0 collisions: 0 rxlength_errors: 0 rxover_errors: 0 rxcrc_errors: 0 rxframe_errors: 0 rxno_buffer_count: 0 rxmissed_errors: 0 rxlong_length_errors: 0 rxshort_length_errors: 0 rxalign_errors: 0 rxflow_control_xon: 0 rxflow_control_xoff: 0 rxlong_byte_count: 5493514 rxcsum_offload_good: 4548 rxcsum_offload_errors: 0 rxheader_split: 0 alloc_rxbuff_failed: 0 rxdma_failed: 0 rxsmbus: 0 |