Skip to contentSkip to conversation

iwlwifi: 1000: set the TFD queue size

PATCH In review Luca Coelho 2 participants 2 messages Sep 25, 2018 – Sep 27, 2018 Intel wireless wifi link (iwlwifi)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iwlwifi: 1000: set the TFD queue size

From: Pavel Machek <[email protected]>

.max_tfd_queue_size was ommited for 1000 card serries leading to oops in swiotlb.

Fixes 7b3e42ea2ead ("iwlwifi: support multiple tfd queue max sizes for different devices")
---
 drivers/net/wireless/intel/iwlwifi/cfg/1000.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/wireless/intel/iwlwifi/cfg/1000.c +1 -0
index 591687984962..497fd766d87c 100644
@@ -51,6 +51,7 @@
 
 static const struct iwl_base_params iwl1000_base_params = {
 	.num_of_queues = IWLAGN_NUM_QUEUES,
+	.max_tfd_queue_size = 256,
 	.eeprom_size = OTP_LOW_IMAGE_SIZE,
 	.pll_cfg = true,
 	.max_ll_items = OTP_MAX_LL_ITEMS_1000,
Signature · 1 line
2.19.0
#1 lore raw
Quoted 10 lines · Luca Coelho

From: Pavel Machek <[email protected]>

.max_tfd_queue_size was ommited for 1000 card serries leading to oops in swiotlb.

Fixes 7b3e42ea2ead ("iwlwifi: support multiple tfd queue max sizes for different devices")

Patch applied to wireless-drivers.git, thanks.

3baafeffa48a iwlwifi: 1000: set the TFD queue size

Signature · 3 lines
https://patchwork.kernel.org/patch/10614047/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches