From 821102a4d1730b4f5dc28685461d2bcc0fe6b3b6 Mon Sep 17 00:00:00 2001 From: Yeshwanth Sriram Guntuka Date: Wed, 21 Apr 2021 12:30:04 +0530 Subject: [PATCH] qcacld-3.0: Modify few ring and desc sizes for prealloc Modify few ring and descriptor sizes for prealloc to support the maximum values configured via ini. Change-Id: Ifc2976c3f9ab271c7740d4a97470d455a8ee1ba7 CRs-Fixed: 2929143 --- core/dp/txrx3.0/dp_txrx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/dp/txrx3.0/dp_txrx.c b/core/dp/txrx3.0/dp_txrx.c index 98735f66e312..8d9f5d012b13 100644 --- a/core/dp/txrx3.0/dp_txrx.c +++ b/core/dp/txrx3.0/dp_txrx.c @@ -199,16 +199,16 @@ int dp_rx_tm_get_pending(ol_txrx_soc_handle soc) #define REO_DST_RING_SIZE 1024 /* Num elements in TCL Data ring */ -#define TCL_DATA_RING_SIZE 3072 +#define TCL_DATA_RING_SIZE 5120 /* Num elements in WBM2SW ring */ -#define WBM2SW_RELEASE_RING_SIZE 4096 +#define WBM2SW_RELEASE_RING_SIZE 8192 /* Num elements in WBM Idle Link */ #define WBM_IDLE_LINK_RING_SIZE (32 * 1024) /* Num TX desc in TX desc pool */ -#define DP_TX_DESC_POOL_SIZE 4096 +#define DP_TX_DESC_POOL_SIZE 6144 /** * struct dp_consistent_prealloc - element representing DP pre-alloc memory