qcacld-3.0: Add timeout of NAPI polling for single MSI case

Observed NAPI of REO2SW1 hard to complete caused by slow CPU/schedule
on REO2SW1, hence IRQ of REO2SW1 keep disabled during the polling which
impact other MSI as well in single MSI case, until hit REO2TCL timeout
and crash.

The fix is complete the dp rx NAPI poll and re-enable the irq if the
irq disabled for long time.

Change-Id: Iad53b39c8b8d6a99a9006149e7579f8dc3c93e39
CRs-Fixed: 3134851
This commit is contained in:
Li Feng
2022-11-18 14:23:17 +08:00
committed by Madan Koyyalamudi
parent a30758ecca
commit 980420444e

2
Kbuild
View File

@@ -4748,6 +4748,8 @@ ccflags-y += -DWLAN_OBJMGR_RATELIMIT_THRESH=0
# WIN.
ccflags-y += -DWLAN_SCHED_REDUCTION_LIMIT=0
ccflags-y += -DIRQ_DISABLED_MAX_DURATION_NS=100000000
# Determine if we are building against an arm architecture host
ifeq ($(findstring arm, $(ARCH)),)
ccflags-y += -DWLAN_HOST_ARCH_ARM=0