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

Kielan, Tymoteusz tymoteusz.kielan at intel.com
Wed Oct 17 18:01:03 UTC 2018


Hi,

I can confirm that PTP is NOT supported on X550 VF device.
It works when one port is in pass-through mode as this is a PF device being mapped into the VM and not VF.

You can see in the ixgbevf driver that SIOCSHWTSTAMP ioctl is not handled.
There is no plan for PTP support for ixgbevf as for now.

Thanks, Tim

From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On Behalf Of Basierski, SebastianX
Sent: Monday, September 17, 2018 10:28 AM
To: Henning Svane <hsv at energy.dk>; intel-wired-lan at lists.osuosl.org
Subject: Re: [Intel-wired-lan] X550 VF do not support PTP

Hello,

As far as I know, PTP is not (and probably will not be) supported by VF driver.

Thanks
Sebastian Basierski
SII Engineer
Delivering outsourced services to Intel
e-mail: sebastianx.basierski at intel.com<mailto:sebastianx.basierski at intel.com>

[sii-logo]

From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On Behalf Of Henning Svane
Sent: Sunday, September 16, 2018 12:54 AM
To: intel-wired-lan at lists.osuosl.org<mailto:intel-wired-lan at lists.osuosl.org>
Subject: [Intel-wired-lan] X550 VF do not support PTP

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<mailto: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$<mailto: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)
--------------------------------------------------------------------

Intel Technology Poland sp. z o.o.
ul. Slowackiego 173 | 80-298 Gdansk | Sad Rejonowy Gdansk Polnoc | VII Wydzial Gospodarczy Krajowego Rejestru Sadowego - KRS 101882 | NIP 957-07-52-316 | Kapital zakladowy 200.000 PLN.

Ta wiadomosc wraz z zalacznikami jest przeznaczona dla okreslonego adresata i moze zawierac informacje poufne. W razie przypadkowego otrzymania tej wiadomosci, prosimy o powiadomienie nadawcy oraz trwale jej usuniecie; jakiekolwiek
przegladanie lub rozpowszechnianie jest zabronione.
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). If you are not the intended recipient, please contact the sender and delete all copies; any review or distribution by
others is strictly prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/intel-wired-lan/attachments/20181017/f6b385e3/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 5461 bytes
Desc: image001.png
URL: <http://lists.osuosl.org/pipermail/intel-wired-lan/attachments/20181017/f6b385e3/attachment-0001.png>


More information about the Intel-wired-lan mailing list