tcpdump mailing list archives

Re: [RFC PATCH 0/2]: hw timestamp support


From: "yon ar c'hall" <yon.ar.chall () gmail com>
Date: Tue, 25 May 2010 11:40:44 +0200

Hello Scott,

By the way, do you know which NICs/network controllers support HW
timestamping for all packets (not only the PTP datagrams -- IEEE 1588) ?

Yon

On Mon, May 24, 2010 at 4:26 PM, Mcmillan, Scott A <
scott.a.mcmillan () intel com> wrote:

[My apologies if this double posts.  The mail server didn't care for the
first submission.]

This patch adds the capability to select the packet timestamp source.  It
also adds support for the PACKET_TIMESTAMP Linux kernel setting to specify
the source of packet timestamps.  The corresponding Linux kernel patch is
being submitted concurrently.

A new command line option was added to tcpdump, -j, to specify the source
of the packet timestamp.  Valid options are 'raw' to use the raw NIC HW
timestamp and 'nic' to use the NIC HW timestamp transformed into the system
clock basis.  If the option is not specified, or OS or the NIC do not
support HW timestamping, a software timestamp is used (identical to the
current behavior.)

[Note: As a RFC, I'm posting this to the mailing list before submitting the
patches to SourceForge.]

Thanks,
Scott
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.

-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: