If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.

0
U

Property:ethtool

From BoxMatrix
(Redirected from ethtool)


BoxMatrix >> Shell-Commands >> ethtool @ BoxMatrix   -   IRC-Chat   -   Translate: de es fr it nl pl
News Selectors Models Accessories Components Environment Config Commands System Webif Software Develop Lexicon Community Project Media

Startup-Scr Hotplug-Scr BusyBox-Cmds Bash-Cmds AVM-Cmds Chipset-Cmds Linux-Cmds Shared-Libs Kernel-Mods Research

Linux-Command

Goto:   Examples  -  GPL-Browser  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

ethtool queries or controls network driver and hardware settings.

See also the ethtool(8) man page.

fw 7.29 help:

fritz3:/var/mod/root $ /sbin/ethtool -h

ethtool version 5.0

Usage:
        ethtool DEVNAME	Display standard information about device
        ethtool -s|--change DEVNAME	Change generic options
		[ speed %d ]
		[ duplex half|full ]
		[ port tp|aui|bnc|mii|fibre ]
		[ mdix auto|on|off ]
		[ autoneg on|off ]
		[ advertise %x ]
		[ phyad %d ]
		[ xcvr internal|external ]
		[ wol p|u|m|b|a|g|s|f|d... ]
		[ sopass %x:%x:%x:%x:%x:%x ]
		[ msglvl %d | msglvl type on|off ... ]
        ethtool -a|--show-pause DEVNAME	Show pause options
        ethtool -A|--pause DEVNAME	Set pause options
		[ autoneg on|off ]
		[ rx on|off ]
		[ tx on|off ]
        ethtool -c|--show-coalesce DEVNAME	Show coalesce options
        ethtool -C|--coalesce DEVNAME	Set coalesce options
		[adaptive-rx on|off]
		[adaptive-tx on|off]
		[rx-usecs N]
		[rx-frames N]
		[rx-usecs-irq N]
		[rx-frames-irq N]
		[tx-usecs N]
		[tx-frames N]
		[tx-usecs-irq N]
		[tx-frames-irq N]
		[stats-block-usecs N]
		[pkt-rate-low N]
		[rx-usecs-low N]
		[rx-frames-low N]
		[tx-usecs-low N]
		[tx-frames-low N]
		[pkt-rate-high N]
		[rx-usecs-high N]
		[rx-frames-high N]
		[tx-usecs-high N]
		[tx-frames-high N]
		[sample-interval N]
        ethtool -g|--show-ring DEVNAME	Query RX/TX ring parameters
        ethtool -G|--set-ring DEVNAME	Set RX/TX ring parameters
		[ rx N ]
		[ rx-mini N ]
		[ rx-jumbo N ]
		[ tx N ]
        ethtool -k|--show-features|--show-offload DEVNAME	Get state of protocol offload and other features
        ethtool -K|--features|--offload DEVNAME	Set protocol offload and other features
		FEATURE on|off ...
        ethtool -i|--driver DEVNAME	Show driver information
        ethtool -d|--register-dump DEVNAME	Do a register dump
		[ raw on|off ]
		[ file FILENAME ]
        ethtool -e|--eeprom-dump DEVNAME	Do a EEPROM dump
		[ raw on|off ]
		[ offset N ]
		[ length N ]
        ethtool -E|--change-eeprom DEVNAME	Change bytes in device EEPROM
		[ magic N ]
		[ offset N ]
		[ length N ]
		[ value N ]
        ethtool -r|--negotiate DEVNAME	Restart N-WAY negotiation
        ethtool -p|--identify DEVNAME	Show visible port identification (e.g. blinking)
               [ TIME-IN-SECONDS ]
        ethtool -t|--test DEVNAME	Execute adapter self test
               [ online | offline | external_lb ]
        ethtool -S|--statistics DEVNAME	Show adapter statistics
        ethtool --phy-statistics DEVNAME	Show phy statistics
        ethtool -n|-u|--show-nfc|--show-ntuple DEVNAME	Show Rx network flow classification options or rules
		[ rx-flow-hash tcp4|udp4|ah4|esp4|sctp4|tcp6|udp6|ah6|esp6|sctp6 [context %d] |
		  rule %d ]
        ethtool -N|-U|--config-nfc|--config-ntuple DEVNAME	Configure Rx network flow classification options or rules
		rx-flow-hash tcp4|udp4|ah4|esp4|sctp4|tcp6|udp6|ah6|esp6|sctp6 m|v|t|s|d|f|n|r... [context %d] |
		flow-type ether|ip4|tcp4|udp4|sctp4|ah4|esp4|ip6|tcp6|udp6|ah6|esp6|sctp6
			[ src %x:%x:%x:%x:%x:%x [m %x:%x:%x:%x:%x:%x] ]
			[ dst %x:%x:%x:%x:%x:%x [m %x:%x:%x:%x:%x:%x] ]
			[ proto %d [m %x] ]
			[ src-ip IP-ADDRESS [m IP-ADDRESS] ]
			[ dst-ip IP-ADDRESS [m IP-ADDRESS] ]
			[ tos %d [m %x] ]
			[ tclass %d [m %x] ]
			[ l4proto %d [m %x] ]
			[ src-port %d [m %x] ]
			[ dst-port %d [m %x] ]
			[ spi %d [m %x] ]
			[ vlan-etype %x [m %x] ]
			[ vlan %x [m %x] ]
			[ user-def %x [m %x] ]
			[ dst-mac %x:%x:%x:%x:%x:%x [m %x:%x:%x:%x:%x:%x] ]
			[ action %d ] | [ vf %d queue %d ]
			[ context %d ]
			[ loc %d]] |
		delete %d
        ethtool -T|--show-time-stamping DEVNAME	Show time stamping capabilities
        ethtool -x|--show-rxfh-indir|--show-rxfh DEVNAME	Show Rx flow hash indirection table and/or RSS hash key
		[ context %d ]
        ethtool -X|--set-rxfh-indir|--rxfh DEVNAME	Set Rx flow hash indirection table and/or RSS hash key
		[ context %d|new ]
		[ equal N | weight W0 W1 ... | default ]
		[ hkey %x:%x:%x:%x:%x:.... ]
		[ hfunc FUNC ]
		[ delete ]
        ethtool -f|--flash DEVNAME	Flash firmware image from the specified file to a region on the device
               FILENAME [ REGION-NUMBER-TO-FLASH ]
        ethtool -P|--show-permaddr DEVNAME	Show permanent hardware address
        ethtool -w|--get-dump DEVNAME	Get dump flag, data
		[ data FILENAME ]
        ethtool -W|--set-dump DEVNAME	Set dump flag of the device
		N
        ethtool -l|--show-channels DEVNAME	Query Channels
        ethtool -L|--set-channels DEVNAME	Set Channels
               [ rx N ]
               [ tx N ]
               [ other N ]
               [ combined N ]
        ethtool --show-priv-flags DEVNAME	Query private flags
        ethtool --set-priv-flags DEVNAME	Set private flags
		FLAG on|off ...
        ethtool -m|--dump-module-eeprom|--module-info DEVNAME	Query/Decode Module EEPROM information and optical diagnostics if available
		[ raw on|off ]
		[ hex on|off ]
		[ offset N ]
		[ length N ]
        ethtool --show-eee DEVNAME	Show EEE settings
        ethtool --set-eee DEVNAME	Set EEE settings
		[ eee on|off ]
		[ advertise %x ]
		[ tx-lpi on|off ]
		[ tx-timer %d ]
        ethtool --set-phy-tunable DEVNAME	Set PHY tunable
		[ downshift on|off [count N] ]
        ethtool --get-phy-tunable DEVNAME	Get PHY tunable
		[ downshift ]
        ethtool --reset DEVNAME	Reset components
		[ flags %x ]
		[ mgmt ]
		[ mgmt-shared ]
		[ irq ]
		[ irq-shared ]
		[ dma ]
		[ dma-shared ]
		[ filter ]
		[ filter-shared ]
		[ offload ]
		[ offload-shared ]
		[ mac ]
		[ mac-shared ]
		[ phy ]
		[ phy-shared ]
		[ ram ]
		[ ram-shared ]
		[ ap ]
		[ ap-shared ]
		[ dedicated ]
		[ all ]
        ethtool --show-fec DEVNAME	Show FEC settings
        ethtool --set-fec DEVNAME	Set FEC settings
		[ encoding auto|off|rs|baser [...]]
        ethtool -h|--help 		Show this help
        ethtool --version 		Show version number

