File: README.Debian

package info (click to toggle)
ethtool 1%3A6.19-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,004 kB
  • sloc: ansic: 66,691; sh: 97; makefile: 88; xml: 17
file content (55 lines) | stat: -rw-r--r-- 1,356 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
ethtool for Debian
------------------

Most settings that can be controlled through ethtool can be specified
in /etc/network/interfaces.  They will then be applied to interfaces
that are brought up automatically at boot time or using the 'ifup'
command.  The following settings are supported:

Link mode (--change):
	link-speed <speed>
	link-duplex half|full

Ethernet settings (--change):
	ethernet-autoneg on|off|<mask>
	ethernet-port <port>
	ethernet-wol <mode> [<pass-key>]

Driver control (--change):
	driver-message-level <level>

Ethernet flow control (--pause):
	ethernet-pause-rx on|off
	ethernet-pause-tx on|off
	ethernet-pause-autoneg on|off

Protocol offload (--offload):
	offload-rx on|off
	offload-tx on|off
	offload-sg on|off
	offload-tso on|off
	offload-ufo on|off
	offload-gso on|off
	offload-lro on|off
	(etc.)

Hardware tuning (--coalesce, --ring):
	hardware-irq-coalesce-adaptive-rx on|off
	hardware-irq-coalesce-adaptive-tx on|off
	hardware-irq-coalesce-rx-usecs <n>
	hardware-irq-coalesce-rx-frames <n>
	(etc.)
	hardware-dma-ring-rx <size>
	hardware-dma-ring-rx-mini <size>
	hardware-dma-ring-rx-jumbo <size>
	hardware-dma-ring-tx <size>

Example:

iface eth0 inet dhcp
	link-speed 100
	link-duplex full
	ethernet-autoneg off
	ethernet-wol s 46:65:62:69:61:6e

 -- Ben Hutchings <ben@decadent.org.uk>, Sat,  4 Jun 2011 20:37:08 +0100