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
| ||
|
Date: Mon, 20 Oct 2008 09:35:14 +0200 From: Patrick Ohly <patrick.ohly@...el.com> To: Oliver Hartkopp <oliver@...tkopp.net> Cc: Eric Dumazet <dada1@...mosbay.com>, "netdev@...r.kernel.org" <netdev@...r.kernel.org>, Octavian Purdila <opurdila@...acom.com>, Stephen Hemminger <shemminger@...tta.com>, Ingo Oeser <netdev@...eo.de>, Andi Kleen <ak@...ux.intel.com>, "Ronciak, John" <john.ronciak@...el.com> Subject: Re: hardware time stamps + existing time stamp usage On Sat, 2008-10-18 at 04:10 -0600, Oliver Hartkopp wrote: > Eric Dumazet wrote: > > Oliver Hartkopp a écrit : > >> Eric Dumazet wrote: > >> If so i would tend to fill both (system time and hw timestamp) on > >> driver level into the skb and then decide on socket level what to > >> push into user space as you suggested above. > > > > Well, this would enlarge skb structure by 8 bytes, since you cannot use > > same tstamp location to fille both 8 bytes values. > > This is probably the easy way, but very expensive... > > IMHO this is the only way to fulfill the given requirements. > Maybe we should introduce a new kernel config option for hw tstamps then ... The last time this topic was discussed the initial proposal also was to add another time stamp, pretty much for the same reasons. This approach was discarded because enlarging a common structure like skb for rather obscure ("Objection, your honor!" - "Rejected.") use cases is not acceptable. A config option doesn't help much either because to be useful for distribution users, it would have to be on by default. -- Best Regards, Patrick Ohly The content of this message is my personal opinion only and although I am an employee of Intel, the statements I make here in no way represent Intel's position on the issue, nor am I authorized to speak on behalf of Intel on this matter. -- 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