Browse Source

qcacld-3.0: modify NAPI blacklist mechanism

The existing HIF NAPI blacklist feature uses irq_blacklist_on(off) APIs
which make a call to the userspace irq_balancer.

Replace these APIs with kernel API irq_modify_status to mark (or
unmark) the individual interrupts with IRQ_NO_BALANCING flag.
Once marked, the msm-irq-balancer will not be able to move the
CE interrupts around

Change-Id: I55b3302b11e6b3a380228d637f20def920760af1
CRs-Fixed: 1114161
Mohit Khanna 8 years ago
parent
commit
67fe5288d4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/hdd/src/wlan_hdd_napi.c

+ 1 - 1
core/hdd/src/wlan_hdd_napi.c

@@ -408,7 +408,7 @@ int hdd_display_napi_stats(void)
 	}
 	qdf_print("[NAPI %u][BL %d]:  scheds   polls   comps    done t-lim p-lim  corr napi-buckets(%d)",
 		  napid->napi_mode,
-		  hif_napi_cpu_blacklist(napid->flags, BLACKLIST_QUERY),
+		  hif_napi_cpu_blacklist(napid, BLACKLIST_QUERY),
 		  QCA_NAPI_NUM_BUCKETS);
 
 	for (i = 0; i < CE_COUNT_MAX; i++)