On 2019-03-27 15:54, Wiles, Keith wrote:
I know the API rte_eht_read_clock() is attempting to read the NIC for this 
timestamp, but if the PMD does not support this request can we just default to 
the rte_rdtsc() as a return value?
I would not advise that, because the goal of the function is to have something that is from the same unit than the hardware timestamp given in the mbufs.

> The current timestamp API is a mess because not all devices behave the
> same way. Trying to write an application that uses timestamping is
> therefore
> very difficult.

This is different than timesync, no other devices implement hardware timestamping. For me, it's a different feature.

Cheers,
Tom

Reply via email to