tcpdump mailing list archives

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


From: "Mcmillan, Scott A" <scott.a.mcmillan () intel com>
Date: Tue, 25 May 2010 07:58:45 -0700

Yon,

I assume you're asking about commodity NICs, not something like Endace.  

The NIC I'm most familiar with that supports general hw timestamping is the Intel 82580 Gigabit Ethernet Controller.  
It can timestamp all RX packets in hardware, but only PTP TX packets.  

Scott

-----Original Message-----
From: tcpdump-workers-owner () lists tcpdump org [mailto:tcpdump-workers-owner () lists tcpdump org] On Behalf Of yon 
ar c'hall
Sent: Tuesday, May 25, 2010 4:41 AM
To: tcpdump-workers () lists tcpdump org
Subject: Re: [tcpdump-workers] [RFC PATCH 0/2]: hw timestamp support

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.
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: