瀏覽代碼

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
Li Feng 2 年之前
父節點
當前提交
980420444e
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Kbuild

+ 2 - 0
Kbuild

@@ -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