Examples

7530 fw 7.39 example:

root@fritz0:/var/mod/root# ethtool -k lan

Features for lan:
rx-checksumming: off [fixed]
tx-checksumming: on
	tx-checksum-ipv4: off [fixed]
	tx-checksum-ip-generic: on
	tx-checksum-ipv6: off [fixed]
	tx-checksum-fcoe-crc: off [fixed]
	tx-checksum-sctp: off [fixed]
scatter-gather: on
	tx-scatter-gather: on
	tx-scatter-gather-fraglist: off [requested on]
tcp-segmentation-offload: on
	tx-tcp-segmentation: on
	tx-tcp-ecn-segmentation: on
	tx-tcp6-segmentation: on
udp-fragmentation-offload: off [requested on]
generic-segmentation-offload: on
generic-receive-offload: on
large-receive-offload: off [fixed]
rx-vlan-offload: off [fixed]
tx-vlan-offload: on
ntuple-filters: off [fixed]
receive-hashing: off [fixed]
highdma: off [requested on]
rx-vlan-filter: off [fixed]
vlan-challenged: off [fixed]
tx-lockless: on [fixed]
netns-local: on [fixed]
tx-gso-robust: off [requested on]
tx-fcoe-segmentation: off [requested on]
tx-gre-segmentation: on
tx-ipip-segmentation: on
tx-sit-segmentation: on
tx-udp_tnl-segmentation: on
fcoe-mtu: off [fixed]
tx-nocache-copy: off
loopback: off [fixed]
rx-fcs: off [fixed]
rx-all: off [fixed]
tx-vlan-stag-hw-insert: on
rx-vlan-stag-hw-parse: off [fixed]
rx-vlan-stag-filter: off [fixed]
l2-fwd-offload: off [fixed]
busy-poll: off [fixed]
rx-gro-hw: off [fixed]

