Editing Ethtool

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
<code>ethtool</code><ref>http://man7.org/linux/man-pages/man8/ethtool.8.html</ref> command is used to view and modify network device drivers setting, in particular wired [[Ethernet]] devices.
 
<code>ethtool</code><ref>http://man7.org/linux/man-pages/man8/ethtool.8.html</ref> command is used to view and modify network device drivers setting, in particular wired [[Ethernet]] devices.
  
* <code>[[ethtool --help]]</code>
 
* <code>ethtool [[eno]]1</code>
 
* <code>[[ethtool eth0]]</code>
 
* <code>ethtool -i eno1</code>
 
* <code>[[ethtool -S]] eno1</code>
 
* <code>[[ethtool -X]]</code>
 
 
ethtool -i eth2
 
driver: eth2
 
version: 2.0
 
firmware-version: N/A
 
bus-info: N/A
 
 
[[ethtool -S eno1]]  --statistics
 
 
 
ethtool -K eth0 [[gso]] off [[gro]] off [[tso]] off
 
 
 
ethtool -K eth0 gso on gro on tso on
 
Actual changes:
 
generic-segmentation-offload: on
 
[[generic-receive-offload]]: on
 
 
 
ethtool -K eno1 tx on rx on
 
Actual changes:
 
rx-checksumming: on
 
tx-checksumming: on
 
tx-checksum-ip-generic: on
 
tcp-segmentation-offload: on
 
tx-tcp-segmentation: on
 
tx-tcp-mangleid-segmentation: on
 
tx-tcp6-segmentation: on
 
 
 
* Disable [[TCP checksum]] offloading
 
ethtool -K eth0 tx off rx off
 
 
 
* <code>[[ethtool --show-offload]] eno0</code>
 
  
 
== Examples ==
 
== Examples ==
 
* <code>ethtool [[eno]]1</code>
 
 
   
 
   
  Settings for eno1:
+
  ethtool eno1
  Supported ports: [ TP ]
+
Settings for eno1:
Supported link modes:  10baseT/Half 10baseT/Full
 
                        100baseT/Half 100baseT/Full
 
                        1000baseT/Half 1000baseT/Full
 
Supported pause frame use: No
 
Supports auto-negotiation: Yes
 
Supported FEC modes: Not reported
 
Advertised link modes: 10baseT/Half 10baseT/Full
 
                        100baseT/Half 100baseT/Full
 
                        1000baseT/Half 1000baseT/Full
 
[[Advertised pause frame use]]: Symmetric
 
Advertised auto-negotiation: Yes
 
Advertised FEC modes: Not reported
 
Link partner advertised link modes:  10baseT/Half 10baseT/Full
 
                                    100baseT/Half 100baseT/Full
 
                                    1000baseT/Full
 
Link partner advertised pause frame use: No
 
Link partner advertised auto-negotiation: Yes
 
Link partner advertised FEC modes: Not reported
 
Speed: 1000Mb/s
 
Duplex: Full
 
Port: Twisted Pair
 
PHYAD: 4
 
Transceiver: internal
 
Auto-negotiation: on
 
  MDI-X: off
 
[[Supports Wake-on]]: g
 
Wake-on: g
 
Current message level: 0x000000ff (255)
 
      drv probe link timer ifdown ifup rx_err tx_err
 
        Link detected: yes
 
 
 
 
 
ethtool eno1
 
Settings for eno1:
 
 
Supported ports: [ TP ]
 
Supported ports: [ TP ]
 
Supported link modes:  10baseT/Half 10baseT/Full
 
Supported link modes:  10baseT/Half 10baseT/Full
 
                        100baseT/Half 100baseT/Full
 
                        100baseT/Half 100baseT/Full
                        1000baseT/Full
+
                        1000baseT/Half 1000baseT/Full
 
Supported pause frame use: No
 
Supported pause frame use: No
 
Supports auto-negotiation: Yes
 
Supports auto-negotiation: Yes
Line 92: Line 15:
 
Advertised link modes:  10baseT/Half 10baseT/Full
 
Advertised link modes:  10baseT/Half 10baseT/Full
 
                        100baseT/Half 100baseT/Full
 
                        100baseT/Half 100baseT/Full
                        1000baseT/Full
+
                        1000baseT/Half 1000baseT/Full
Advertised pause frame use: No
+
Advertised pause frame use: Symmetric
 
Advertised auto-negotiation: Yes
 
Advertised auto-negotiation: Yes
 
Advertised FEC modes: Not reported
 
Advertised FEC modes: Not reported
 +
Link partner advertised link modes:  10baseT/Half 10baseT/Full
 +
                                    100baseT/Half 100baseT/Full
 +
                                    1000baseT/Full
 +
Link partner advertised pause frame use: No
 +
Link partner advertised auto-negotiation: Yes
 +
Link partner advertised FEC modes: Not reported
 
Speed: 1000Mb/s
 
Speed: 1000Mb/s
 
Duplex: Full
 
Duplex: Full
 
Port: Twisted Pair
 
Port: Twisted Pair
PHYAD: 1
+
PHYAD: 4
 
Transceiver: internal
 
Transceiver: internal
 
Auto-negotiation: on
 
Auto-negotiation: on
MDI-X: off (auto)
+
MDI-X: off
Supports Wake-on: pumbg
+
Supports Wake-on: g
 
Wake-on: g
 
Wake-on: g
Current message level: 0x00000007 (7)
+
Current message level: 0x000000ff (255)
      drv probe link
+
      drv probe link timer ifdown ifup rx_err tx_err
Link detected: yes
+
 
</pre>
 
  
 
<pre>
 
<pre>
Line 144: Line 72:
 
Link detected: no
 
Link detected: no
 
</pre>
 
</pre>
 
ethtool -i eno1
 
driver: e1000e
 
version: 3.2.6-k
 
firmware-version: 0.5-4
 
expansion-rom-version:
 
bus-info: 0000:00:1f.6
 
supports-statistics: yes
 
supports-test: yes
 
supports-eeprom-access: yes
 
supports-register-dump: yes
 
supports-priv-flags: no
 
 
 
ethtool eth2
 
Settings for eth2:
 
Supported ports: [ [[MII]] ]
 
Supported link modes:
 
Supports auto-negotiation: No
 
Advertised link modes:  Not reported
 
Advertised pause frame use: No
 
Advertised auto-negotiation: No
 
Speed: 1000Mb/s
 
Duplex: Full
 
Port: MII
 
PHYAD: 0
 
Transceiver: external
 
Auto-negotiation: off
 
Current message level: 0x00000236 (566)
 
      probe link ifdown ifup intr
 
Link detected: yes
 
 
 
ethtool [[enx]]0t6b8f279a99
 
Settings for enx0t6b8f279a99:
 
        Current message level: 0x00000007 (7)
 
                              drv probe link
 
Link detected: yes
 
 
== Related terms ==
 
* <code>[[ip link set]] eth0 up</code>
 
* [[TCP Segmentation Offload (TSO)]]
 
* [[Generic Segmentation Offload (GSO)]]
 
* [[Generic Receive Offload (GRO)]]
 
  
 
== See also ==
 
== See also ==
* {{ethtool}}
 
* {{LSO}}
 
 
* {{Linux ethernet}}
 
* {{Linux ethernet}}
 
* {{ethernet}}
 
* {{ethernet}}
  
 
[[Category:networking]]
 
[[Category:networking]]

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: