qcacmn: Setup CDP interface for flushing RX queue

Refactor flush rx queue function call based on soc by adding an
interface to CDP funtion indirection table.

Change-Id: Iea201553f555a6c317cf37e586433aa493e51623
CRs-fixed: 2023399
This commit is contained in:
Manikandan Mohan
2017-03-22 11:18:26 -07:00
committed by Sandeep Puligilla
父節點 53e7fb8fa3
當前提交 e2fa8b7861
共有 3 個文件被更改,包括 13 次插入0 次删除

查看文件

@@ -445,6 +445,17 @@ static inline void cdp_set_pdev_dscp_tid_map(ol_txrx_soc_handle soc,
return;
}
/**
* cdp_flush_cache_rx_queue() - flush cache rx queue frame
*
* Return: None
*/
static inline void cdp_flush_cache_rx_queue(ol_txrx_soc_handle soc)
{
if (soc->ops->cmn_drv_ops->flush_cache_rx_queue)
soc->ops->cmn_drv_ops->flush_cache_rx_queue();
}
/**
* cdp_txrx_stats(): function to map to host and firmware statistics
* @soc: soc handle