linux/drivers/net/wireless/intel/iwlwifi/pcie
Sara Sharon 7b5424361e iwlwifi: pcie: fine tune number of rxbs
We kick the allocator when we have 2 RBDs that don't have
attached RBs, and the allocator allocates 8 RBs meaning
that it needs another 6 RBDs to attach the RBs to.
The design is that allocator should always have enough RBDs
to fulfill requests, so we give in advance 6 RBDs to the
allocator so that when it is kicked, it gets additional 2 RBDs
and has enough RBDs.
These RBDs were taken from the Rx queue itself, meaning
that each Rx queue didn't have the maximal number of
RBDs, but MAX - 6.
Change initial number of RBDs in the system to include both
queue size and allocator reserves.
Note the multi-queue is always 511 instead of 512 to avoid a
full queue since we cannot detect this state easily enough in
the 9000 arch.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
2016-03-09 20:59:19 +02:00
..
drv.c iwlwifi: pcie: forbid RTPM on device removal 2016-03-06 21:59:48 +02:00
internal.h iwlwifi: pcie: fine tune number of rxbs 2016-03-09 20:59:19 +02:00
rx.c iwlwifi: pcie: fine tune number of rxbs 2016-03-09 20:59:19 +02:00
trans.c iwlwifi: pcie: forbid RTPM on device removal 2016-03-06 21:59:48 +02:00
tx.c iwlwifi: pcie: prevent skbs shadowing in iwl_trans_pcie_reclaim 2016-02-27 22:00:08 +02:00