Ethernet Products
Intel® Ethernet products and technologies
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
3936 Discussions

Intel XL710 or 82599ES Timestamp Issue

liuzl
Beginner
347 Views


The "Ethernet Controller XL710 for 40GbE QSFP+ 1583" or "Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection (rev 01)" network adapter is used to send and receive data based on DPDK 19.11. We want to obtain the hardware timestamp of each sent and received data packet to calculate the delay of sending and receiving data packets. However, we encounter the following problems:
The ptpclient example provided by the DPDK is used to obtain the hardware timestamp of receiving packets. The hardware timestamp of receiving packets cannot be obtained. Logs and code analysis show that the rte_eth_timesync_enable interface is enabled successfully, but the PKT_RX_IEEE1588_PTP flag is not set in the ol_flags flag of the received data packets. As a result, the rte_eth_timesync_read_rx_timestamp interface cannot be invoked to obtain the hardware timestamp.
In addition, we want to get the hardware timestamp of each received and sent packet through the rte_eth_timesync_read_rx_timestamp and rte_eth_timesync_read_tx_timestamp interfaces of the DPDK driver (involving files ixgbe_ethdev.c and i40e_ethdev.c).
Is there any solution to the above two problems?

 

0 Kudos
3 Replies
Mike_Intel
Moderator
327 Views

Hello liuzl,


Thank you for posting in Intel Ethernet Communities. 


I hope you enjoyed your weekend. For us to further check and investigate the issue, please provide the following details.


  1. Are you using an onboard network card or a PCIe card?
  2. What is your OS?
  3. Can you share the link of the driver that you are using?
  4. Can you share the screenshot of the error?


If you have questions, please let us know. In case we do not hear from you, we will make a follow up after 3 workings days. Thank you.


Best regards,

Michael L.

Intel® Customer Support Technician


liuzl
Beginner
320 Views

Hello,

Thanks for your reply,

The PCIe card is used based on Euler 2.5.

The kernel version of the operating system is 3.10.0-862.14.1.1.h224.eulerosv2r7.x86_64.
The link address of the DPDK driver is http://core.dpdk.org/download/, and the version is DPDK 19.11.8 (LTS).

 

(There was no information printed, thus couldnt take a screenshot, but we dug into the code and got the following information, hoping it helpful):

When a data packet is received, the value of ol_flags is 0x180, excluding PKT_RX_IEEE1588_PTP (the value is 1ULL << 9).

Regards,
Liu

Mike_Intel
Moderator
299 Views

Agent reply;

 

Hello liuzl,

 

I hope you're having a wonderful day. Since this question involves DPDK, please check with Intel Premier Support for further assistance. Please check the link below on how to access to Intel Premier Support.


Click the "Access and Log In" to contact the DPDK support https://www.intel.com/content/www/us/en/design/support/ips/training/welcome.html

 

Please be informed that we will now close this request. Just feel free to post a new question if you may have any other inquiry in the future as this thread will no longer be monitored.


Thank you and stay safe.

 

Best regards,

Michael L.

Intel® Customer Support Technician


Reply