qcacmn: Assertion when detecting rx desc nbuf sanity check failure

Assertion when detecting rx desc nbuf sanity check failure to get more
info in the RX refill buffer ring for default version.

Change-Id: I8d0255e2f13e2b993f5651b788f895ea06187bf9
CRs-Fixed: 2800602
This commit is contained in:
Tiger Yu
2020-10-28 15:27:21 +08:00
committed by snandini
parent c8a732e132
commit eff1069f87
2 changed files with 4 additions and 1 deletions

View File

@@ -2348,6 +2348,9 @@ more_data:
status = dp_rx_desc_nbuf_sanity_check(ring_desc, rx_desc);
if (qdf_unlikely(QDF_IS_STATUS_ERROR(status))) {
DP_STATS_INC(soc, rx.err.nbuf_sanity_fail, 1);
dp_info_rl("Nbuf sanity check failure!");
dp_rx_dump_info_and_assert(soc, hal_ring_hdl,
ring_desc, rx_desc);
rx_desc->in_err_state = 1;
hal_srng_dst_get_next(hal_soc, hal_ring_hdl);
continue;