Gagan Arneja <[EMAIL PROTECTED]> wrote on 05/11/2007 01:13:53 AM: > Also, I think, you don't have to chain skbs, they're already chained in > Qdisc->q. All you have to do is take the whole q and try to shove it > at the device hoping for better results. But then, if you have rather > big backlog, you run the risk of reordering packets if you have to requeue.
I haven't seen reordering packets (I did once when I was having a bug in the requeue code, some TCP messages on receiver indicating packets out of order). When a send fails, the packet are requeued in reverse (go to end of the failed skb and traverse back to the failed skb and requeue each skb). Since new inserts go to the end, the queue is guaranteed to be in order. Thanks, - KK - 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