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

hard timestamp precision of 82574L

YGeng
Beginner
1,454 Views

Hi,

I'm having problems measuring RTTs with 82574L cards. In a simple experiment, I have two servers with 82574L directly connected with a cable. Server A sends a probe packet to server B and measures TX hardware timestamp tx_a. Server B replies an echo packet after receiving the probe packet, and notes down the RX hardware timestamp of the probe packet and the TX hardware timestamp of the echo packet as rx_b and tx_b. Finally server A notes down the RX hardware timestamp of the echo packet as rx_a. The RTT is computed as (rx_a - tx_a) - (tx_b - rx_b).

Since the NICs are connected back to back, I was expecting the RTTs measured to be very consistent. However this is not the case. The resulting RTTs varies from 1.4us to 100us.

Could anyone here shed some light on this problem?

My source files attached.

Thanks,

Yilong

0 Kudos
1 Solution
YGeng
Beginner
571 Views

problem solved. It's because HWSTAMP_FILTER_ALL doesn't lock the rx timestamp registers.

View solution in original post

0 Kudos
1 Reply
YGeng
Beginner
572 Views

problem solved. It's because HWSTAMP_FILTER_ALL doesn't lock the rx timestamp registers.

0 Kudos
Reply