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

E810XXVDA4TGG1 ptp4l error: driver rejected most general HWTSTAMP filter

AsheeshT
Beginner
1,092 Views

Hi, I am trying to enable PTP with E810XXVDA4TGG1 for O-RAN LLS-C1.

 

These are the driver versions:

$ ethtool -i enp13s0f1
driver: ice
version: 1.13.7
firmware-version: 4.40 0x8001c96a 1.3534.0
expansion-rom-version:
bus-info: 0000:0d:00.1
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes

$ ethtool -T enp13s0f1
Time stamping parameters for enp13s0f1:
Capabilities:
        hardware-transmit
        software-transmit
        hardware-receive
        software-receive
        software-system-clock
        hardware-raw-clock
PTP Hardware Clock: 6
Hardware Transmit Timestamp Modes:
        off
        on
Hardware Receive Filter Modes:
        none
        all

OS and kernel:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.5 LTS
Release:        22.04
Codename:       jammy

$ uname -r
5.15.0-131-generic


I am using this configuration file for PTP: 

[global]
dataset_comparison		G.8275.x
G.8275.defaultDS.localPriority	128
maxStepsRemoved			255
logAnnounceInterval		-3
logSyncInterval			-4
logMinDelayReqInterval		-4
serverOnly			1
G.8275.portDS.localPriority	128
domainNumber			24


#
# Transport options.
#
ptp_dst_mac             AA:BB:CC:DD:EE:FF
p2p_dst_mac             AA:BB:CC:DD:EE:FF
uds_address             /var/run/ptp4l
network_transport       L2
delay_mechanism         E2E
time_stamping           hardware
tsproc_mode             filter
delay_filter            moving_median
delay_filter_length     10
egressLatency           0
ingressLatency          0

#
# Clock description.
#
clockClass              6
clock_type              OC
clockAccuracy           0x20

when I run the ptp4l, I see following error:

$ sudo /usr/local/sbin/ptp4l -i enp13s0f1 -m -f ptp-gm.cfg

ptp4l[3123.424]: selected /dev/ptp6 as PTP clock
ptp4l[3123.468]: driver rejected most general HWTSTAMP filter
ptp4l[3123.468]: port 1 (enp13s0f1): INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[3123.468]: port 0 (/var/run/ptp4l): INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[3123.468]: port 0 (/var/run/ptp4lro): INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[3123.934]: port 1 (enp13s0f1): LISTENING to MASTER on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
ptp4l[3123.934]: selected local clock 507c6f.fffe.581999 as best master
ptp4l[3123.934]: port 1 (enp13s0f1): assuming the grand master role
ptp4l[3124.006]: timed out while polling for tx timestamp
ptp4l[3124.006]: increasing tx_timestamp_timeout or increasing kworker priority may correct this issue, but a driver bug likely causes it
ptp4l[3124.006]: port 1 (enp13s0f1): send sync failed
ptp4l[3124.006]: port 1 (enp13s0f1): MASTER to FAULTY on FAULT_DETECTED (FT_UNSPECIFIED)
ptp4l[3140.068]: driver rejected most general HWTSTAMP filter

How to resolve the issue?

Labels (1)
0 Kudos
12 Replies
Fikri_Intel
Employee
1,042 Views

Hi AsheeshT,


Thank you for contacting Intel.


We appreciate you reaching out to us regarding the reported issue. Regarding your inquiry, please let us know if you have already checked the Intel® Ethernet Network Adapter E810-XXVDA4T User Guide for setup instructions:


https://www.intel.com/content/www/us/en/content-details/646265/intel-ethernet-network-adapter-e810-xxvda4t-user-guide.html?DocID=646265


Additionally, we recommend updating both the driver and firmware to the latest versions to ensure optimal functionality and compatibility.


Please let us know if you need further assistance.



Regards,

Fikri O.


0 Kudos
AsheeshT
Beginner
1,012 Views

Hi Fikri,

 

I am following the same user guide. The driver and firmware are recent ones.

0 Kudos
Simon-Intel
Employee
994 Views

Hi Team,

 

Thank you for your response.


I kindly request you to share a picture of the network adapter with product markings clearly visible.

 

Best Regards,

Simon

Intel Customer Support Technician


0 Kudos
AsheeshT
Beginner
984 Views

Image (9).jpgImage (10).jpg

0 Kudos
Azeem_Intel
Employee
948 Views

Hi AsheeshT,

 

Thank you for your response.

 

We are currently reviewing your case. Please allow us some time, and we will get back to you as soon as possible.

 

Best Regards,

Azeem

Intel Customer Support Technician

 

 

0 Kudos
Azeem_Intel
Employee
903 Views

Hi AsheeshT,



We hope you are doing well. We have reviewed the error messages you encountered while running ptp4l, and they indicate a few potential issues with your PTP configuration or network interface card (NIC) settings. Please review the following details and suggestions:

