Ethernet Products
Determine ramifications of Intel® Ethernet products and technologies
5225 Discussions

PTP Offloading on Intel NIC 810

Faisal66
Beginner
4,398 Views

I am trying to enable PTP offloading on NIC but I need some guidance as the commands I find online doesn't work, I am trying to set one NIC as master.

 

I have used the command and got below output, but when i try ptp4l to enable PTP it uses the kernel by default and I am not able to find any option to change it to hardware 

 

 

Command: ethtool -T ens192

 

Time stamping parameters for ens192:
Capabilities:
hardware-transmit
software-transmit
hardware-receive
software-receive
software-system-clock
hardware-raw-clock
PTP Hardware Clock: 0
Hardware Transmit Timestamp Modes:
off
on
Hardware Receive Filter Modes:
none
all

0 Kudos
14 Replies
B_Y
Employee
4,373 Views

Hi Faisal,


​Thank you for posting in Intel Ethernet Communities.

We wish to inquire some few information to understand your setup and environment before share the steps for PTP Offloading on Intel Nic 810.

What are the model and serial number of Intel NIC 810? Please also include a snapshot(pic) of the Intel NIC 810 that installed in your system.


Could you please provide the information and OS associated with your motherboard and setup?

Finally, could you please share system report?

The Intel® System Support Utility for Windows* (https://downloadcenter.intel.com/download/25293/Intel-System-Support-Utility-for-Windows-)


Looking forward to your reply. 

We will follow up after 3 business days in case we don't hear from you. 


Best regards,

BY_Intel

Intel Customer Support


0 Kudos
B_Y
Employee
4,298 Views

Hi Faisal,


We are following up on your case regarding <PTP Offloading on Intel NIC 810>.

In our last email interaction we requested the following details:

-What are the model and serial number of Intel NIC 810?

The following articles are the user guides for respective model

Intel® Ethernet Network Adapter E810-CQDA2T User Guide

Intel® Ethernet Network Adapter E810-XXVDA4T User Guide


-Could you please provide the information and OS associated with your motherboard and setup?


We are requesting this in order to further assist you properly. We will be awaiting for your response. 


Have a nice day!


Best regards,

BY_Intel

Intel Customer Support



0 Kudos
B_Y
Employee
4,270 Views

Hi Faisal,


I hope this message finds you well. I am just sending a follow up if you have any questions from the previous post.

In our last email interaction we requested the following details:

-What are the model and serial number of Intel NIC 810?

The following articles are the user guides for respective model

Intel® Ethernet Network Adapter E810-CQDA2T User Guide

Intel® Ethernet Network Adapter E810-XXVDA4T User Guide


-Could you please provide the information and OS associated with your motherboard and setup?


We are requesting this in order to further assist you properly. We will be awaiting for your response. 


Have a nice day!


Best regards,

BY_Intel

Intel Customer Support


0 Kudos
Faisal66
Beginner
4,264 Views

Hi Team,

 

So when I run below command I get output as hardware clock none, I have updated the kernel and driver version but still the same.

 

I will also provide below necessary details in this message

 

[root@localhost ~]# ethtool -T ens224
Time stamping parameters for ens224:
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

 

[root@localhost ~]# lspci | grep Eth
0b:00.0 Ethernet controller: VMware VMXNET3 Ethernet Controller (rev 01)
13:00.0 Ethernet controller: Intel Corporation Ethernet Controller E810-C for QSFP (rev 02)

Product Name: Intel(R) Ethernet Network Adapter E810-CQDA1
[PN] Part number: M17659-003
[SN] Serial number: B49691B38DC0
[V2] Vendor specific: 0621
Capabilities: [150 v1] Device Serial Number b4-96-91-ff-ff-b3-8d-c0

 

[root@localhost ~]# modinfo ice
filename: /lib/modules/3.10.0-1160.83.1.el7.x86_64/kernel/drivers/net/ethernet/intel/ice/ice.ko.xz
version: 0.7.2-k
license: GPL v2
description: Intel(R) Ethernet Connection E800 Series Linux Driver
author: Intel Corporation, <linux.nics@intel.com>
retpoline: Y
rhelversion: 7.9
srcversion: BE9962388E7E8EA53D9319A
alias: pci:v00008086d00001593sv*sd*bc*sc*i*
alias: pci:v00008086d00001592sv*sd*bc*sc*i*
alias: pci:v00008086d00001591sv*sd*bc*sc*i*
depends:
intree: Y
vermagic: 3.10.0-1160.83.1.el7.x86_64 SMP mod_unload modversions
signer: CentOS Linux kernel signing key
sig_key: 83:3D:E5:B7:97:C7:F1:86:0D:1F:EA:C8:06:B6:DA:FE:D0:78:F0:69
sig_hashalgo: sha256
parm: debug:netif level (0=none,...,16=all) (int)

 

CentOS Linux release 7.9.2009 (Core)

Version: Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz

I am running this on motherboard by supermicro

 

I need help to enable PTP hardware offloading on this NIC

 

Thanks,

Faisal

 

 

0 Kudos
B_Y
Employee
4,240 Views

Hi Faisal,


I believe you're using old beta drivers. Please try the latest drivers

https://www.intel.com/content/www/us/en/download/19630/intel-network-adapter-driver-for-e810-series-devices-under-linux.html

 

And also let us to run this command for us to get the NVM version info:

ethtool -i <device>

 

Best regards,

BY_Intel

Intel Customer Support


0 Kudos
Faisal66
Beginner
4,216 Views

Hi Team,

 

I  have updated the drivers and able to see the PTP details for the interface, now I need to enable hardware offloading , I mean offload the PTP clock from kernel to intel NIC. I have provided necessary information below and other necessary information. Kindly suggest me the commands or the process for it.

 

 

[root@localhost ~]# ethtool -i ens224
driver: ice
version: 1.11.14
firmware-version: 2.30 0x80005d1e 1.2877.0
expansion-rom-version:
bus-info: 0000:13:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes

 

 

[root@localhost ~]# ethtool -T ens224
Time stamping parameters for ens224:
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)

 

