qcacmn: Move Tx desc pool to global context level

Move Tx descriptor pool to global context level.

Change-Id: Iff13a41f3bebbaa93e559c38842a596d47f4e534
CRs-Fixed: 3534184
This commit is contained in:
Neha Bisht
2023-08-09 14:28:00 +05:30
committed by Rahul Choudhary
parent f95831ad9a
commit 82e9711f5b
10 changed files with 287 additions and 183 deletions

View File

@@ -175,8 +175,13 @@ typedef void (*ipa_uc_op_cb_type)(uint8_t *op_msg,
/* Global level structure for win contexts */
struct dp_global_context {
struct dp_rx_fst *fst_ctx;
struct dp_tx_desc_pool_s *tx_desc[4];
struct dp_hw_cookie_conversion_t *tx_cc_ctx[4];
qdf_atomic_t rx_fst_ref_cnt;
qdf_atomic_t global_descriptor_in_use;
int tx_cookie_ctx_alloc_cnt;
int tx_desc_pool_alloc_cnt;
int tx_desc_pool_init_cnt;
};
/**