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

From: David Miller
Date: Tue Nov 18 2008 - 02:01:10 EST


From: Eric Dumazet <dada1@xxxxxxxxxxxxx>
Date: Tue, 18 Nov 2008 06:35:46 +0100

> 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...

True.

--
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/