lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 9 Sep 2010 19:32:28 +0200
From:	Richard Cochran <richardcochran@...il.com>
To:	Eric Dumazet <eric.dumazet@...il.com>
Cc:	Ingo Kofler <ikofler@....uni-klu.ac.at>, netdev@...r.kernel.org
Subject: Re: Problems obtaining software TX timestamps

On Thu, Sep 09, 2010 at 04:02:38PM +0200, Eric Dumazet wrote:
> Should drivers call it at start_xmit() time, or at tx completion time ?

If I could tell you that, I could also describe the sound of one hand
clapping.

IMHO, it should be done as immediately after the buffer has been
handed off to the hardware. Not all MACs have a completion method, so
that would at least make the "rule" consistent.

In general, the goals of high volume and timestamp accuracy are in
conflict (unless you have HW timestamping). If users are relying on SW
timestamping, then they should be aware of the fact that high network
traffic will spoil their fun.

Having said that, I don't know enough about all the different kinds of
MACs out there to really answer the question definitively.

Richard
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