qcacmn: Add debug log in dp_tx_delete_flow_pool
Add debug log in dp_tx_delete_flow_pool() to know if all available tx descriptors have been released to the pool or not Change-Id: Id0684effd5c5c0b531bb2d4b3f08d929aaa85b5c CRs-Fixed: 2463632
This commit is contained in:

committed by
nshrivas

parent
1d4ac98ffe
commit
83a31a34b0
@@ -107,8 +107,7 @@ QDF_STATUS dp_tx_desc_pool_alloc(struct dp_soc *soc, uint8_t pool_id,
|
||||
desc_size, num_elem,
|
||||
0, true);
|
||||
if (!tx_desc_pool->desc_pages.num_pages) {
|
||||
QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR,
|
||||
"Multi page alloc fail, tx desc");
|
||||
dp_err("Multi page alloc fail, tx desc");
|
||||
goto fail_exit;
|
||||
}
|
||||
|
||||
@@ -120,8 +119,7 @@ QDF_STATUS dp_tx_desc_pool_alloc(struct dp_soc *soc, uint8_t pool_id,
|
||||
if (qdf_mem_multi_page_link(soc->osdev,
|
||||
&tx_desc_pool->desc_pages,
|
||||
desc_size, num_elem, true)) {
|
||||
QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR,
|
||||
"invalid tx desc allocation - overflow num link");
|
||||
dp_err("invalid tx desc allocation - overflow num link");
|
||||
goto free_tx_desc;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user