qcacmn: add cdp ops for IPA Tx buf smmu_unmapping

Add cdp ops for IPA Tx buffer SMMU-S1 unmapping.

Change-Id: Ia28509439c27d4b42353c55774926f245fd30abc
CRs-Fixed: 2789746
此提交包含在:
Vevek Venkatesan
2020-10-01 20:38:01 +05:30
提交者 snandini
父節點 4ec0baa83f
當前提交 69cfce2eca
共有 2 個檔案被更改,包括 31 行新增2 行删除

查看文件

@@ -1537,7 +1537,8 @@ struct cdp_throttle_ops {
* @ipa_register_op_cb:
* @ipa_get_stat:
* @ipa_tx_data_frame:
* @ipa_tx_buf_smmu_mapping: Provide SMMU mappings for Tx
* @ipa_tx_buf_smmu_mapping: Create SMMU mappings for Tx
* @ipa_tx_buf_smmu_unmapping: Release SMMU mappings for Tx
* buffers to IPA
*/
struct cdp_ipa_ops {
@@ -1605,6 +1606,8 @@ struct cdp_ipa_ops {
qdf_nbuf_t nbuf, bool *fwd_success);
QDF_STATUS (*ipa_tx_buf_smmu_mapping)(struct cdp_soc_t *soc_hdl,
uint8_t pdev_id);
QDF_STATUS (*ipa_tx_buf_smmu_unmapping)(struct cdp_soc_t *soc_hdl,
uint8_t pdev_id);
};
#endif