[ofa-general] Re: [PATCH 2/3][NET_BATCH] net core use batching

Patrick McHardy kaber at trash.net
Mon Oct 1 03:42:28 PDT 2007


jamal wrote:
> +static inline int
> +dev_requeue_skbs(struct sk_buff_head *skbs, struct net_device *dev,
> +	       struct Qdisc *q)
> +{
> +
> +	struct sk_buff *skb;
> +
> +	while ((skb = __skb_dequeue(skbs)) != NULL)
> +		q->ops->requeue(skb, q);


->requeue queues at the head, so this looks like it would reverse
the order of the skbs.





More information about the general mailing list