On Tue, Dec 2, 2008 at 6:26 PM, Luis R. Rodriguez <mcgrof@xxxxxxxxx> wrote: > On Tue, Dec 2, 2008 at 6:12 PM, Sujith <m.sujith@xxxxxxxxx> wrote: >> Luis R. Rodriguez wrote: >>> Interesting, I hadn't thought about stopping the queues, when would >>> they be resumed then though, or rather who? I'll a rework of this >>> ontop of more DMA fun, let me know what you think. I just tested this. >>> >> >> In TX completion, when we see that a queue is stopped, we wake up that queue >> if the depth is less than a threshold. > > Ah yeah I see that now, so this will wake it up but only if we're > processing the txq on completion. So technically speaking if we ran > out of memory on the first attempted skb, wouldn't we never resume it? OK I think I have a way to handle this too. Let me know what you think. Luis -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html