Jelajahi Sumber

qcacld-3.0: Enable rx descriptor nbuf sanity for perf build

Enable the sanity check for rx descriptor nbuf
even for the perf build.
Also enable the rx rings history.

Change-Id: Ib127029009d0657ea51d3592af6a42f3de210c16
CRs-Fixed: 2739120
Rakesh Pillai 4 tahun lalu
induk
melakukan
9cde7595c4
2 mengubah file dengan 3 tambahan dan 1 penghapusan
  1. 1 0
      Kbuild
  2. 2 1
      configs/default_defconfig

+ 1 - 0
Kbuild

@@ -3321,6 +3321,7 @@ cppflags-$(CONFIG_QCACLD_RX_DESC_MULTI_PAGE_ALLOC) += -DRX_DESC_MULTI_PAGE_ALLOC
 cppflags-$(CONFIG_SAR_SAFETY_FEATURE) += -DSAR_SAFETY_FEATURE
 
 cppflags-$(CONFIG_WLAN_FEATURE_DP_EVENT_HISTORY) += -DWLAN_FEATURE_DP_EVENT_HISTORY
+cppflags-$(CONFIG_WLAN_FEATURE_DP_RX_RING_HISTORY) += -DWLAN_FEATURE_DP_RX_RING_HISTORY
 cppflags-$(CONFIG_WLAN_DP_PER_RING_TYPE_CONFIG) += -DWLAN_DP_PER_RING_TYPE_CONFIG
 cppflags-$(CONFIG_WLAN_CE_INTERRUPT_THRESHOLD_CONFIG) += -DWLAN_CE_INTERRUPT_THRESHOLD_CONFIG
 cppflags-$(CONFIG_SAP_DHCP_FW_IND) += -DSAP_DHCP_FW_IND

+ 2 - 1
configs/default_defconfig

@@ -990,7 +990,6 @@ ifeq ($(CONFIG_SLUB_DEBUG_ON), y)
 	CONFIG_SCHED_HISTORY_SIZE := 256
 	CONFIG_TALLOC_DEBUG := y
 	CONFIG_UNIT_TEST := y
-	CONFIG_RX_DESC_DEBUG_CHECK:= y
 	CONFIG_REGISTER_OP_DEBUG := y
 	CONFIG_ENABLE_QDF_PTR_HASH_DEBUG := y
 endif
@@ -1007,7 +1006,9 @@ ifeq ($(CONFIG_LITHIUM), 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
 	endif
+	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