qcacmn: Add support to process direct DMA event in the configured context

In the current implementation, the Direct DMA completion event is getting
processed in the tasklet context. When the Direct DMA events land on the
same processor core as the one used by the WLAN data path events, the
Direct DMA events can pre-empt the data path events as the datapath
events usually run in NAPI context. This could impact the data path
throughput when there is a high volume of frequent Direct DMA events. To
fix this, Direct DMA events can be run in work queue context based on
user configuration. Add support for the same.

Change-Id: I1a89b185c6765addc7ee725e9324025f0318d9ed
CRs-Fixed: 3276157
这个提交包含在:
Shubham Pawar
2022-08-26 00:56:25 +05:30
提交者 Madan Koyyalamudi
父节点 8e01b67f81
当前提交 1ac8aa1bd9
修改 5 个文件,包含 69 行新增2 行删除

查看文件

@@ -156,7 +156,6 @@ enum wmi_target_type {
* @WMI_RX_UMAC_CTX: execution context provided by umac layer
* @WMI_RX_SERIALIZER_CTX: Execution context is serialized thread context
* @WMI_RX_DIAG_WORK_CTX: work queue execution context for FW diag events
*
*/
enum wmi_rx_exec_ctx {
WMI_RX_WORK_CTX,