All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-wired-lan] X550 VF do not support PTP
@ 2018-09-15 22:53 Henning Svane
  2018-09-17  8:27 ` Basierski, SebastianX
  0 siblings, 1 reply; 7+ messages in thread
From: Henning Svane @ 2018-09-15 22:53 UTC (permalink / raw)
  To: intel-wired-lan

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@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>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Intel-wired-lan] X550 VF do not support PTP
  2018-09-15 22:53 [Intel-wired-lan] X550 VF do not support PTP Henning Svane
@ 2018-09-17  8:27 ` Basierski, SebastianX
  2018-10-17 18:01   ` Kielan, Tymoteusz
  0 siblings, 1 reply; 7+ messages in thread
From: Basierski, SebastianX @ 2018-09-17  8:27 UTC (permalink / raw)
  To: intel-wired-lan

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@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@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@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@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/20180917/9c3129e0/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/20180917/9c3129e0/attachment-0001.png>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Intel-wired-lan] X550 VF do not support PTP
  2018-09-17  8:27 ` Basierski, SebastianX
@ 2018-10-17 18:01   ` Kielan, Tymoteusz
  2018-10-17 18:09     ` Henning Svane
  0 siblings, 1 reply; 7+ messages in thread
From: Kielan, Tymoteusz @ 2018-10-17 18:01 UTC (permalink / raw)
  To: intel-wired-lan

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@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@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@lists.osuosl.org<mailto:intel-wired-lan@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@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@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>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Intel-wired-lan] X550 VF do not support PTP
  2018-10-17 18:01   ` Kielan, Tymoteusz
@ 2018-10-17 18:09     ` Henning Svane
  2018-10-17 18:40       ` Denny Page
  0 siblings, 1 reply; 7+ messages in thread
From: Henning Svane @ 2018-10-17 18:09 UTC (permalink / raw)
  To: intel-wired-lan

Hi Tim

Thanks for the answer, but that also means that hardware PTP in a virtual machine cannot be made.
There are some finance regulation (high speed trading) here in Europe which need hardware PTP to be precise enough.

So this need to be made in a physical server. Pass-through is not the way to go as you cannot vMotion the VM, so no benefit

Regards
Henning

Fra: Kielan, Tymoteusz <tymoteusz.kielan@intel.com>
Sendt: 17. oktober 2018 20:01
Til: Basierski, SebastianX <sebastianx.basierski@intel.com>; Henning Svane <hsv@energy.dk>; intel-wired-lan at lists.osuosl.org
Emne: RE: X550 VF do not support PTP

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<mailto:hsv@energy.dk>>; intel-wired-lan at lists.osuosl.org<mailto:intel-wired-lan@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@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@lists.osuosl.org<mailto:intel-wired-lan@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@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@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. S?owackiego 173 | 80-298 Gda?sk | S?d Rejonowy Gda?sk P??noc | VII Wydzia? Gospodarczy Krajowego Rejestru S?dowego - KRS 101882 | NIP 957-07-52-316 | Kapita? zak?adowy 200.000 PLN.

Ta wiadomo?? wraz z za??cznikami jest przeznaczona dla okre?lonego adresata i mo?e zawiera? informacje poufne. W razie przypadkowego otrzymania tej wiadomo?ci, prosimy o powiadomienie nadawcy oraz trwa?e jej usuni?cie; jakiekolwiek przegl?danie 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/e7159e5c/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/e7159e5c/attachment-0001.png>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Intel-wired-lan] X550 VF do not support PTP
  2018-10-17 18:09     ` Henning Svane
@ 2018-10-17 18:40       ` Denny Page
  2018-10-17 19:31         ` Henning Svane
  0 siblings, 1 reply; 7+ messages in thread
From: Denny Page @ 2018-10-17 18:40 UTC (permalink / raw)
  To: intel-wired-lan

Some silly questions...

What regs require PTP?

If an extreme level of time accuracy is required, wouldn?t that preclude any concept of vMotion?

Why wouldn?t you run clock synchronization on the host and pass the host clock through to the guest?

Denny

> On Oct 17, 2018, at 11:09, Henning Svane <hsv@energy.dk> wrote:
> 
> Hi Tim
>  
> Thanks for the answer, but that also means that hardware PTP in a virtual machine cannot be made.
> There are some finance regulation (high speed trading) here in Europe which need hardware PTP to be precise enough.
>  
> So this need to be made in a physical server. Pass-through is not the way to go as you cannot vMotion the VM, so no benefit
>  
> Regards
> Henning
>  
> Fra: Kielan, Tymoteusz <tymoteusz.kielan@intel.com> 
> Sendt: 17. oktober 2018 20:01
> Til: Basierski, SebastianX <sebastianx.basierski@intel.com>; Henning Svane <hsv@energy.dk>; intel-wired-lan at lists.osuosl.org
> Emne: RE: X550 VF do not support PTP
>  
> 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@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
>  
> <image001.png>
>  
> 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
> 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@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)
> ---------------------------------------------------------------------
> Intel Technology Poland sp. z o.o.
> ul. S?owackiego 173 | 80-298 Gda?sk | S?d Rejonowy Gda?sk P??noc | VII Wydzia? Gospodarczy Krajowego Rejestru S?dowego - KRS 101882 | NIP 957-07-52-316 | Kapita? zak?adowy 200.000 PLN.
> 
> Ta wiadomo?? wraz z za??cznikami jest przeznaczona dla okre?lonego adresata i mo?e zawiera? informacje poufne. W razie przypadkowego otrzymania tej wiadomo?ci, prosimy o powiadomienie nadawcy oraz trwa?e jej usuni?cie; jakiekolwiek przegl?danie 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.
> 
>  
> _______________________________________________
> Intel-wired-lan mailing list
> Intel-wired-lan at osuosl.org
> https://lists.osuosl.org/mailman/listinfo/intel-wired-lan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/intel-wired-lan/attachments/20181017/73084b65/attachment-0001.html>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Intel-wired-lan] X550 VF do not support PTP
  2018-10-17 18:40       ` Denny Page
@ 2018-10-17 19:31         ` Henning Svane
  2018-10-17 20:12           ` Denny Page
  0 siblings, 1 reply; 7+ messages in thread
From: Henning Svane @ 2018-10-17 19:31 UTC (permalink / raw)
  To: intel-wired-lan

Not silly at all

https://www.esma.europa.eu/policy-rules/mifid-ii-and-mifir

https://www.emissions-euets.com/time-stamping-and-business-clocks-synchronisation

Regards
Henning

-----Original Message-----
From: Denny Page [dennypage at me.com]
Received: onsdag, 17 okt. 2018, 20:40
To: Henning Svane [hsv at energy.dk]
CC: Kielan, Tymoteusz [tymoteusz.kielan at intel.com]; Basierski, SebastianX [sebastianx.basierski at intel.com]; intel-wired-lan at lists.osuosl.org [intel-wired-lan at lists.osuosl.org]
Subject: Re: [Intel-wired-lan] X550 VF do not support PTP

Some silly questions...

What regs require PTP?

If an extreme level of time accuracy is required, wouldn?t that preclude any concept of vMotion?

Why wouldn?t you run clock synchronization on the host and pass the host clock through to the guest?

Denny

On Oct 17, 2018, at 11:09, Henning Svane <hsv at energy.dk<mailto:hsv@energy.dk>> wrote:

Hi Tim

Thanks for the answer, but that also means that hardware PTP in a virtual machine cannot be made.
There are some finance regulation (high speed trading) here in Europe which need hardware PTP to be precise enough.

So this need to be made in a physical server. Pass-through is not the way to go as you cannot vMotion the VM, so no benefit

Regards
Henning

Fra: Kielan, Tymoteusz <tymoteusz.kielan at intel.com<mailto:tymoteusz.kielan@intel.com>>
Sendt: 17. oktober 2018 20:01
Til: Basierski, SebastianX <sebastianx.basierski at intel.com<mailto:sebastianx.basierski@intel.com>>; Henning Svane <hsv at energy.dk<mailto:hsv@energy.dk>>; intel-wired-lan at lists.osuosl.org<mailto:intel-wired-lan@lists.osuosl.org>
Emne: RE: X550 VF do not support PTP

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<mailto:hsv@energy.dk>>; intel-wired-lan at lists.osuosl.org<mailto:intel-wired-lan@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@intel.com>

<image001.png>

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@lists.osuosl.org<mailto:intel-wired-lan@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@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@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. S?owackiego 173 | 80-298 Gda?sk | S?d Rejonowy Gda?sk P??noc | VII Wydzia? Gospodarczy Krajowego Rejestru S?dowego - KRS 101882 | NIP 957-07-52-316 | Kapita? zak?adowy 200.000 PLN.

Ta wiadomo?? wraz z za??cznikami jest przeznaczona dla okre?lonego adresata i mo?e zawiera? informacje poufne. W razie przypadkowego otrzymania tej wiadomo?ci, prosimy o powiadomienie nadawcy oraz trwa?e jej usuni?cie; jakiekolwiek przegl?danie 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.

_______________________________________________
Intel-wired-lan mailing list
Intel-wired-lan at osuosl.org<mailto:Intel-wired-lan@osuosl.org>
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/intel-wired-lan/attachments/20181017/c3e19d79/attachment-0001.html>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Intel-wired-lan] X550 VF do not support PTP
  2018-10-17 19:31         ` Henning Svane
@ 2018-10-17 20:12           ` Denny Page
  0 siblings, 0 replies; 7+ messages in thread
From: Denny Page @ 2018-10-17 20:12 UTC (permalink / raw)
  To: intel-wired-lan

That said, I seriously doubt that you can meet a 100us sla in a vm no matter what you do. Even if the clock is stable enough for normal operation, almost anything you do management wise will violate the sla. vMotion is absolutely going to violate it.

FWIW, ptp isn?t a requirement. You can (easily) meet the 100us traceability requirement with NTP sourced from an on premise gps system. A couple of LeoNTP units and chronyd with hardware timestamps on a 1 second poll interval can achieve this easily. 

Best,
Denny


> On Oct 17, 2018, at 12:31, Henning Svane <hsv@energy.dk> wrote:
> 
> Not silly at all
> 
> https://www.esma.europa.eu/policy-rules/mifid-ii-and-mifir
> 
> https://www.emissions-euets.com/time-stamping-and-business-clocks-synchronisation
> 
> Regards
> Henning
> 
> -----Original Message----- 
> From: Denny Page [dennypage at me.com]
> Received: onsdag, 17 okt. 2018, 20:40
> To: Henning Svane [hsv at energy.dk]
> CC: Kielan, Tymoteusz [tymoteusz.kielan at intel.com]; Basierski, SebastianX [sebastianx.basierski at intel.com]; intel-wired-lan at lists.osuosl.org [intel-wired-lan at lists.osuosl.org]
> Subject: Re: [Intel-wired-lan] X550 VF do not support PTP
> 
> Some silly questions...
> 
> What regs require PTP?
> 
> If an extreme level of time accuracy is required, wouldn?t that preclude any concept of vMotion?
> 
> Why wouldn?t you run clock synchronization on the host and pass the host clock through to the guest?
> 
> Denny
> 
> On Oct 17, 2018, at 11:09, Henning Svane <hsv@energy.dk> wrote:
> 
>> Hi Tim
>>  
>> Thanks for the answer, but that also means that hardware PTP in a virtual machine cannot be made.
>> There are some finance regulation (high speed trading) here in Europe which need hardware PTP to be precise enough.
>>  
>> So this need to be made in a physical server. Pass-through is not the way to go as you cannot vMotion the VM, so no benefit
>>  
>> Regards
>> Henning
>>  
>> Fra: Kielan, Tymoteusz <tymoteusz.kielan@intel.com> 
>> Sendt: 17. oktober 2018 20:01
>> Til: Basierski, SebastianX <sebastianx.basierski@intel.com>; Henning Svane <hsv@energy.dk>; intel-wired-lan at lists.osuosl.org
>> Emne: RE: X550 VF do not support PTP
>>  
>> 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@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
>>  
>> <image001.png>
>>  
>> 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
>> 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@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)
>> ---------------------------------------------------------------------
>> Intel Technology Poland sp. z o.o.
>> ul. S?owackiego 173 | 80-298 Gda?sk | S?d Rejonowy Gda?sk P??noc | VII Wydzia? Gospodarczy Krajowego Rejestru S?dowego - KRS 101882 | NIP 957-07-52-316 | Kapita? zak?adowy 200.000 PLN.
>> 
>> Ta wiadomo?? wraz z za??cznikami jest przeznaczona dla okre?lonego adresata i mo?e zawiera? informacje poufne. W razie przypadkowego otrzymania tej wiadomo?ci, prosimy o powiadomienie nadawcy oraz trwa?e jej usuni?cie; jakiekolwiek przegl?danie 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.
>> 
>>  
>> _______________________________________________
>> Intel-wired-lan mailing list
>> Intel-wired-lan at osuosl.org
>> https://lists.osuosl.org/mailman/listinfo/intel-wired-lan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/intel-wired-lan/attachments/20181017/c316ac75/attachment-0001.html>

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-10-17 20:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-15 22:53 [Intel-wired-lan] X550 VF do not support PTP Henning Svane
2018-09-17  8:27 ` Basierski, SebastianX
2018-10-17 18:01   ` Kielan, Tymoteusz
2018-10-17 18:09     ` Henning Svane
2018-10-17 18:40       ` Denny Page
2018-10-17 19:31         ` Henning Svane
2018-10-17 20:12           ` Denny Page

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.