GPL-Browser

Daily updated index of all ethtool code findings on the GPL-Browser. Last update: 2024-04-24 04:14 GMT.
The Browse column points to the Path containing the respective source code on the gpl.boxmatrix.info service.
The SoC column lists the Chip-Codenames, the Model column lists the nicks of the Box-Models.
The Diff column links the comparison of the AVM Kernel to the pristine original from Kernel.org.
The Download column links the full tarball the respective directory content is extracted from.
The presence of the source does not mean it fits the respective model and architecture. See the Model-Matrix where it's used.

Dependencies

Daily updated index of all dependencies of this command. Last update: 2024-04-24 07:26 GMT.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.

Relation Typ Object Mod Firmware Info Origin
Started by serv maple_eee.service 2 7.30 - 7.31 supervisor service for ethtool tweaks. AVM
Stopped by serv maple_eee.service 2 7.30 - 7.31 supervisor service for ethtool tweaks. AVM
Depends on lib ld.so 29 7.08 - 7.90 Dynamic linker / loader Linux
Depends on lib libc.so 79 5.09 - 7.90 Standard C library Linux
Depends on lib libgcc_s.so 28 5.09 - 6.110 GCC low-level runtime library Linux
Depends on lib libm.so 55 6.98 - 7.90 C math library Linux
6 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2024-04-24 05:11 GMT.
Showing all models using this command. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom) label in the Model column shows which CPU is meant for models with multiple Linux instances.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.

