DPDK patches and discussions
 help / color / mirror / Atom feed
* Getting useful Rx timestamps for packet capture
@ 2024-09-19 21:48 Stephen Hemminger
  0 siblings, 0 replies; only message in thread
From: Stephen Hemminger @ 2024-09-19 21:48 UTC (permalink / raw)
  To: dev

Current DPDK support for timestamp is device dependent.
This is bad/broken for things like packet capture which
could be using the timestamp to get more accurate data into
the capture file.

Linux network timestamps are in timespec which is in nano
seconds since 1/1/1970. Pcapng typically uses 64 bit nanoseconds
since 1/1/1970.

It would be best if the drivers all did the conversion to
a standard format (ns since 1/1/1970). If the value read from
the hardware is in other units, then it should be scaled
in the PMD

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-09-19 21:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-19 21:48 Getting useful Rx timestamps for packet capture Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).