Re: [PATCH 0/2] NET: Multiple queue network device support REPOST
From: David Miller
Date: Fri Mar 09 2007 - 02:12:17 EST
From: "Waskiewicz Jr, Peter P" <peter.p.waskiewicz.jr@xxxxxxxxx>
Date: Thu, 8 Mar 2007 22:42:19 -0800
> This was taken into consideration, and I did reply that my concern for
> doing that could cause stale data in the skb if the queue mapping
> changed.
This is not a problem.
Since the ->enqueue function stores references to the SKBs,
any change of the dev->qdisc has to flush those references
somehow, and it is at that point that you can fixup the
skb queue mappings.
This happens via invoking the qdisc->ops->reset() method.
-
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/