qcacmn: do not process tx comp after quota is exhausted

If number of entries available in tx comp ring are more
than quota then process number of entries as per quota

Change-Id: I6345cb6f7cee62c343d152f42beb15460ce02ef1
Cette révision appartient à :
Chaithanya Garrepalli
2021-06-14 19:17:32 +05:30
révisé par Madan Koyyalamudi
Parent 224f008ca3
révision 9988a35c3f

Voir le fichier

@@ -4421,7 +4421,7 @@ more_data:
dp_srng_dst_inv_cached_descs(soc, hal_ring_hdl, num_avail_for_reap);
/* Find head descriptor from completion ring */
while (qdf_likely(num_avail_for_reap)) {
while (qdf_likely(num_avail_for_reap--)) {
tx_comp_hal_desc = dp_srng_dst_get_next(soc, hal_ring_hdl);
if (qdf_unlikely(!tx_comp_hal_desc))