qcacmn: TX Optimization
Memory optimization of unused TX rings by not configuring rings that are not being used. Configure 2 rings for host in the case of IPA, instead of configuring 3. If IPA is disabled then configure only 1 set of TX rings for host. Change-Id: I251606c728f3020a13e45e8c8386970c8a641f0a CRs-Fixed: 2530572
This commit is contained in:
@@ -153,6 +153,20 @@ struct dp_tx_msdu_info_s {
|
||||
uint8_t is_tx_sniffer;
|
||||
};
|
||||
|
||||
/**
|
||||
* dp_tx_deinit_pair_by_index() - Deinit TX rings based on index
|
||||
* @soc: core txrx context
|
||||
* @index: index of ring to deinit
|
||||
*
|
||||
* Deinit 1 TCL and 1 WBM2SW release ring on as needed basis using
|
||||
* index of the respective TCL/WBM2SW release in soc structure.
|
||||
* For example, if the index is 2 then &soc->tcl_data_ring[2]
|
||||
* and &soc->tx_comp_ring[2] will be deinitialized.
|
||||
*
|
||||
* Return: none
|
||||
*/
|
||||
void dp_tx_deinit_pair_by_index(struct dp_soc *soc, int index);
|
||||
|
||||
QDF_STATUS dp_tx_vdev_attach(struct dp_vdev *vdev);
|
||||
QDF_STATUS dp_tx_vdev_detach(struct dp_vdev *vdev);
|
||||
void dp_tx_vdev_update_search_flags(struct dp_vdev *vdev);
|
||||
|
Reference in New Issue
Block a user