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

From: Patrick McHardy <[email-masked]>
Date: Mon, 01 Oct 2007 12:42:28 +0200

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.