ethtool Display or Set information about device version 2.6.38

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 

set generic options

  -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 ]
-t
Statistics --statistics ethn
-S
Rx network flow classification --show-nfc ethn [ rx-flow-hash tcp3|udp4|ah4|sctp4|tcp6|udp6|ah6|sctp6 ]
-n

--config-nfc ethn [ rx-flow-hash tcp4|udp4|ah4|sctp4|tcp6|udp6|ah6|sctp6 m|v|t|s|d|f|n|r... ]
-N

X ring parameters --show-ring ethn
-g

--set-ring ethn [ rx n |rx-mini |rx-jumbo n ]
               [ tx n ]
-G

Get Rx ntuple filters and actions -u
--show-ntuple ethn
Configure Rx ntuple filters and actions -U --config-ntuple ethn { flow-type tcp4|udp4|sctp4 [ src-ip ADDR [mask] ] [ dst-ip ADDR [mask] ] [ src-port PORT [mask] ] [ dst-port PORT [mask] ] | flow-type ether [ src MAC-ADDR [mask] ] [ dst MAC-ADDR [mask] ] [ proto N [mask] ] } [ vlan VLAN-TAG [mask] ] [ user-def DATA [mask] ] action N
Show permanent hardware address -P
--show-permaddr ethn
protocol offload information --show-offload ethn
-k
--offload ethn [ rx|tx|sg|tso|ufo|gso on|off ]
-K
generic segmentation offload gso [on|off]
generic receive offloadgro [on|off]
--show-pause ethn
-a
--pause ethn [ autoneg on|off ] [ rx|tx on|off ]
-A
Show driver information --driver ethn
-i
driver: 3c589_cs
Version: 1.162
l firmware-version:           (SIC)
bus-info: PCMCIA 0x300
EEPROM--register-dump ethn [ raw on|off ] [ file file ]
-d
--eeprom-dump ethn [ raw on|off ] [ offset N ] [ length N ]
-e
--change-eeprom ethn [ magic N ] [ offset N ] [ value N ]

Restart N-WAY negotation --negotiate ethn
-r

--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
--flash ethn file [ REGION-NUMBER-TO-FLASH ] from the specified file to a region on the Rx flow hash indirection
-x
--show-rxfh-indir ethn 
-X
--set-rxfh-indir ethn  N | weight W0 W1 ...  
-h --help ethn --version


Example -S reformatted a little NIC statistics:
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
txpackets: 3419 txbytes: 405958
txbroadcast: 2
txmulticast: 6
txerrors: 0
txdropped: 0
txaborted_errors: 0
txcarrier_errors: 0
txfifo_errors: 0
txheartbeat_errors: 0
txwindow_errors: 0
txabort_late_coll: 0
txdeferred_ok: 0
txsingle_coll_ok: 0         txmulti_coll_ok: 0
txtimeout_count: 0
txrestart_queue: 0
txtcp_seg_good: 1        txtcp_seg_failed: 0
txflow_control_xon: 0     txflow_control_xoff: 0
dropped_smbus: 0



txdma_failed: 0 txsmbus: 0