qcacmn: Handle the nbuf sanity failure gracefully
Th nbuf sanity can fail in case when HW posts the same buffer twice. This case can be handled gracefully by just skipping the processing of the corresponding rx descriptor. Change-Id: I471bb9f364a51937e85249996e427f15872bda97 CRs-Fixed: 2738558
这个提交包含在:
@@ -6055,6 +6055,8 @@ void dp_txrx_path_stats(struct dp_soc *soc)
|
||||
soc->stats.rx.err.raw_frm_drop);
|
||||
DP_PRINT_STATS("Rx stale link desc cookie: %d",
|
||||
pdev->soc->stats.rx.err.invalid_link_cookie);
|
||||
DP_PRINT_STATS("Rx nbuf sanity fails: %d",
|
||||
pdev->soc->stats.rx.err.nbuf_sanity_fail);
|
||||
|
||||
DP_PRINT_STATS("Reo Statistics");
|
||||
DP_PRINT_STATS("near_full: %u ", soc->stats.rx.near_full);
|
||||
@@ -6617,6 +6619,9 @@ dp_print_soc_rx_stats(struct dp_soc *soc)
|
||||
DP_PRINT_STATS("Rx stale link desc cookie: %d",
|
||||
soc->stats.rx.err.invalid_link_cookie);
|
||||
|
||||
DP_PRINT_STATS("Rx nbuf sanity fail: %d",
|
||||
soc->stats.rx.err.nbuf_sanity_fail);
|
||||
|
||||
for (i = 0; i < HAL_RXDMA_ERR_MAX; i++) {
|
||||
index += qdf_snprint(&rxdma_error[index],
|
||||
DP_RXDMA_ERR_LENGTH - index,
|
||||
|
在新工单中引用
屏蔽一个用户