From 1033b6bcf5a60a485eb0199ff2c2f366bf147b32 Mon Sep 17 00:00:00 2001 From: "Pamidipati, Vijay" Date: Mon, 19 Jun 2017 10:15:35 +0530 Subject: [PATCH] qcacmn: Increase Tx descriptor pool size to meet single client peak KPIs Current Tx Descriptor pool size is tuned for emulation; Increase the pool size to 16K to ensure peak performance in DL for TCP and UDP. Change-Id: Ifc253d01a8f2b083a8ca4239611f1209726d7af5 CRs-Fixed: 2004658 --- wlan_cfg/wlan_cfg.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wlan_cfg/wlan_cfg.c b/wlan_cfg/wlan_cfg.c index 72a6a341af..9c1ab31fbe 100644 --- a/wlan_cfg/wlan_cfg.c +++ b/wlan_cfg/wlan_cfg.c @@ -38,8 +38,6 @@ #define RXDMA_MONITOR_DEST_RING_SIZE 2048 #define RXDMA_MONITOR_STATUS_RING_SIZE 2048 -#define WLAN_CFG_NUM_TX_DESC 1024 -#define WLAN_CFG_NUM_TX_EXT_DESC 1024 #ifdef TX_PER_PDEV_DESC_POOL #define WLAN_CFG_NUM_TX_DESC_POOL MAX_PDEV_CNT @@ -82,10 +80,14 @@ #define WLAN_CFG_PER_PDEV_RX_RING 0 #define NUM_RXDMA_RINGS_PER_PDEV 2 #define WLAN_LRO_ENABLE 1 +#define WLAN_CFG_NUM_TX_DESC 1024 +#define WLAN_CFG_NUM_TX_EXT_DESC 1024 #else #define WLAN_CFG_PER_PDEV_RX_RING 1 #define NUM_RXDMA_RINGS_PER_PDEV 1 #define WLAN_LRO_ENABLE 0 +#define WLAN_CFG_NUM_TX_DESC (16 << 10) +#define WLAN_CFG_NUM_TX_EXT_DESC (8 << 10) #endif #ifdef WLAN_RX_HASH