qcacmn: Support INI cfg for mon dst interrupt
Monitor destination ring interrupt processing is configurable. For improved CPU utilization the batch counter threshold and timer threshold is updated and also an option is provided to make this values configurable through INI. Change-Id: Ibe671927f53f3e8fac7f17540c21a2c7edae427b CRs-Fixed: 3569505
这个提交包含在:
@@ -4046,6 +4046,10 @@ wlan_cfg_soc_attach(struct cdp_ctrl_objmgr_psoc *psoc)
|
||||
cfg_get(psoc, CFG_DP_INT_BATCH_THRESHOLD_OTHER);
|
||||
wlan_cfg_ctx->int_timer_threshold_other =
|
||||
cfg_get(psoc, CFG_DP_INT_TIMER_THRESHOLD_OTHER);
|
||||
wlan_cfg_ctx->int_batch_threshold_mon_dest =
|
||||
cfg_get(psoc, CFG_DP_INT_BATCH_THRESHOLD_MON_DEST);
|
||||
wlan_cfg_ctx->int_timer_threshold_mon_dest =
|
||||
cfg_get(psoc, CFG_DP_INT_TIMER_THRESHOLD_MON_DEST);
|
||||
wlan_cfg_ctx->pktlog_buffer_size =
|
||||
cfg_get(psoc, CFG_DP_PKTLOG_BUFFER_SIZE);
|
||||
|
||||
@@ -4246,6 +4250,10 @@ wlan_cfg_soc_attach(struct cdp_ctrl_objmgr_psoc *psoc)
|
||||
cfg_get(psoc, CFG_DP_INT_BATCH_THRESHOLD_OTHER);
|
||||
wlan_cfg_ctx->int_timer_threshold_other =
|
||||
cfg_get(psoc, CFG_DP_INT_TIMER_THRESHOLD_OTHER);
|
||||
wlan_cfg_ctx->int_batch_threshold_mon_dest =
|
||||
cfg_get(psoc, CFG_DP_INT_BATCH_THRESHOLD_MON_DEST);
|
||||
wlan_cfg_ctx->int_timer_threshold_mon_dest =
|
||||
cfg_get(psoc, CFG_DP_INT_TIMER_THRESHOLD_MON_DEST);
|
||||
wlan_cfg_ctx->int_batch_threshold_ppe2tcl =
|
||||
cfg_get(psoc, CFG_DP_INT_BATCH_THRESHOLD_PPE2TCL);
|
||||
wlan_cfg_ctx->int_timer_threshold_ppe2tcl =
|
||||
@@ -5136,6 +5144,16 @@ int wlan_cfg_get_int_timer_threshold_other(struct wlan_cfg_dp_soc_ctxt *cfg)
|
||||
return cfg->int_timer_threshold_other;
|
||||
}
|
||||
|
||||
int wlan_cfg_get_int_batch_threshold_mon_dest(struct wlan_cfg_dp_soc_ctxt *cfg)
|
||||
{
|
||||
return cfg->int_batch_threshold_mon_dest;
|
||||
}
|
||||
|
||||
int wlan_cfg_get_int_timer_threshold_mon_dest(struct wlan_cfg_dp_soc_ctxt *cfg)
|
||||
{
|
||||
return cfg->int_timer_threshold_mon_dest;
|
||||
}
|
||||
|
||||
int wlan_cfg_get_p2p_checksum_offload(struct wlan_cfg_dp_soc_ctxt *cfg)
|
||||
{
|
||||
return cfg->p2p_tcp_udp_checksumoffload;
|
||||
|
在新工单中引用
屏蔽一个用户