瀏覽代碼

qcacmn: Move NAPI stats to workqueue

When back pressure event comes from FW print NAPI stats in worker
theread to avoid cascading the issue by causing more latency in
processing the CE rings, due to the prints.

Change-Id: Ic846e06ae4b47f8ad46b269c8a175db7ed46b9bf
Vinay Adella 4 年之前
父節點
當前提交
d86a4a60a2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dp/wifi3.0/dp_htt.c

+ 1 - 1
dp/wifi3.0/dp_htt.c

@@ -4821,7 +4821,6 @@ static void dp_htt_bkp_event_alert(u_int32_t *msg_word, struct htt_soc *soc)
 	}
 
 	dp_queue_ring_stats(pdev);
-	dp_print_napi_stats(pdev->soc);
 }
 
 #ifdef WLAN_FEATURE_PKT_CAPTURE_V2
@@ -6200,6 +6199,7 @@ static void dp_bk_pressure_stats_handler(void *context)
 			       soc_srngs_state->seq_num);
 		qdf_mem_free(soc_srngs_state);
 	}
+	dp_print_napi_stats(pdev->soc);
 }
 
 /*