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
This commit is contained in:

committed by
Madan Koyyalamudi

parent
224f008ca3
commit
9988a35c3f
@@ -4421,7 +4421,7 @@ more_data:
|
|||||||
dp_srng_dst_inv_cached_descs(soc, hal_ring_hdl, num_avail_for_reap);
|
dp_srng_dst_inv_cached_descs(soc, hal_ring_hdl, num_avail_for_reap);
|
||||||
|
|
||||||
/* Find head descriptor from completion ring */
|
/* 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);
|
tx_comp_hal_desc = dp_srng_dst_get_next(soc, hal_ring_hdl);
|
||||||
if (qdf_unlikely(!tx_comp_hal_desc))
|
if (qdf_unlikely(!tx_comp_hal_desc))
|
||||||
|
Reference in New Issue
Block a user