qcacmn: Add stop_th and start_th for tx flow control V1
Add stop_th and start_th for QCA_LL_TX_FLOW_CONTROL_V2 disabled platform, which is pdev based tx_desc pool. Change pdev tx_desc pool size from 1056 to 900, default stop_th is 15% start_th is 25%, this setting is exactly same as QCA_LL_TX_FLOW_CONTROL_V2. Pause netif tx queues for all vdevs when stop_th reached instead of dropping frames. Reduce pdev pool size could significantly reduce firmware wmm drop. Both of host and firmware frame dropps lead to bad TCP throughput. Change-Id: I77daf8c9fdef624f8ec479885b7705deb1fef142 CRs-Fixed: 2437471
This commit is contained in:
@@ -286,12 +286,10 @@ struct txrx_pdev_cfg_param_t {
|
||||
bool enable_rxthread;
|
||||
/* CE classification enabled through INI */
|
||||
bool ce_classify_enabled;
|
||||
#ifdef QCA_LL_TX_FLOW_CONTROL_V2
|
||||
/* Threshold to stop queue in percentage */
|
||||
uint32_t tx_flow_stop_queue_th;
|
||||
/* Start queue offset in percentage */
|
||||
uint32_t tx_flow_start_queue_offset;
|
||||
#endif
|
||||
|
||||
struct ol_tx_sched_wrr_ac_specs_t ac_specs[TX_WMM_AC_NUM];
|
||||
bool gro_enable;
|
||||
|
Viittaa uudesa ongelmassa
Block a user