Messages in this thread | | | From | Ingo Oeser <> | Subject | Re: Fire Engine?? | Date | Thu, 27 Nov 2003 13:16:03 +0100 |
| |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Wednesday 26 November 2003 23:58, Andi Kleen wrote: > On Wed, 26 Nov 2003 22:34:10 +0100 > Arjan van de Ven <arjanv@redhat.com> wrote: > > question: do we need a timestamp for every packet or can we do one > > timestamp per irq-context entry ? (eg one timestamp at irq entry time we > > do anyway and keep that for all packets processed in the softirq) > > If people want the timestamp they usually want it to be accurate > (e.g. for tcpdump etc.). of course there is already a lot of jitter > in this information because it is done relatively late in the device > driver (long after the NIC has received the packet) > > Just most people never care about this at all....
Yes, these people not caring just open a SOCK_STREAM or SOCK_DGRAM. I don't see any field in msghdr, which contains the time.
Other people have packet sockets (or other special stuff) opened, which is usally bound to a device or to a special RX/TX path. So we know, which device does need it and which not.
If in doubt, there could be an sysctl option for exact time per device or for all.
But I'm not really that familiar with the networking code, so please ignore my ignorance on any issues here.
Regards
Ingo Oeser
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/xesDU56oYWuOrkARAr1sAJ9h/EywUCb9wGVCZiW9GbivMiEVsACghj74 dE4EdzeW84U7QcMi/o+Q9qE= =70Cm -----END PGP SIGNATURE-----
- 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/
| |