Skip to contentSkip to conversation

ath11k: Increase the tx completion ring size

PATCH In review Sriram R 2 participants 3 messages Mar 30, 2020 – Apr 6, 2020 Qualcomm Atheros ATH11K wireless driver

lore
Share & tools
lore

Sriram R

author
#0 lore raw

PATCH 1/1 ath11k: Increase the tx completion ring size

Increase the tx completion ring size to 0x8000.Also set the idr size to be same as the completion ring size.

This avoids backpressure on the TX Completion and corresponding TCL Data ring during high data traffic.

---
 drivers/net/wireless/ath/ath11k/dp.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/wireless/ath/ath11k/dp.h +2 -2
index 551f9c9..d4e19dc 100644
@@ -169,8 +169,8 @@ struct ath11k_pdev_dp {
 
 #define DP_WBM_RELEASE_RING_SIZE	64
 #define DP_TCL_DATA_RING_SIZE		512
-#define DP_TX_COMP_RING_SIZE		8192
-#define DP_TX_IDR_SIZE			(DP_TX_COMP_RING_SIZE << 1)
+#define DP_TX_COMP_RING_SIZE		32768
+#define DP_TX_IDR_SIZE			DP_TX_COMP_RING_SIZE
 #define DP_TCL_CMD_RING_SIZE		32
 #define DP_TCL_STATUS_RING_SIZE		32
 #define DP_REO_DST_RING_MAX		4
Signature · 6 lines
2.7.4

_______________________________________________
ath11k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath11k
#1 lore raw
Quoted 8 lines · Sriram R

Increase the tx completion ring size to 0x8000.Also set the idr size to be same as the completion ring size.

This avoids backpressure on the TX Completion and corresponding TCL Data ring during high data traffic.

Patch applied to ath-next branch of ath.git, thanks.

bdef56a36eea ath11k: Increase the tx completion ring size

Signature · 8 lines
https://patchwork.kernel.org/patch/11465275/

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

_______________________________________________
ath11k mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/ath11k
#2 lore raw
In reply to Sriram R
Quoted 8 lines · Sriram R

Increase the tx completion ring size to 0x8000.Also set the idr size to be same as the completion ring size.

This avoids backpressure on the TX Completion and corresponding TCL Data ring during high data traffic.

Patch applied to ath-next branch of ath.git, thanks.

bdef56a36eea ath11k: Increase the tx completion ring size

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

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