rt2x00: Increase queue size
Without the preallocated DMA we can now safely increase the queue size withotu negative impact on the memory requirements of rt2x00. Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
c1d35dfa0f
commit
f529932ce2
@@ -42,15 +42,18 @@
|
|||||||
/**
|
/**
|
||||||
* DOC: Number of entries per queue
|
* DOC: Number of entries per queue
|
||||||
*
|
*
|
||||||
* After research it was concluded that 12 entries in a RX and TX
|
* Under normal load without fragmentation 12 entries are sufficient
|
||||||
* queue would be sufficient. Although this is almost one third of
|
* without the queue being filled up to the maximum. When using fragmentation
|
||||||
* the amount the legacy driver allocated, the queues aren't getting
|
* and the queue threshold code we need to add some additional margins to
|
||||||
* filled to the maximum even when working with the maximum rate.
|
* make sure the queue will never (or only under extreme load) fill up
|
||||||
|
* completely.
|
||||||
|
* Since we don't use preallocated DMA having a large number of queue entries
|
||||||
|
* will have only minimal impact on the memory requirements for the queue.
|
||||||
*/
|
*/
|
||||||
#define RX_ENTRIES 12
|
#define RX_ENTRIES 24
|
||||||
#define TX_ENTRIES 12
|
#define TX_ENTRIES 24
|
||||||
#define BEACON_ENTRIES 1
|
#define BEACON_ENTRIES 1
|
||||||
#define ATIM_ENTRIES 1
|
#define ATIM_ENTRIES 8
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* enum data_queue_qid: Queue identification
|
* enum data_queue_qid: Queue identification
|
||||||
|
Reference in New Issue
Block a user