qcacmn: Check return status of deliver to stack function
Check the return status of the osif->rx function and in case of failure drop the skb. This is needed when OOR error frame is received and if the frame was not delivered to stack it needs to be dropped. Add error counter to periodic stats to determine how many Rx packets were rejected or were dropped since deliver to stack failed. Add the new status check for delivering rx frames to stack under MCC specific flag - DELIVERY_TO_STACK_STATUS_CHECK. Change-Id: I9b1c795f168774669783cc601e68003a7747a279 CRs-Fixed: 2672498
这个提交包含在:
@@ -5851,6 +5851,8 @@ void dp_txrx_path_stats(struct dp_soc *soc)
|
||||
pdev->soc->stats.rx.err.reo_err_oor_to_stack);
|
||||
DP_PRINT_STATS("REO err oor msdu drop: %u",
|
||||
pdev->soc->stats.rx.err.reo_err_oor_drop);
|
||||
DP_PRINT_STATS("Rx err msdu rejected: %d",
|
||||
soc->stats.rx.err.rejected);
|
||||
|
||||
DP_PRINT_STATS("Reo Statistics");
|
||||
DP_PRINT_STATS("near_full: %u ", soc->stats.rx.near_full);
|
||||
@@ -6391,6 +6393,9 @@ dp_print_soc_rx_stats(struct dp_soc *soc)
|
||||
DP_PRINT_STATS("REO err oor msdu drop: %d",
|
||||
soc->stats.rx.err.reo_err_oor_drop);
|
||||
|
||||
DP_PRINT_STATS("Rx err msdu rejected: %d",
|
||||
soc->stats.rx.err.rejected);
|
||||
|
||||
for (i = 0; i < HAL_RXDMA_ERR_MAX; i++) {
|
||||
index += qdf_snprint(&rxdma_error[index],
|
||||
DP_RXDMA_ERR_LENGTH - index,
|
||||
|
在新工单中引用
屏蔽一个用户