Browse Source

qcacld-3.0: Disable RX packet dropping and desc sanity check

Currntly RX_DESC_DEBUG_CHECK and FEATURE_ALLOW_PKT_DROPPING is enabled
by default for KIWI, extra check per msdu will take lot CPU cycles and
increase RX desc size.

disable them for perf build on KIWI.

Change-Id: I1d75f4f93a151d931321e7a327b5fd569bdbb987
CRs-Fixed: 3265714
Jinwei Chen 2 years ago
parent
commit
5262eabf66
1 changed files with 13 additions and 15 deletions
  1. 13 15
      configs/default_defconfig

+ 13 - 15
configs/default_defconfig

@@ -1299,20 +1299,21 @@ ifeq ($(CONFIG_UNIT_TEST), y)
 	CONFIG_FEATURE_WLM_STATS := y
 endif
 
-ifeq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM)))
-	ifeq ($(CONFIG_SLUB_DEBUG_ON), y)
-		CONFIG_HIF_CE_DEBUG_DATA_BUF := y
-		CONFIG_WLAN_RECORD_RX_PADDR := y
-		CONFIG_HIF_CPU_PERF_AFFINE_MASK := y
-		CONFIG_WLAN_FEATURE_DP_RX_RING_HISTORY := y
-		CONFIG_WLAN_FEATURE_DP_TX_DESC_HISTORY := y
+ifeq ($(CONFIG_LITHIUM), y)
+	CONFIG_RX_DESC_DEBUG_CHECK:= y
+	CONFIG_ALLOW_PKT_DROPPING := y
+endif
+
+ifeq ($(CONFIG_BERYLLIUM), y)
+	ifeq (y,$(filter y,$(CONFIG_CNSS2_DEBUG) $(CONFIG_SLUB_DEBUG_ON)))
+		CONFIG_RX_DESC_DEBUG_CHECK:= y
 		CONFIG_ALLOW_PKT_DROPPING := y
-		CONFIG_REO_QDESC_HISTORY := y
-		CONFIG_DP_TX_HW_DESC_HISTORY := y
-		CONFIG_QDF_NBUF_HISTORY_SIZE := 8192
-		CONFIG_DP_RX_REFILL_CPU_PERF_AFFINE_MASK := y
+		CONFIG_WLAN_FEATURE_DP_MON_STATUS_RING_HISTORY := y
 	endif
-	ifeq ($(CONFIG_CNSS2_DEBUG), y)
+endif
+
+ifeq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM)))
+	ifeq (y,$(filter y,$(CONFIG_CNSS2_DEBUG) $(CONFIG_SLUB_DEBUG_ON)))
 		CONFIG_HIF_CE_DEBUG_DATA_BUF := y
 		CONFIG_WLAN_RECORD_RX_PADDR := y
 		CONFIG_HIF_CPU_PERF_AFFINE_MASK := y
@@ -1322,13 +1323,10 @@ ifeq (y,$(filter y,$(CONFIG_LITHIUM) $(CONFIG_BERYLLIUM)))
 		CONFIG_DP_TX_HW_DESC_HISTORY := y
 		CONFIG_QDF_NBUF_HISTORY_SIZE := 8192
 		CONFIG_DP_RX_REFILL_CPU_PERF_AFFINE_MASK := y
-		CONFIG_WLAN_FEATURE_DP_MON_STATUS_RING_HISTORY := y
 	endif
 	CONFIG_DP_HW_TX_DELAY_STATS_ENABLE := y
 	CONFIG_WLAN_FEATURE_DP_EVENT_HISTORY := y
-	CONFIG_ALLOW_PKT_DROPPING := y
 	CONFIG_DYNAMIC_RX_AGGREGATION := y
-	CONFIG_RX_DESC_DEBUG_CHECK:= y
 	CONFIG_WLAN_SUPPORT_DATA_STALL := y
 	CONFIG_WLAN_DP_PER_RING_TYPE_CONFIG := y
 	CONFIG_WLAN_CE_INTERRUPT_THRESHOLD_CONFIG := y