From 9effb48c059b81b8fc18ab537dee9984e1197d58 Mon Sep 17 00:00:00 2001 From: Bapiraju Alla Date: Mon, 23 Nov 2020 10:36:59 +0530 Subject: [PATCH] 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 --- Kbuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kbuild b/Kbuild index 7029acfb1e28..e03db916c805 100644 --- a/Kbuild +++ b/Kbuild @@ -3560,7 +3560,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