On 05 Dec 2006 09:29:52 +0200 Andrew Victor <[EMAIL PROTECTED]> wrote:
> hi Stephen, > > > Use netdev_alloc_skb instead. It sets skb->dev so you don't have to. > > netdev_alloc_skb() seems to cause 2 function calls [__netdev_alloc_skb() > and __alloc_skb()], instead of just 1 for the dev_alloc_skb() case. > It might be more efficient if the driver manually sets skb->dev. That is trivial, and netdev_alloc_skb() is setup to handle other issues in future. -- Stephen Hemminger <[EMAIL PROTECTED]> - 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