On Fri, 2008-11-28 at 21:49 +0200, Kalle Valo wrote: > + /* always wake queues to avoid having them stopped forever */ > + netif_tx_wake_all_queues(local->mdev); I think we really need to think about keeping track of _who_ wanted the queues stopped now... We have a number of users of stopping queues now: * driver, obviously * scanning code * PS code * ..? So when the driver wants a queue stopped, but the PS code wakes them up, the driver will end up having to drop a packet, which isn't really good. We really need to keep track, for each queue, who wants it stopped/started and then only start the real queue if all the code consents. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part