qcacmn: Optimize RX hw stats flow

Only 8 RX data TIDs are used, so HW stats query only needs to update
these TIDs info to save command executing time. Change is aimed to
reduce the TID number and use only one REO flush command for overall
REO cache flush.

Change-Id: Ib642451b9f07f62198126c45644742e1908280cd
CRs-Fixed: 3325964
This commit is contained in:
Yu Tian
2022-11-07 22:27:21 -08:00
committed by Madan Koyyalamudi
parent 5d0b7ea33f
commit 5a6d2c2374
4 changed files with 84 additions and 31 deletions

View File

@@ -8004,6 +8004,10 @@ dp_print_soc_rx_stats(struct dp_soc *soc)
DP_PRINT_STATS("Reo2rel route drop:%d",
soc->stats.rx.reo2rel_route_drop);
DP_PRINT_STATS("Rx Flush count:%d", soc->stats.rx.err.rx_flush_count);
DP_PRINT_STATS("RX HW stats request count:%d",
soc->stats.rx.rx_hw_stats_requested);
DP_PRINT_STATS("RX HW stats request timeout:%d",
soc->stats.rx.rx_hw_stats_timeout);
DP_PRINT_STATS("Rx invalid TID count:%d",
soc->stats.rx.err.rx_invalid_tid_err);
DP_PRINT_STATS("Rx Defrag Address1 Invalid:%d",