qcacmn: Add RX prealloc pool for replenishing RX buffers
Add and initialize a preallocated pool of buffers which can be used to replenish RX buffers. During replenish, the buffers from the pool are used instead of allocating/mapping a new buffer in the softirq context. This preallocated pool will be refilled in thread context. Change-Id: Idf3bd7d25c5d57ddba105ccd8fab672c26a184f1 CRs-Fixed: 2869345
This commit is contained in:

committed by
snandini

parent
71e3244d46
commit
595bc84a39
@@ -1968,6 +1968,11 @@ struct cdp_pdev_stats {
|
||||
uint64_t num_pool_bufs_replenish;
|
||||
uint64_t num_bufs_alloc_success;
|
||||
} rx_buffer_pool;
|
||||
|
||||
struct {
|
||||
uint64_t num_bufs_refilled;
|
||||
uint64_t num_bufs_allocated;
|
||||
} rx_refill_buff_pool;
|
||||
};
|
||||
|
||||
/* struct cdp_peer_hmwds_ast_add_status - hmwds peer ast add status
|
||||
|
Reference in New Issue
Block a user