diff options
author | Johannes Berg <johannes.berg@intel.com> | 2020-04-25 13:04:50 +0300 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2020-05-08 09:52:44 +0300 |
commit | 92f78d4b15a40f6b055be73bbecc2e79b10638f0 (patch) | |
tree | 7ac152eea6f7083795fe800cbf45d95e16548323 /drivers/net/wireless/intel/iwlwifi/mvm/time-event.c | |
parent | 752d95a2bf6fe207d612fc1febd621df714f5dde (diff) |
iwlwifi: mvm: attempt to allocate smaller queues
We currently attempt to allocate queues that are 512 entries long,
but that requires 32 KiB memory, which may not be available, at
least not contiguously. If we fail to allocate, attempt to use a
smaller queue all the way down to 16 entries (which fit into a
single page).
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20200425130140.c8548d7cc08a.I5059c410e628726cbce98d6311b690c632d00f97@changeid
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/time-event.c')
0 files changed, 0 insertions, 0 deletions