Re: eth_type_trans(): Re: [Bug #11308] tbench regression on eachkernel release from 2.6.22 -> 2.6.28

From: Eric Dumazet
Date: Tue Nov 18 2008 - 00:36:55 EST


David Miller a écrit :
From: Ingo Molnar <mingo@xxxxxxx>
Date: Mon, 17 Nov 2008 22:26:57 +0100

eth->h_proto access.

Yes, this is the first time a packet is touched on receive.

Well, not exactly, since we do a

if (is_multicast_ether_addr(eth->h_dest)) {
...}

and one of the
compare_ether_addr(eth->h_dest, {dev->dev_addr | dev->broadcast})

probably its a profiling effect...



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/