qcacmn: Return missing link and mon desc and free associated buffers
It is observed that in some corner cases msdu count received in montior destination ring descriptor is unreliable as a result some of the link descriptor and associated monitor buf descs are not returned. This change return such missing link/buf descriptors and free associated buffers. Change-Id: Iaad476b8e7a0372122981fd29c1f6e4685137817 CRs-Fixed: 3483157
This commit is contained in:

committed by
Madan Koyyalamudi

parent
2c3de7f375
commit
794367b541
@@ -7818,6 +7818,7 @@ dp_print_pdev_rx_stats(struct dp_pdev *pdev)
|
||||
|
||||
dp_pdev_iterate_peer_lock_safe(pdev, dp_peer_ctrl_frames_stats_get,
|
||||
NULL, DP_MOD_ID_GENERIC_STATS);
|
||||
|
||||
/* Get bar_recv_cnt */
|
||||
DP_PRINT_STATS("BAR Received Count: = %u",
|
||||
pdev->stats.rx.bar_recv_cnt);
|
||||
@@ -7830,6 +7831,9 @@ dp_print_pdev_rx_stats(struct dp_pdev *pdev)
|
||||
DP_PRINT_STATS("\tAllocations from the pool during replenish = %llu",
|
||||
pdev->stats.rx_buffer_pool.num_pool_bufs_replenish);
|
||||
|
||||
DP_PRINT_STATS("Invalid MSDU count = %u",
|
||||
pdev->stats.invalid_msdu_cnt);
|
||||
|
||||
dp_rx_basic_fst_stats(pdev);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user