qcacmn: reduce log level for mon status ring tlv-tag error
STATUS_DONE is missing sometimes in monitor status ring, but logging for each entry in the ring increases the time for which the hal_ring access lock is held. If there are many entries in the monitor status ring, this can lead to the hal ring access lock being held for too long and cause inconsistencies. Reduce the logging level of the tlv tag STATUS_DONE errors and have a counter for the cases when this happens. CRs-Fixed: 2502422 Change-Id: Ica77ce62bbe2c6b7691d638ac44ab0452dd2fd97
This commit is contained in:
@@ -1205,10 +1205,9 @@ dp_rx_mon_status_srng_process(struct dp_soc *soc, uint32_t mac_id,
|
||||
uint32_t hp, tp;
|
||||
hal_get_sw_hptp(hal_soc, mon_status_srng,
|
||||
&tp, &hp);
|
||||
QDF_TRACE(QDF_MODULE_ID_DP,
|
||||
QDF_TRACE_LEVEL_ERROR,
|
||||
"[%s][%d] status not done - hp:%u, tp:%u",
|
||||
__func__, __LINE__, hp, tp);
|
||||
dp_info_rl("tlv tag status error hp:%u, tp:%u",
|
||||
hp, tp);
|
||||
pdev->rx_mon_stats.tlv_tag_status_err++;
|
||||
/* WAR for missing status: Skip status entry */
|
||||
hal_srng_src_get_next(hal_soc, mon_status_srng);
|
||||
continue;
|
||||
|
Reference in New Issue
Block a user