On Thursday 09 February 2006 00:07, David Stevens wrote: > From: Stephen Hemminger <[EMAIL PROTECTED]> > > > IMHO converting skb->dev to skb->devindex and using ifindex sounds best. > > It gets rid of the need to refcount as much but keeps the safety from > > buggy protocols. Ipv6 could probably use ifindex as well. > > A couple years ago, we identified a performance problem in > IPv6 because it had the index and not the dev in a per-packet piece > of code. The result was spending a lot of time searching the device > list just to increment a (required) per-device MIB counter. > I don't know if that's still there or not, but of course > those sorts of implications should be considered, too.
It's using a hash these days. -Andi - 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