On Fri, 2006-30-06 at 19:42 +0200, Thomas Graf wrote: > * jamal <[EMAIL PROTECTED]> 2006-06-30 13:32
> > Thomas makes the claim, this can be achieved only by using an ifindex. > > And i havent been able to see how. I have a small performance problem if > > i just use ifindex. Using ifindex will eventually save 32 bits on the > > 64 bit machines. I posed the question as to which was more beneficial > > as a solution that hasnt been addressed. > > I'd appreciate if you'd stop sperading lies. > > I claimed it to be the > best solution, not the only one. Everyone agrees that it's possible > to use a pointer and take a reference in netif_receive_skb() while > it also seems obvious to most that it's not a good idea to take two > additional atomic operations in the fast path for this purpose. I thought we went past that point already - and i made it clear that the reference is _not_ taken in netif_receive_skb(). So assuming it is taken in mirred (i havent thought of where it is decremented), why would using the ifindex be better? cheers, jamal - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html