mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
qcacmn: Add support to pass napi budget as module parameter
Add module parameter to pass napi budget for dp interrupts. Default value is set to 128. Change-Id: I6b3761c6908ed9cec4e40118a657b39da6ac2532 CRs-Fixed: 2095242
This commit is contained in:
parent
7b24441d5e
commit
ed15e74a87
3 changed files with 19 additions and 9 deletions
|
|
@ -69,6 +69,12 @@ cdp_dump_flow_pool_info(struct cdp_soc_t *soc)
|
|||
#define TX_RING_MASK_VAL 0xF
|
||||
#define RX_RING_MASK_VAL 0xF
|
||||
#endif
|
||||
|
||||
unsigned int napi_budget = 128;
|
||||
module_param(napi_budget, uint, 0644);
|
||||
MODULE_PARM_DESC(napi_budget,
|
||||
"tasklet mode: more than 0xffff , napi budget if <= 0xffff");
|
||||
|
||||
/**
|
||||
* default_dscp_tid_map - Default DSCP-TID mapping
|
||||
*
|
||||
|
|
@ -1152,7 +1158,7 @@ static QDF_STATUS dp_soc_interrupt_attach(void *txrx_soc)
|
|||
ret = hif_register_ext_group(soc->hif_handle,
|
||||
num_irq, irq_id_map, dp_service_srngs,
|
||||
&soc->intr_ctx[i], "dp_intr",
|
||||
HIF_EXEC_NAPI_TYPE);
|
||||
napi_budget);
|
||||
|
||||
if (ret) {
|
||||
QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR,
|
||||
|
|
|
|||
Loading…
Reference in a new issue