qcacmn: Add WAR to skip status ring entry
STATUS_BUFFER_DONE tlv written in first word for a status buffer indicates that DMA is done for that status ring entry. In existing implementation, for a status ring entry if STATUS_BUFFER_DONE tlv is not written by HW, we poll on to status ring entry until DMA is done by HW. During lmac reset it may happnen that HW will not write STATUS_BUFFER_DONE tlv in status buffer, in that case we end up polling infinitely leading to backpressure on monitor status ring. As per MAC team's suggestion, when HP + 1 entry is peeked and if DMA is not done and if HP + 2 entry's DMA done is set, replenish HP + 1 entry and start processing in next interrupt. If HP + 2 entry's DMA done is not set, poll onto HP + 1 entry DMA done to be set. CRs-Fixed: 2740988 Change-Id: Ieef667f0bb4a47e74fc320c93243c637409f47f0
This commit is contained in:
@@ -6350,6 +6350,8 @@ dp_print_pdev_rx_mon_stats(struct dp_pdev *pdev)
|
||||
rx_mon_stats->dest_mpdu_done);
|
||||
DP_PRINT_STATS("tlv_tag_status_err_cnt = %u",
|
||||
rx_mon_stats->tlv_tag_status_err);
|
||||
DP_PRINT_STATS("mon status DMA not done WAR count= %u",
|
||||
rx_mon_stats->status_buf_done_war);
|
||||
DP_PRINT_STATS("dest_mpdu_drop_cnt = %d",
|
||||
rx_mon_stats->dest_mpdu_drop);
|
||||
DP_PRINT_STATS("dup_mon_linkdesc_cnt = %d",
|
||||
|
مرجع در شماره جدید
Block a user