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
This commit is contained in:
Vinay Adella
2021-06-28 20:33:16 +05:30
zatwierdzone przez Madan Koyyalamudi
rodzic ebadbe6b7f
commit d86a4a60a2

Wyświetl plik

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