Prechádzať zdrojové kódy

qcacmn: Increase the size of reo reinject ring

Currently when running downlink traffic with
fragmentation enabled, the SW2REO is getting
full. Increase the SW2REO ring size to 128 entries.

Change-Id: If43bc72a8cc173d44953ca367573800243b1cc5d
CRs-Fixed: 2738309
Rakesh Pillai 5 rokov pred
rodič
commit
7bad5a8ce3
2 zmenil súbory, kde vykonal 3 pridanie a 4 odobranie
  1. 1 2
      dp/wifi3.0/dp_rx_defrag.c
  2. 2 2
      wlan_cfg/cfg_dp.h

+ 1 - 2
dp/wifi3.0/dp_rx_defrag.c

@@ -1047,8 +1047,7 @@ static QDF_STATUS dp_rx_defrag_reo_reinject(struct dp_peer *peer,
 
 	ent_ring_desc = hal_srng_src_get_next(soc->hal_soc, hal_srng);
 	if (!ent_ring_desc) {
-		QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR,
-			  "HAL src ring next entry NULL");
+		dp_err_rl("HAL src ring next entry NULL");
 		return QDF_STATUS_E_FAILURE;
 	}
 

+ 2 - 2
wlan_cfg/cfg_dp.h

@@ -226,9 +226,9 @@
 #define WLAN_CFG_REO_DST_RING_SIZE_MIN 1024
 #define WLAN_CFG_REO_DST_RING_SIZE_MAX 2048
 
-#define WLAN_CFG_REO_REINJECT_RING_SIZE 32
+#define WLAN_CFG_REO_REINJECT_RING_SIZE 128
 #define WLAN_CFG_REO_REINJECT_RING_SIZE_MIN 32
-#define WLAN_CFG_REO_REINJECT_RING_SIZE_MAX 32
+#define WLAN_CFG_REO_REINJECT_RING_SIZE_MAX 128
 
 #define WLAN_CFG_RX_RELEASE_RING_SIZE 1024
 #define WLAN_CFG_RX_RELEASE_RING_SIZE_MIN 8