qcacld-3.0: Set RX_DIAG_WQ_MAX_SIZE as 1000

Currently RX_DIAG_WQ_MAX_SIZE is set to 0. Which means, there is no
limit to the number of FW diag events that can be queued for processing.
This may result in SKB memory pool is being blocked by FW diag events.

To avoid this, set RX_DIAG_WQ_MAX_SIZE default value as 1000.

Change-Id: I44c69f910a512d8f9a1aed0809c55c6d93737cb2
CRs-Fixed: 2824443
This commit is contained in:
Bapiraju Alla 2020-11-23 10:36:59 +05:30 committed by snandini
parent d77b84e69e
commit f98493aa9a

2
Kbuild
View File

@ -3630,7 +3630,7 @@ ccflags-y += -DMAX_BCN_PROBE_IN_SCAN_QUEUE=$(CONFIG_MAX_BCN_PROBE_IN_SCAN_QUEUE)
#
# Value 0 represents no limit and any non zero value represents the maximum
# size of the work queue.
CONFIG_RX_DIAG_WQ_MAX_SIZE ?= 0
CONFIG_RX_DIAG_WQ_MAX_SIZE ?= 1000
ccflags-y += -DRX_DIAG_WQ_MAX_SIZE=$(CONFIG_RX_DIAG_WQ_MAX_SIZE)
CONFIG_MGMT_DESC_POOL_MAX ?= 64