[Intel-wired-lan] X550 VF do not support PTP

Henning Svane hsv at energy.dk
Sat Sep 15 22:53:45 UTC 2018


Hi

I cannot get PTP hardware to work on a Virtual Function Ethernet Controller.
Here below you can see what I have tried with no luck.

How can I enable PTP hardware on Virtual function NIC, as from what I can read in the documentation this should work, but how?

As hypervisor I use VMware ESXi 6.7 (9484548)

Regards
Henning

On Ubuntu 18.04.1 (4.15.0-34-generic)
I am trying to get PTP to work on a X550 dual port, which has been setup so one port is SR-IOV (24 VF) and the other as Passthrough.

04:00.0 Ethernet controller: Intel Corporation Ethernet Controller 10G X550T (rev 01)
0b:00.0 Ethernet controller: Intel Corporation X550 Virtual Function
13:00.0 Ethernet controller: Intel Corporation X550 Virtual Function

To be sure that the drive support PTP I downloaded the newest driver
ixgbevf-4.3.5.tar.gz
sudo make CFLAGS_EXTRA="-DIXGBE_PTP" install (The documentation says this options has to be set)
https://downloadmirror.intel.com/26950/eng/readme.txt

:~/ixgbevf-4.3.5/src$ modinfo ixgbevf
filename:       /lib/modules/4.15.0-34-generic/updates/drivers/net/ethernet/intel/ixgbevf/ixgbevf.ko
version:        4.3.5
license:        GPL
description:    Intel(R) 10 Gigabit Virtual Function Network Driver
author:         Intel Corporation, <linux.nics at intel.com>
srcversion:     DE0A8FE27F168DAF11C29F6
alias:          pci:v00008086d000015B4sv*sd*bc*sc*i*
alias:          pci:v00008086d000015C5sv*sd*bc*sc*i*
alias:          pci:v00008086d000015A9sv*sd*bc*sc*i*
alias:          pci:v00008086d000015A8sv*sd*bc*sc*i*
alias:          pci:v00008086d00001564sv*sd*bc*sc*i*
alias:          pci:v00008086d00001565sv*sd*bc*sc*i*
alias:          pci:v00008086d00001530sv*sd*bc*sc*i*
alias:          pci:v00008086d00001515sv*sd*bc*sc*i*
alias:          pci:v00008086d0000152Esv*sd*bc*sc*i*
alias:          pci:v00008086d000010EDsv*sd*bc*sc*i*
depends:
retpoline:      Y
name:           ixgbevf
vermagic:       4.15.0-34-generic SMP mod_unload

:~/ixgbevf-4.3.5/src$ ethtool -T ens224
Time stamping parameters for ens224:
Capabilities:
        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
hsv at ptpc2ntps01:~/ixgbevf-4.3.5/src$ ethtool -T ens256
Time stamping parameters for ens256:
Capabilities:
        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

Ens161 is the Passthrough NIC and here PTP works.
:~/ixgbevf-4.3.5/src$ ethtool -T ens161
Time stamping parameters for ens161:
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: none
Hardware Transmit Timestamp Modes:
        off                   (HWTSTAMP_TX_OFF)
        on                    (HWTSTAMP_TX_ON)
Hardware Receive Filter Modes:
        none                  (HWTSTAMP_FILTER_NONE)
        all                   (HWTSTAMP_FILTER_ALL)
        ptpv1-l4-sync         (HWTSTAMP_FILTER_PTP_V1_L4_SYNC)
        ptpv1-l4-delay-req    (HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ)
        ptpv2-event           (HWTSTAMP_FILTER_PTP_V2_EVENT)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/intel-wired-lan/attachments/20180915/3b57e7ee/attachment-0001.html>


More information about the Intel-wired-lan mailing list