1. Driver Rejected Most General HWTSTAMP Filter:

This error means the hardware timestamping filter is not accepted by your driver. Please ensure your NIC supports the required hardware timestamping modes. You can verify this by running:

ethtool -T enp13s0f1

Look for supported modes such as HWTSTAMP_FILTER_PTP_V2_EVENT.

2. Timed Out While Polling for TX Timestamp:

This error suggests that the system is not receiving the expected transmit timestamps, which could be due to a driver issue or misconfiguration. To address this, consider:

  • Increasing tx_timestamp_timeout: Modify your PTP configuration file to allow more time for the timestamp to be received.
  • Increasing kworker Priority: Adjust the priority of kernel worker threads to ensure timely processing of timestamps.

If these steps don’t resolve the issue, it may be a driver-related problem. Please ensure you are using the latest driver version by checking with:

ethtool -i enp13s0f1

3. Configuration File and Kernel Settings:

  • Verify that your ptp-gm.cfg file is correctly configured for your setup, in line with the requirements for O-RAN LLS-C1 and your specific network environment.
  • Confirm that your kernel is configured with the necessary options for PTP:
    • CONFIG_PPS
    • CONFIG_NETWORK_PHY_TIMESTAMPING
    • CONFIG_PTP_1588_CLOCK

Additional Steps:

  • NIC Firmware: Ensure that your NIC firmware is up to date, as updates can resolve known issues with timestamping.

If you have any further questions or require additional assistance, please do not hesitate to reach out.


Thank you for using Intel products and services.


Regards,

Azeem_Intel


0 Kudos
AsheeshT
Beginner
895 Views

 Hi Azeem,

I have already provided the NIC driver versions and capabilities when I opened this issue, but I am providing them again. The NIC I am using is Intel E810XXVDA4TGG1 (which is well known to provide hardware time clock for PTP), and the PTP configuration file is known to work with this NIC with different O-RU in LLS-C1 configuration. I have also tried increasing the timeout and ice driver version 1.12.7, but nothing has improved. Do you suggest any specific driver and firmware versions or kernel versions that are validated by Intel to provide reliable PTP? I am using Ubuntu 22.04.5 LTS (server) with kernel 15.0-131-generic. The Intel user guide for this NIC slightly confuses me regarding which firmware and driver versions are validated for which kernel version of ubuntu 22.04.

ethtool -i enp13s0f1
driver: ice
version: 1.13.7
firmware-version: 4.40 0x8001c96a 1.3534.0
expansion-rom-version:
bus-info: 0000:0d:00.1
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes

$ ethtool -T enp13s0f1
Time stamping parameters for enp13s0f1:
Capabilities:
        hardware-transmit
        software-transmit
        hardware-receive
        software-receive
        software-system-clock
        hardware-raw-clock
PTP Hardware Clock: 6
Hardware Transmit Timestamp Modes:
        off
        on
Hardware Receive Filter Modes:
        none
        all

 

0 Kudos
Azeem_Intel
Employee
866 Views

Hi AsheeshT,


Thank you for your detailed response. Please allow us some time to review this internally, and we will get back to you shortly.


Thank you for using Intel products and services.



Regards,

Azeem_Intel


0 Kudos
Meghak
Employee
792 Views

Hi AsheeshT,

 

Greetings for the day!

 

Please note we have reviewed the issue further and below are the details:

 

Please note Feature Support Matrix has details of IEEE 1588 - PTP support.

 

Refer Page 20 on the below link:

https://www.intel.com/content/www/us/en/content-details/630155/intel-ethernet-controller-e810-feature-support-matrix.html

 

IEEE 1588-PTP is supported from Driver pack 26.4.

 

We see your using Linux Driver 1.13.7 and NVM version 4.40 which is ok.

We recommend to update the driver and NVM firmware to the latest version using the driver pack.

 

Please follow the example ptp4l configuration file in Section 5.9 of E810 User guide on the below link:

https://www.intel.com/content/www/us/en/content-details/646265/intel-ethernet-network-adapter-e810-xxvda4t-user-guide.html

 

Please let us know if this is helpful.

 

We await your response to assist you further.

 

Thank you for using Intel products and services.

 

Best Regards,

Megha K

Intel Customer Support Technician


0 Kudos
Fikri_Intel
Employee
656 Views

Hi AsheeshT,


Good day to you.


Just wanted to follow up, kindly let us know if have any further concerns.


Looking forward to your response.




Regards,

Fikri O.


0 Kudos
Fikri_Intel
Employee
603 Views

Hi AsheeshT,


Good day to you.


Since we have not seen an update, we will be closing this forum case from our end.

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




Regards,

Fikri O.


0 Kudos
AsheeshT
Beginner
585 Views

Thank you for following up. We are going to try the firmware and driver upgrades. I will open a new ticket if further issues are observed or update here on what resolved the issue.

0 Kudos
Reply