qcacmn: DP RX changes for RX buffer pool support

DP RX changes to support RX buffer pool, this is a pre-allocated pool
of buffers which will be utilized during low memory conditions.

Change-Id: I8d89a865f989d4e88c10390861e9d4be72ae0299
CRs-Fixed: 2731517
This commit is contained in:
Manikanta Pubbisetty
2020-07-20 13:35:43 +05:30
committed by snandini
parent ea9aadb12d
commit fa2844b787
8 changed files with 106 additions and 18 deletions

View File

@@ -6368,6 +6368,14 @@ dp_print_pdev_rx_stats(struct dp_pdev *pdev)
dp_aggregate_pdev_ctrl_frames_stats(pdev);
DP_PRINT_STATS("BAR Received Count: = %u",
pdev->stats.rx.bar_recv_cnt);
DP_PRINT_STATS("RX Buffer Pool Stats:\n");
DP_PRINT_STATS("\tBuffers consumed during refill = %llu",
pdev->stats.rx_buffer_pool.num_bufs_consumed);
DP_PRINT_STATS("\tSuccessful allocations during refill = %llu",
pdev->stats.rx_buffer_pool.num_bufs_alloc_success);
DP_PRINT_STATS("\tAllocations from the pool during replenish = %llu",
pdev->stats.rx_buffer_pool.num_pool_bufs_replenish);
}
void