Model Firmware Path Size
FRITZ!Box 3272 5.50 - 6.89 /sbin 37.1k - 70.6k
FRITZ!Box WLAN 3370 5.09 - 6.56 /sbin 37.0k - 70.6k
FRITZ!Box 3390 5.50 - 6.56 /sbin 37.0k - 70.6k
FRITZ!Box 3490 (main) 6.20 - 7.30 /sbin 37.0k - 304k
FRITZ!Box 4020 7.39 /sbin 282k
FRITZ!Box 4040 6.52 - 7.57 /sbin 35.9k - 294k
FRITZ!Box 4050 7.57 /sbin 290k
FRITZ!Box 4060 7.26 - 7.57 /sbin 282k - 294k
FRITZ!Box 5490 (main) 6.51 - 7.29 /sbin 37.0k - 304k
FRITZ!Box 5491 (main) 7.01 - 7.29 /sbin 251k - 304k
FRITZ!Box 5530 Fiber (main) 7.21 - 7.80 /sbin 282k - 332k
FRITZ!Box 5590 Fiber (arm) 7.27 - 7.90 /sbin 282k - 358k
FRITZ!Box 5590 Fiber (prx) 7.27 - 7.90 /sbin 332k - 408k
FRITZ!Box 5690 Pro (arm) 7.59 - 7.60 /sbin 334k
FRITZ!Box 6430 Cable (arm) 6.84 - 7.57 /sbin 35.9k - 282k
FRITZ!Box 6430 Cable (atom) 6.84 - 7.29 /sbin 35.9k - 282k
FRITZ!Box 6490 Cable (arm) 6.20 - 7.57 /sbin 35.9k - 282k
FRITZ!Box 6490 Cable (atom) 6.20 - 7.51 /sbin 35.9k - 282k
FRITZ!Box 6590 Cable (arm) 6.83 - 7.57 /sbin 35.9k - 282k
FRITZ!Box 6590 Cable (atom) 6.83 - 7.51 /sbin 35.9k - 282k
FRITZ!Box 6591 Cable (arm) 7.04 - 7.90 /sbin 235k - 355k
FRITZ!Box 6591 Cable (atom) 7.04 - 7.90 /sbin 235k - 355k
FRITZ!Box 6660 Cable (arm) 7.14 - 7.90 /sbin 234k - 355k
FRITZ!Box 6660 Cable (atom) 7.14 - 7.90 /sbin 234k - 355k
FRITZ!Box 6670 Cable (arm) 7.57 - 7.62 /sbin 282k - 326k
FRITZ!Box 6670 Cable (atom) 7.61 - 7.62 /sbin 326k
FRITZ!Box 6690 Cable (arm) 7.28 - 7.90 /sbin 282k - 355k
FRITZ!Box 6690 Cable (atom) 7.28 - 7.90 /sbin 282k - 355k
FRITZ!Box 6810 LTE 6.35 /sbin 37.1k
FRITZ!Box 6820 LTE v1 7.39 /sbin 282k
FRITZ!Box 6820 LTE v2 7.39 /sbin 282k
FRITZ!Box 6840 LTE 5.09 - 7.39 /sbin 37.0k - 282k
FRITZ!Box 6842 LTE /sbin 37.1k
FRITZ!Box 6850 LTE 7.21 - 7.90 /sbin 282k - 362k
FRITZ!Box 6850 5G 7.24 - 7.90 /sbin 282k - 362k
FRITZ!Box 6890 LTE 6.84 - 7.51 /sbin 41.0k - 332k
FRITZ!Box 6890 LTE v1 6.84 - 7.51 /sbin 41.0k - 332k
FRITZ!Box 6890 LTE v2 6.84 - 7.51 /sbin 41.0k - 332k
FRITZ!Box 7272 5.55 - 7.39 /sbin 37.1k - 282k
FRITZ!Box 7312 5.23 - 6.56 /sbin 37.1k - 41.1k
FRITZ!Box Fon WLAN 7320 5.09 - 6.35 /sbin 37.1k - 41.1k
FRITZ!Box 7330 5.20 - 6.56 /sbin 37.1k - 70.6k
FRITZ!Box 7330 SL 5.20 - 6.56 /sbin 37.1k - 70.6k
FRITZ!Box Fon WLAN 7360 SL 5.20 - 6.34 /sbin 37.1k - 41.1k
FRITZ!Box Fon WLAN 7360 v1 5.09 - 6.36 /sbin 37.1k - 70.6k
FRITZ!Box Fon WLAN 7360 v2 5.22 - 6.88 /sbin 37.0k - 70.6k
FRITZ!Box 7362 SL 5.53 - 7.14 /sbin 37.0k - 275k
FRITZ!Box 7412 6.21 - 6.88 /sbin 37.0k - 37.1k
FRITZ!Box 7430 6.26 - 7.39 /sbin 37.0k - 304k
FRITZ!Box 7490 (main) 5.57 - 7.57 /sbin 37.0k - 332k
FRITZ!Box 7510 7.30 - 7.57 /sbin 290k
FRITZ!Box 7520 6.98 - 7.51 /sbin 226k - 294k
FRITZ!Box 7520 v2 (arm) 7.30 - 7.57 /sbin 282k - 294k
FRITZ!Box 7530 6.98 - 7.56 /sbin 226k - 294k
FRITZ!Box 7530 AX 7.20 - 7.90 /sbin 282k - 375k
FRITZ!Box 7560 6.51 - 7.39 /sbin 41.0k - 332k
FRITZ!Box 7580 6.53 - 7.30 /sbin 41.0k - 332k
FRITZ!Box 7581 6.54 - 7.16 /sbin 35.9k - 270k
FRITZ!Box 7582 6.83 - 7.17 /sbin 35.9k - 270k
FRITZ!Box 7583 7.01 - 7.57 /sbin 281k - 332k
FRITZ!Box 7583 VDSL 7.19 - 7.31 /sbin 332k
FRITZ!Box 7590 6.83 - 7.90 /sbin 41.0k - 408k
FRITZ!Box 7590 AX 7.19 - 7.90 /sbin 282k - 408k
FRITZ!Box 7690 7.59 /sbin 334k
FRITZ!Smart Gateway 7.39 - 7.59 /sbin 290k
FRITZ!WLAN Repeater 310 A 5.24 - 7.16 /sbin 37.1k - 275k
FRITZ!Repeater 600 7.39 /sbin 282k
FRITZ!Repeater 1200 7.11 - 7.58 /sbin 266k - 294k
FRITZ!Repeater 1200 AX 7.27 - 7.57 /sbin 290k
FRITZ!WLAN Repeater 1750E 7.39 /sbin 282k
FRITZ!Repeater 2400 7.39 /sbin 282k
FRITZ!Repeater 3000 6.98 - 7.58 /sbin 226k - 294k
FRITZ!Repeater 3000 AX 7.39 - 7.57 /sbin 282k - 290k
FRITZ!Repeater 6000 7.19 - 7.57 /sbin 290k - 294k
FRITZ!Powerline 540E 5.58 - 7.15 /sbin 37.1k - 275k
FRITZ!Powerline 546E 5.50 - 7.15 /sbin 37.1k - 275k
FRITZ!Powerline 1240 AX 7.51 - 7.57 /sbin 290k
FRITZ!Powerline 1260E 6.90 - 7.57 /sbin 35.9k - 294k
FRITZ!Powerline 1260 7.27 - 7.57 /sbin 294k
79 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-04-24 07:26 GMT.

