Selaa lähdekoodia

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
Yeshwanth Sriram Guntuka 4 vuotta sitten
vanhempi
sitoutus
8c5cd93a16
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 3 3
      core/dp/txrx3.0/dp_txrx.c

+ 3 - 3
core/dp/txrx3.0/dp_txrx.c

@@ -196,16 +196,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