qcacmn: DSC-Add search_idx tbl alloc framework
In STA mode ast idx override approach is used. In DSc to use ast idx Need to configure a search idx register with ast idx and cache set number. Added needed logic to instantiate search index register and use it for STA mode in DSC path. Change-Id: I6b3fb7c01a39b16ff1d473381c6155436fe2b27a CRs-Fixed: 3375219
此提交包含在:

提交者
Madan Koyyalamudi

父節點
07e72e4e7e
當前提交
2776d767a2
@@ -832,7 +832,7 @@ hal_tx_mcast_mlo_reinject_routing_set(
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
/**
|
||||
* hal_reo_config_reo2ppe_dest_info() - Configure reo2ppe dest info
|
||||
* @hal_soc_hdl: HAL SoC Context
|
||||
*
|
||||
@@ -847,7 +847,7 @@ void hal_reo_config_reo2ppe_dest_info(hal_soc_handle_t hal_soc_hdl)
|
||||
hal_soc->ops->hal_reo_config_reo2ppe_dest_info(hal_soc_hdl);
|
||||
}
|
||||
|
||||
/*
|
||||
/**
|
||||
* hal_tx_get_num_ppe_vp_tbl_entries() - Get the total number of VP table
|
||||
* @hal_soc: HAL SoC Context
|
||||
*
|
||||
@@ -861,6 +861,20 @@ uint32_t hal_tx_get_num_ppe_vp_tbl_entries(hal_soc_handle_t hal_soc_hdl)
|
||||
return hal_soc->ops->hal_tx_get_num_ppe_vp_tbl_entries(hal_soc_hdl);
|
||||
}
|
||||
|
||||
/**
|
||||
* hal_tx_get_num_ppe_vp_search_idx_tbl_entries() - Get the total number of search idx registers
|
||||
* @hal_soc: HAL SoC Context
|
||||
*
|
||||
* Return: Total number of entries.
|
||||
*/
|
||||
static inline
|
||||
uint32_t hal_tx_get_num_ppe_vp_search_idx_tbl_entries(hal_soc_handle_t hal_soc_hdl)
|
||||
{
|
||||
struct hal_soc *hal_soc = (struct hal_soc *)hal_soc_hdl;
|
||||
|
||||
return hal_soc->ops->hal_tx_get_num_ppe_vp_search_idx_tbl_entries(hal_soc_hdl);
|
||||
}
|
||||
|
||||
/**
|
||||
* hal_tx_set_ppe_cmn_cfg()- Set the PPE common config
|
||||
* @hal_soc: HAL SoC context
|
||||
|
新增問題並參考
封鎖使用者