Firmware Symbol
6.98 - 7.80 altera_tse_dump_regs
6.98 - 7.80 amd8111e_dump_regs
6.98 - 7.80 at76c50x_usb_dump_regs
6.98 - 7.80 bitset
7.90 cmis_show_all_ioctl
6.98 - 7.90 convert_mw_to_dbm
6.98 - 7.80 de2104x_dump_regs
7.19 - 7.80 dsa_dump_regs
6.98 - 7.90 dump_hex
7.90 dump_mdix
7.90 dump_per_queue_coalesce
7.90 dump_wol
6.98 - 7.80 e1000_dump_regs
6.98 - 7.80 e100_dump_regs
6.98 - 7.80 et131x_dump_regs
6.98 - 7.80 fec_8xx_dump_regs
7.19 - 7.80 fjes_dump_regs
6.98 - 7.80 ibm_emac_dump_regs
6.98 - 7.80 igb_dump_regs
6.98 - 7.80 ixgb_dump_regs
6.98 - 7.80 ixgbe_dump_regs
6.98 - 7.80 ixgbevf_dump_regs
7.90 jsonw_bool
7.90 jsonw_bool_field
7.90 jsonw_destroy
7.90 jsonw_end_array
7.90 jsonw_end_object
7.90 jsonw_float
7.90 jsonw_float_field
7.90 jsonw_hhu
7.90 jsonw_hhu_field
7.90 jsonw_hu
7.90 jsonw_hu_field
7.90 jsonw_int
7.90 jsonw_int_field
7.90 jsonw_lluint
7.90 jsonw_lluint_field
7.90 jsonw_luint
7.90 jsonw_luint_field
7.90 jsonw_name
7.90 jsonw_new
7.90 jsonw_null
7.90 jsonw_null_field
7.90 jsonw_pretty
7.90 jsonw_printf
7.90 jsonw_s64
7.90 jsonw_s64_field
7.90 jsonw_start_array
7.90 jsonw_start_object
7.90 jsonw_string
7.90 jsonw_string_field
7.90 jsonw_u64
7.90 jsonw_u64_field
7.90 jsonw_uint
7.90 jsonw_uint_field
7.90 jsonw_xint
7.90 lan743x_comm_dump_regs
7.19 - 7.80 lan78xx_dump_regs
5.09 - 7.90 main
6.98 - 7.90 natsemi_dump_eeprom
6.98 - 7.80 natsemi_dump_regs
6.98 - 7.80 pcnet32_dump_regs
7.90 print_flags
7.90 print_string
7.90 qsfp_dd_show_all
6.98 - 7.80 realtek_dump_regs
6.98 - 7.90 rxclass_parse_ruleopts
6.98 - 7.90 rxclass_rule_del
6.98 - 7.90 rxclass_rule_get
6.98 - 7.90 rxclass_rule_getall
6.98 - 7.90 rxclass_rule_ins
6.98 - 7.90 send_ioctl
6.98 - 7.80 sfc_dump_regs
6.98 - 7.90 sff8024_show_connector
6.98 - 7.90 sff8024_show_encoding
6.98 - 7.90 sff8024_show_identifier
6.98 - 7.90 sff8024_show_oui
6.98 - 7.90 sff8079_show_all
7.90 sff8079_show_all_ioctl
6.98 - 7.90 sff8472_show_all
6.98 - 7.90 sff8636_show_all
7.90 sff8636_show_all_ioctl
6.98 - 7.90 sff_show_ascii
7.90 sff_show_revision_compliance
6.98 - 7.90 sff_show_thresholds
6.98 - 7.90 sff_show_value_with_unit
6.98 - 7.80 skge_dump_regs
6.98 - 7.80 sky2_dump_regs
6.98 - 7.80 smsc911x_dump_regs
6.98 - 7.80 st_gmac_dump_regs
6.98 - 7.80 st_mac100_dump_regs
6.98 - 7.90 tg3_dump_eeprom
6.98 - 7.80 tg3_dump_regs
6.98 - 7.80 vioc_dump_regs
6.98 - 7.80 vmxnet3_dump_regs
95 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.