[E810 XXVDA4] timesync_read_tx_timestamp and timesync_read_rx_timestamp

Carlos de Souza Moraes Neto carlosmn at weg.net
Fri Oct 11 19:32:01 CEST 2024


Hi,
We have implemented a PTP peer-to-peer client running on the main core, with Lcores handling packet transmission and reception. However, we are encountering issues using the card's clock:
1. timesync_read_rx_timestamp: What should be the correct index value to use in this function?
2. timesync_read_tx_timestamp: This function consistently returns incorrect timestamps. Could it be registering the timestamp of a packet from another core if they are sending packets on a different port or queue of the same card?
3. rte_eth_timesync_read_time and rte_eth_timesync_adjust_time: Is there any inherent delay between calling read_time after adjust_time or write_time? Should we set a initial time when initializing dpdk?

Thank you for your help.

Best regards,
Carlos



More information about the users mailing list