소스 검색

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);
 }
 
 /*