Skip to content
Commit bad69194 authored by francesco.gringoli@ing.unibs.it's avatar francesco.gringoli@ing.unibs.it Committed by John W. Linville
Browse files

b43: avoid packet losses in the dma worker code.



Following Rafal request, we verified that on "modern" CPUs using one
or more workers is equivalent. Here is patch V3 that addresses the
packet loss bug in the dma engine using only one worker.

-------

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.

Number of hardware queues is now defined in b43.h (B43_QOS_QUEUE_NUM).

Acknowledgements to Riccardo Paolillo <riccardo.paolillo@gmail.com> and
Michele Orru <michele.orru@hotmail.it>

Signed-off-by: default avatarFrancesco Gringoli <francesco.gringoli@ing.unibs.it>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 1d8d3dec
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment