qcacmn: Add call to Deinit/Free tx spcl desc
Add call to Deinit/Free tx spcl desc Change-Id: If5809e38f61ede9dba08edd29d7320bfc40596fc CRs-Fixed: 3603525
This commit is contained in:

committed by
Rahul Choudhary

parent
449758b4de
commit
98bd87c4b3
@@ -6665,6 +6665,7 @@ void dp_soc_tx_desc_sw_pools_free(struct dp_soc *soc)
|
|||||||
dp_tx_tso_cmn_desc_pool_free(soc, num_pool);
|
dp_tx_tso_cmn_desc_pool_free(soc, num_pool);
|
||||||
dp_tx_ext_desc_pool_free(soc, num_ext_pool);
|
dp_tx_ext_desc_pool_free(soc, num_ext_pool);
|
||||||
dp_tx_delete_static_pools(soc, num_pool);
|
dp_tx_delete_static_pools(soc, num_pool);
|
||||||
|
dp_tx_spcl_delete_static_pools(soc, num_pool);
|
||||||
}
|
}
|
||||||
|
|
||||||
void dp_soc_tx_desc_sw_pools_deinit(struct dp_soc *soc)
|
void dp_soc_tx_desc_sw_pools_deinit(struct dp_soc *soc)
|
||||||
@@ -6678,6 +6679,7 @@ void dp_soc_tx_desc_sw_pools_deinit(struct dp_soc *soc)
|
|||||||
dp_tx_tso_cmn_desc_pool_deinit(soc, num_pool);
|
dp_tx_tso_cmn_desc_pool_deinit(soc, num_pool);
|
||||||
dp_tx_ext_desc_pool_deinit(soc, num_ext_pool);
|
dp_tx_ext_desc_pool_deinit(soc, num_ext_pool);
|
||||||
dp_tx_deinit_static_pools(soc, num_pool);
|
dp_tx_deinit_static_pools(soc, num_pool);
|
||||||
|
dp_tx_spcl_deinit_static_pools(soc, num_pool);
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
void dp_soc_tx_desc_sw_pools_free(struct dp_soc *soc)
|
void dp_soc_tx_desc_sw_pools_free(struct dp_soc *soc)
|
||||||
@@ -6687,6 +6689,7 @@ void dp_soc_tx_desc_sw_pools_free(struct dp_soc *soc)
|
|||||||
num_pool = wlan_cfg_get_num_tx_desc_pool(soc->wlan_cfg_ctx);
|
num_pool = wlan_cfg_get_num_tx_desc_pool(soc->wlan_cfg_ctx);
|
||||||
|
|
||||||
dp_tx_delete_static_pools(soc, num_pool);
|
dp_tx_delete_static_pools(soc, num_pool);
|
||||||
|
dp_tx_spcl_delete_static_pools(soc, num_pool);
|
||||||
}
|
}
|
||||||
|
|
||||||
void dp_soc_tx_desc_sw_pools_deinit(struct dp_soc *soc)
|
void dp_soc_tx_desc_sw_pools_deinit(struct dp_soc *soc)
|
||||||
@@ -6697,6 +6700,7 @@ void dp_soc_tx_desc_sw_pools_deinit(struct dp_soc *soc)
|
|||||||
|
|
||||||
dp_tx_flow_control_deinit(soc);
|
dp_tx_flow_control_deinit(soc);
|
||||||
dp_tx_deinit_static_pools(soc, num_pool);
|
dp_tx_deinit_static_pools(soc, num_pool);
|
||||||
|
dp_tx_spcl_deinit_static_pools(soc, num_pool);
|
||||||
}
|
}
|
||||||
#endif /*WLAN_SOFTUMAC_SUPPORT*/
|
#endif /*WLAN_SOFTUMAC_SUPPORT*/
|
||||||
|
|
||||||
@@ -6901,7 +6905,7 @@ QDF_STATUS dp_soc_tx_desc_sw_pools_init(struct dp_soc *soc)
|
|||||||
soc->process_tx_status = CONFIG_PROCESS_TX_STATUS;
|
soc->process_tx_status = CONFIG_PROCESS_TX_STATUS;
|
||||||
return QDF_STATUS_SUCCESS;
|
return QDF_STATUS_SUCCESS;
|
||||||
fail1:
|
fail1:
|
||||||
dp_tx_delete_static_pools(soc, num_pool);
|
dp_tx_deinit_static_pools(soc, num_pool);
|
||||||
fail:
|
fail:
|
||||||
return QDF_STATUS_E_RESOURCES;
|
return QDF_STATUS_E_RESOURCES;
|
||||||
}
|
}
|
||||||
|
@@ -893,6 +893,7 @@ dp_tx_desc_alloc(struct dp_soc *soc, uint8_t desc_pool_id)
|
|||||||
static inline struct dp_tx_desc_s *dp_tx_spcl_desc_alloc(struct dp_soc *soc,
|
static inline struct dp_tx_desc_s *dp_tx_spcl_desc_alloc(struct dp_soc *soc,
|
||||||
uint8_t desc_pool_id)
|
uint8_t desc_pool_id)
|
||||||
{
|
{
|
||||||
|
return NULL;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* dp_tx_desc_free() - Free a tx descriptor and attach it to free list
|
* dp_tx_desc_free() - Free a tx descriptor and attach it to free list
|
||||||
|
Reference in New Issue
Block a user