On Fri, Oct 18, 2002 at 06:21:37PM +0300, Petri Helenius wrote:
...
> Luigi´s polling work would be useful here. That would lead to incorrect
> timestamps
> on the packets, though?

polling introduce an extra uncertainty which might be as large as
an entire clock tick, yes.

But even with interrupts, you cannot trust the time when the interrupt
driver is run -- there are cases where an ISR is delayed by 10ms or more.
And even when it runs, it might take quite a bit of time (up to a
few 100's of microseconds) to drain the receive queue from packets
received earlier.

in normal cases, timestamps are reasonably accurate in both cases.
In special cases, the error induced by having interrupts blocked
causes errors which are much larger than polling alone.

        cheers
        luigi

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to