diff mbox series

ath10k: Modify CE4 src buffer entries to 2048 for WCN3990

Message ID 20190302043605.27626-1-govinds@codeaurora.org (mailing list archive)
State Accepted
Commit 889ab61d9dc1042c6707582da1c95b6dae5632ee
Delegated to: Kalle Valo
Headers show
Series ath10k: Modify CE4 src buffer entries to 2048 for WCN3990 | expand

Commit Message

Govind Singh March 2, 2019, 4:36 a.m. UTC
CE4 is host to target HTT tx pipe, tx completion are not served
on time when CPU is loaded and this cause ce src ring full condition
due to less no of src buffer entries.

To mitigate the issue increase CE4 src buffer entries to 2048.

Testing:
        Tested on QCS404 platform(WCN3990 HW)
        Tested FW: WLAN.HL.3.1-00784-QCAHLSWMTPLZ-1

Signed-off-by: Govind Singh <govinds@codeaurora.org>
---
 drivers/net/wireless/ath/ath10k/snoc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Kalle Valo May 7, 2019, 1:41 p.m. UTC | #1
Govind Singh <govinds@codeaurora.org> wrote:

> CE4 is host to target HTT tx pipe, tx completion are not served
> on time when CPU is loaded and this cause ce src ring full condition
> due to less no of src buffer entries.
> 
> To mitigate the issue increase CE4 src buffer entries to 2048.
> 
> Testing:
>         Tested on QCS404 platform(WCN3990 HW)
>         Tested FW: WLAN.HL.3.1-00784-QCAHLSWMTPLZ-1
> 
> Signed-off-by: Govind Singh <govinds@codeaurora.org>
> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>

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

889ab61d9dc1 ath10k: Modify CE4 src buffer entries to 2048 for WCN3990
diff mbox series

Patch

diff --git a/drivers/net/wireless/ath/ath10k/snoc.c b/drivers/net/wireless/ath/ath10k/snoc.c
index 7fa0f5c1d070..f0ea3c494fe6 100644
--- a/drivers/net/wireless/ath/ath10k/snoc.c
+++ b/drivers/net/wireless/ath/ath10k/snoc.c
@@ -176,7 +176,7 @@  static struct ce_attr host_ce_config_wlan[] = {
 	/* CE4: host->target HTT */
 	{
 		.flags = CE_ATTR_FLAGS | CE_ATTR_DIS_INTR,
-		.src_nentries = 256,
+		.src_nentries = 2048,
 		.src_sz_max = 256,
 		.dest_nentries = 0,
 		.send_cb = ath10k_snoc_htt_tx_cb,