Re: How much we can trust packet timestamping

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Dec 30 2002 - 08:09:03 EST


On Mon, 2002-12-30 at 11:28, uaca@alumni.uv.es wrote:
> Hi all
>
> IMHO The problem is quite complicated because
>
> + common hardware is not designed for real time:
>
> - sends multiple PDUs within one interrupt, and can be delayed
> - Host adapter bus & infraestructure is not designed to garantee latency
> etc...

The packet can be timestamped by the hardware receiving as well as by
the kernel netif_rx code. This is actually intentional and there is
hardware that supports doing IRQ raise time sampling which the driver
can then use to get very accurate data.

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Dec 31 2002 - 22:00:16 EST