CentOS Linux release 7.9.2009 (Core)

Version: Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz

 

[root@localhost ~]# lspci | grep Eth
0b:00.0 Ethernet controller: VMware VMXNET3 Ethernet Controller (rev 01)
13:00.0 Ethernet controller: Intel Corporation Ethernet Controller E810-C for QSFP (rev 02)

Product Name: Intel(R) Ethernet Network Adapter E810-CQDA1
[PN] Part number: M17659-003
[SN] Serial number: B49691B38DC0
[V2] Vendor specific: 0621
Capabilities: [150 v1] Device Serial Number b4-96-91-ff-ff-b3-8d-c0

 

 

 

Thanks,

Faisal.

0 Kudos
B_Y
Employee
4,192 Views

Hi Faisal,


The driver is the latest version, but the NVM is quite old. I would first suggest to update the NVM to latest (4.20).

Please use the latest ptp4l, at least 3.1.1, as that solved some problems for another customer recently.

 

Here are the commands for setting master and slave.

 

Master clock:

sudo ptp4l -i <device> -m –H

 

Slave clock:

sudo ptp4l -i <device> -m -H -s

 

Also here are links to related information:

• https://github.com/richardcochran/linuxptp/blob/master/phc2sys.8

• https://github.com/richardcochran/linuxptp/blob/master/ptp4l.8

• https://github.com/richardcochran/linuxptp/blob/master/ts2phc.8

• https://www.mankier.com/8/ts2phc

• https://www.mankier.com/8/ptp4l

• https://www.mankier.com/8/phc2sys 

 

We will be waiting for your response.

Best regards,

BY_Intel

Intel Customer Support


0 Kudos
B_Y
Employee
4,150 Views

Hi Faisal,


Good day and I hope everything is great!

This is just a follow up regarding the issue of your reported with us.

If you have additional questions or clarifications, feel free to let us know.

 

Should there be no response from you, I’ll make sure to reach out within 2 business day.

Let us know if there are any preferred date/time to reach you so that we can revert accordingly. Thanks.


Best regards,

BY_Intel

Intel Customer Support


0 Kudos
B_Y
Employee
4,126 Views

Hi Faisal,

Good day and hope that you are doing well.

 

This is just a follow up regarding your inquiry. We know that this is important for you to get it answered and it is also equally important for us to get you the right solution.

Since we have not seen an update for several days, hence we will proceed with the case closure after 2 business day.

You can still re-open the case by logging into your web portal or replying to this email. 

Please note that if the case is re-opened more than 15 days after closure, a new case will be created with a reference to the original case. 


Best regards,

BY_Intel


0 Kudos
Faisal66
Beginner
4,111 Views

Hi Team,

 

Thanks for the support, Its working fine now, will reopen this thread or create a new one if I have any other queries in future

 

Faisal.

0 Kudos
B_Y
Employee
4,102 Views

Hi Faisal,

Thanks for your update. May I ask which solution that you applied?

Best regards,

BY_Intel

Intel Customer Support


0 Kudos
Faisal66
Beginner
4,008 Views

Hi Team,

 

Below solution worked

 

1. Edit Chrony.conf file to move from NTP to PTP and add reference to hardware clock (refclock PHC /dev/ptp0) in the config file then restart the chrony services. 

2. After that I followed above steps provided above to install linux PTP and use ptp4l

 

Master clock: sudo ptp4l -i <device> -m –H

Slave clock: sudo ptp4l -i <device> -m -H -s

 

Thanks,

Faisal.

0 Kudos
B_Y
Employee
4,038 Views

Hi Faisal,

Thank you, if you need any additional information, please submit a new question as this thread will no longer be monitored.

Best regards,

BY_Intel

Intel Customer Support


0 Kudos
Faisal66
Beginner
3,584 Views

Hi Team,

 

I have noticed that whenever I update the kernel to perform some PTP testing, after a while the kernel firmware rolls back to older version. I have noticed this all the time and had to update the kernel frequently.

 

Can you let me know if this is a known problem of you need any details from me to investigate.

 

Thanks,

Faisal

0 Kudos
Reply