qcacmn: fix dp_rx_process_be dead loop issue

For T-put test case, if near_full IRQ is fired, ring_near_full
flag will be set and host will always reap reo2sw ring as much
as possible, but if quota 0, this will lead to dead loop
in dp_rx_process_be.

stop reaping reo2sw ring if quota is 0 even ring_near_full is set.

Change-Id: Ifea885162be3ccc6ae0515fc3c2538c459372887
CRs-Fixed: 3067231
This commit is contained in:
Jinwei Chen
2021-11-03 06:02:04 -07:00
committed by Madan Koyyalamudi
父節點 9ba3c35fdb
當前提交 dcdd40116f

查看文件

@@ -769,7 +769,7 @@ done:
*
* One more loop will move the state to normal processing and yield
*/
if (ring_near_full)
if (ring_near_full && quota)
goto more_data;
if (dp_rx_enable_eol_data_check(soc) && rx_bufs_used) {