diff options
| author | Randy Chiu <wchiu@qca.qualcomm.com> | 2014-10-07 11:38:02 +0800 |
|---|---|---|
| committer | AnjaneeDevi Kapparapu <c_akappa@qti.qualcomm.com> | 2014-10-08 14:53:58 +0530 |
| commit | 3fbf97c02fa71280ce654fa8f1520c1489a4f42e (patch) | |
| tree | c217741ace78804d92690b6fe23694ae22b250ed | |
| parent | 56275660112445008721d1346e897b838f0a8e9d (diff) | |
qca_cld: [TXRX] Fine tune the frame drop margin
Fine tune the frame drop margin to get the better intra-bss performance
for High-Latency path.
Change-Id: Ic7a65e7174b4d7dca8ec8ebee3f62ad1f7cfae60
CRs-Fixed: 734868
| -rw-r--r-- | CORE/CLD_TXRX/TXRX/ol_txrx.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/CORE/CLD_TXRX/TXRX/ol_txrx.c b/CORE/CLD_TXRX/TXRX/ol_txrx.c index 60def2b83d1f..c02abfc4b85f 100644 --- a/CORE/CLD_TXRX/TXRX/ol_txrx.c +++ b/CORE/CLD_TXRX/TXRX/ol_txrx.c @@ -284,12 +284,16 @@ ol_txrx_pdev_attach( * Define the value seperately. */ pdev->tx_queue.rsrc_threshold_lo = TXRX_HL_TX_FLOW_CTRL_MGMT_RESERVED; + + /* when freeing up descriptors, keep going until there's a 7.5% margin */ + pdev->tx_queue.rsrc_threshold_hi = ((15 * desc_pool_size)/100)/2; #else /* always maintain a 5% margin of unallocated descriptors */ pdev->tx_queue.rsrc_threshold_lo = (5 * desc_pool_size)/100; -#endif + /* when freeing up descriptors, keep going until there's a 15% margin */ pdev->tx_queue.rsrc_threshold_hi = (15 * desc_pool_size)/100; +#endif } else { /* * For LL, limit the number of host's tx descriptors to match the |
