qcacmn: Set the Tx completion ring size to appropriate value
Size the completion ring using following 2 parameters - NAPI schedule latency (assuming 1 netdev, gmac, competing for CPU) = 20ms (2 jiffies) - Worst case PPS requirement = 400K PPS Ring size = 20 * 400 = 8000 Change-Id: Iaac0b61f50b52a4e824c3c8ef5d980adf455854c CRs-Fixed: 2068155
此提交包含在:
@@ -473,4 +473,20 @@ int wlan_cfg_get_int_batch_threshold_other(struct wlan_cfg_dp_soc_ctxt *cfg);
|
||||
* Return: Timer threshold
|
||||
*/
|
||||
int wlan_cfg_get_int_timer_threshold_other(struct wlan_cfg_dp_soc_ctxt *cfg);
|
||||
|
||||
/*
|
||||
* wlan_cfg_tx_ring_size - Get Tx DMA ring size (TCL Data Ring)
|
||||
* @wlan_cfg_soc_ctx
|
||||
*
|
||||
* Return: Tx Ring Size
|
||||
*/
|
||||
int wlan_cfg_tx_ring_size(struct wlan_cfg_dp_soc_ctxt *cfg);
|
||||
|
||||
/*
|
||||
* wlan_cfg_tx_comp_ring_size - Get Tx completion ring size (WBM Ring)
|
||||
* @wlan_cfg_soc_ctx
|
||||
*
|
||||
* Return: Tx Completion ring size
|
||||
*/
|
||||
int wlan_cfg_tx_comp_ring_size(struct wlan_cfg_dp_soc_ctxt *cfg);
|
||||
#endif
|
||||
|
新增問題並參考
封鎖使用者