Re: [PATCH] IPv4: skip loopback checksums in ip_rcv()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Miller
Date: Monday, October 19, 2009 - 5:24 pm

From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Mon, 19 Oct 2009 22:42:02 +0200


Also loopback doesn't mean anything.  That packet could
be mirrored and sent externally via packet scheduler
rules and actions.

And for this specific case, the savings are absolutely zero.

We've brought the whole damn IP header into the CPU cache and
that is the real cost.  The calculation is something like 12
instructions, maybe 6 cycles on a modern cpu, which is nothing.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] IPv4: skip loopback checksums in ip_rcv(), Torsten Schmidt, (Mon Oct 19, 12:34 pm)
Re: [PATCH] IPv4: skip loopback checksums in ip_rcv(), Eric Dumazet, (Mon Oct 19, 1:42 pm)
Re: [PATCH] IPv4: skip loopback checksums in ip_rcv(), Torsten Schmidt, (Mon Oct 19, 1:56 pm)
Re: [PATCH] IPv4: skip loopback checksums in ip_rcv(), Eric Dumazet, (Mon Oct 19, 2:10 pm)
Re: [PATCH] IPv4: skip loopback checksums in ip_rcv(), Torsten Schmidt, (Mon Oct 19, 2:34 pm)
Re: [PATCH] IPv4: skip loopback checksums in ip_rcv(), David Miller, (Mon Oct 19, 5:24 pm)