* [Intel-wired-lan] Out-of-order HW TX timestamps
@ 2016-11-15 9:59 Miroslav Lichvar
0 siblings, 0 replies; only message in thread
From: Miroslav Lichvar @ 2016-11-15 9:59 UTC (permalink / raw)
To: intel-wired-lan
Hi,
I'm trying to understand a problem with HW timestamping that was
reported for an i350 NIC and kernel 4.4.26. I'm not sure if this is
actually a kernel/driver/HW bug or rather the application (an NTP
implementation) has unreasonable expections.
The problem seems to be that the NTP client occasionally receives a
response from the server before the HW TX timestamp of the request is
available in the error queue and the offset is calculated from an
inaccurate TX timestamp. The server is a HW NTP appliance which
responds very quickly (just few microseconds).
Are messages with TX timestamps from the error queue expected to lag
behind actual messages? The same socket is used for sending and
receiving. The messages are processed asynchronously. As a test, I
suggested to add a usleep(100) call after sendmsg() to give the
message with TX timestamp more time to get in the error queue, but it
didn't help.
I didn't see this problem in my testing with i210, 82579LM and some
non-Intel cards, but the NTP servers I have are much slower. I can ask
the user to try a newer kernel if you think this this is not how it's
supposed to work and there were some related changes recently. In a
quick search through git log I didn't notice anything.
--
Miroslav Lichvar
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-11-15 9:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-15 9:59 [Intel-wired-lan] Out-of-order HW TX timestamps Miroslav Lichvar
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.