qcacmn: Account for global tx desc count during pool flush
Make sure global tx desc count is decremented during tx desc pool flush Change-Id: I5ba21cd9a4b1dbd3dbaf55e56a5852fe7703e36c CRs-Fixed: 3501063
This commit is contained in:

committed by
Rahul Choudhary

parent
382be6ed5a
commit
5981600c3a
@@ -287,6 +287,7 @@ qdf_nbuf_t dp_tx_comp_free_buf(struct dp_soc *soc, struct dp_tx_desc_s *desc,
|
||||
|
||||
/**
|
||||
* dp_tx_desc_release() - Release Tx Descriptor
|
||||
* @soc: Soc handle
|
||||
* @tx_desc: Tx Descriptor
|
||||
* @desc_pool_id: Descriptor Pool ID
|
||||
*
|
||||
@@ -295,7 +296,8 @@ qdf_nbuf_t dp_tx_comp_free_buf(struct dp_soc *soc, struct dp_tx_desc_s *desc,
|
||||
*
|
||||
* Return:
|
||||
*/
|
||||
void dp_tx_desc_release(struct dp_tx_desc_s *tx_desc, uint8_t desc_pool_id);
|
||||
void dp_tx_desc_release(struct dp_soc *soc, struct dp_tx_desc_s *tx_desc,
|
||||
uint8_t desc_pool_id);
|
||||
|
||||
/**
|
||||
* dp_tx_compute_delay() - Compute and fill in all timestamps
|
||||
|
Reference in New Issue
Block a user