ethtool with Timestamp Support

$ ethtool enp1s0
Settings for enp1s0:
        Supported ports: [ TP ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Supported pause frame use: Symmetric
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
                                1000baseT/Full
        Advertised pause frame use: Symmetric
        Advertised auto-negotiation: Yes
        Speed: 100Mb/s
        Duplex: Full
        Port: Twisted Pair
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        MDI-X: off (auto)
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes

$ ethtool -i enp1s0
driver: igb
version: 5.2.18-k
firmware-version:  0. 6-5
bus-info: 0000:01:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: no

$ ethtool -T enp1s0
Time stamping parameters for enp1s0:
Capabilities:
        hardware-transmit     (SOF_TIMESTAMPING_TX_HARDWARE)
        software-transmit     (SOF_TIMESTAMPING_TX_SOFTWARE)
        hardware-receive      (SOF_TIMESTAMPING_RX_HARDWARE)
        software-receive      (SOF_TIMESTAMPING_RX_SOFTWARE)
        software-system-clock (SOF_TIMESTAMPING_SOFTWARE)
        hardware-raw-clock    (SOF_TIMESTAMPING_RAW_HARDWARE)
PTP Hardware Clock: 0
Hardware Transmit Timestamp Modes:
        off                   (HWTSTAMP_TX_OFF)
        on                    (HWTSTAMP_TX_ON)
Hardware Receive Filter Modes:
        none                  (HWTSTAMP_FILTER_NONE)
        all                   (HWTSTAMP_FILTER_ALL)

$ dmesg | grep igb
[    5.521150] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.2.18-k
[    5.528611] igb: Copyright (c) 2007-2014 Intel Corporation.
[    5.572451] igb 0000:01:00.0: added PHC on eth0
[    5.577186] igb 0000:01:00.0: Intel(R) Gigabit Ethernet Network Connection
[    5.584346] igb 0000:01:00.0: eth0: (PCIe:2.5Gb/s:Width x1) 00:0d:b9:3f:9d:bc
[    5.591815] igb 0000:01:00.0: eth0: PBA No: FFFFFF-0FF
[    5.597191] igb 0000:01:00.0: Using MSI-X interrupts. 4 rx queue(s), 4 tx queue(s)
[    5.642228] igb 0000:02:00.0: added PHC on eth1
[    5.647005] igb 0000:02:00.0: Intel(R) Gigabit Ethernet Network Connection
[    5.654086] igb 0000:02:00.0: eth1: (PCIe:2.5Gb/s:Width x1) 00:0d:b9:3f:9d:bd
[    5.661414] igb 0000:02:00.0: eth1: PBA No: FFFFFF-0FF
[    5.666672] igb 0000:02:00.0: Using MSI-X interrupts. 4 rx queue(s), 4 tx queue(s)
[    5.711391] igb 0000:03:00.0: added PHC on eth2
[    5.716129] igb 0000:03:00.0: Intel(R) Gigabit Ethernet Network Connection
[    5.723292] igb 0000:03:00.0: eth2: (PCIe:2.5Gb/s:Width x1) 00:0d:b9:3f:9d:be
[    5.730654] igb 0000:03:00.0: eth2: PBA No: FFFFFF-0FF
[    5.735982] igb 0000:03:00.0: Using MSI-X interrupts. 4 rx queue(s), 4 tx queue(s)
[    5.747308] igb 0000:01:00.0 enp1s0: renamed from eth0
[    5.770235] igb 0000:03:00.0 enp3s0: renamed from eth2
[    5.797884] igb 0000:02:00.0 enp2s0: renamed from eth1

$ ethtool em1
Settings for em1:
	Supported ports: [ TP ]
	Supported link modes:   10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Full 
	Supported pause frame use: No
	Supports auto-negotiation: Yes
	Advertised link modes:  10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Full 
	Advertised pause frame use: No
	Advertised auto-negotiation: Yes
	Speed: 100Mb/s
	Duplex: Full
	Port: Twisted Pair
	PHYAD: 2
	Transceiver: internal
	Auto-negotiation: on
	MDI-X: off (auto)
	Supports Wake-on: pumbg
	Wake-on: g
	Current message level: 0x00000007 (7)
			       drv probe link
	Link detected: yes

$ ethtool -i em1
driver: e1000e
version: 3.2.5-k
firmware-version: 0.4-3
bus-info: 0000:00:19.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: no

$ ethtool -T em1
Time stamping parameters for em1:
Capabilities:
	software-transmit     (SOF_TIMESTAMPING_TX_SOFTWARE)
	software-receive      (SOF_TIMESTAMPING_RX_SOFTWARE)
	software-system-clock (SOF_TIMESTAMPING_SOFTWARE)
PTP Hardware Clock: none
Hardware Transmit Timestamp Modes: none
Hardware Receive Filter Modes: none

$ dmesg | grep e1000
[    3.583797] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.5-k
[    3.583798] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    3.584295] e1000e 0000:00:19.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
[    3.774720] e1000e 0000:00:19.0 eth0: (PCI Express:2.5GT/s:Width x1) b8:ac:6f:2f:14:cf
[    3.785851] e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection
[    3.796763] e1000e 0000:00:19.0 eth0: MAC: 8, PHY: 8, PBA No: 2011FF-0FF
[    3.812746] e1000e 0000:00:19.0 em1: renamed from eth0
[   34.403887] e1000e: em1 NIC Link is Up 100 Mbps Full Duplex, Flow Control: Rx/Tx
[   34.403998] e1000e 0000:00:19.0 em1: 10/100 speed: disabling TSO

Leave a Reply

Your email address will not be published. Required fields are marked *