From 3af8bd05e86b592ac20def75150b2d4e3846f903 Mon Sep 17 00:00:00 2001 From: Sravan Goud Date: Wed, 13 Nov 2019 18:27:50 +0530 Subject: [PATCH] qcacmn: Increase the napi scale for slub debug builds UMAC reo full condition is seen in slub debug builds in case of DL throughput traffic. This is due to host process only 64 packets per NAPI schedule in case of slub debug builds where in case of perf builds budget is of scale 4 times. Also the time between two napi schedules is in order of milliseconds which accounts for the delay of host reo ring processing. So increase the napi budget scale to 3 times which make sures host process enough packets per napi schedule. Change-Id: I3e134f31277a72056f3d7d5433ed1adeefa433fa CRs-Fixed: 2563595 --- hif/inc/hif.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hif/inc/hif.h b/hif/inc/hif.h index c7a07e7741..ae406152ce 100644 --- a/hif/inc/hif.h +++ b/hif/inc/hif.h @@ -122,7 +122,7 @@ struct CE_state; #ifndef NAPI_YIELD_BUDGET_BASED #ifdef HIF_CONFIG_SLUB_DEBUG_ON -#define QCA_NAPI_DEF_SCALE_BIN_SHIFT 1 +#define QCA_NAPI_DEF_SCALE_BIN_SHIFT 3 #else #ifndef QCA_NAPI_DEF_SCALE_BIN_SHIFT #define QCA_NAPI_DEF_SCALE_BIN_SHIFT 4