qcacmn: Handle FP BARs without errors in wbm release ring

Only BAR frames with REO/RXDMA push reason as error are handled
in host. FP BAR frames without errors, are routed to host
via REO/RXDMA with push reason as route.

Instead of leaking the buffer, handle the routed BAR frames
gracefully. Free the buffer and log stats to detect such
cases.

Change-Id: I6e09e8b948d9b2d9d3de3b6558e54f0c70901c62
CRs-Fixed: 2814303
This commit is contained in:
Padma Raghunathan
2020-11-26 16:32:41 +05:30
committed by snandini
parent 66ec120912
commit b82e526a72
3 changed files with 16 additions and 0 deletions

View File

@@ -6640,6 +6640,10 @@ dp_print_soc_rx_stats(struct dp_soc *soc)
soc->stats.rx.err.reo_cmd_send_fail);
DP_PRINT_STATS("Rx BAR frames:%d", soc->stats.rx.bar_frame);
DP_PRINT_STATS("Rxdma2rel route drop:%d",
soc->stats.rx.rxdma2rel_route_drop);
DP_PRINT_STATS("Reo2rel route drop:%d",
soc->stats.rx.reo2rel_route_drop);
}
#ifdef FEATURE_TSO_STATS