[PATCH] b43: avoid packet losses in the dma worker code.

Rafał Miłecki zajec5 at gmail.com
Thu Dec 15 06:29:10 EST 2011


2011/12/15  <francesco.gringoli at ing.unibs.it>:
> This patch addresses a bug in the dma worker code that keeps draining
> packets even when the hardware queues are full. In such cases packets
> can not be passed down to the device and are erroneusly dropped by the
> code.
>
> This problem was already discussed here
>
> http://www.mail-archive.com/b43-dev@lists.infradead.org/msg01413.html
>
> and acknowledged by Michael.
>
> The patch also introduces separate workers for each hardware queues
> and dedicated buffers where storing packets from mac80211 before sending
> them down to the hardware.

Have you considered just a one worked iterating over queues?

I'm not sure if it's efficient to have so many workers, each can be
stopped&resumed, each is taking wl mutex...

-- 
Rafał



More information about the b43-dev mailing list