diff options
| author | Zhu Jianmin <jianminz@codeaurora.org> | 2017-07-26 18:56:23 +0800 |
|---|---|---|
| committer | snandini <snandini@codeaurora.org> | 2017-08-14 21:42:19 -0700 |
| commit | 9e475bfd775ba828ed2fa1d4c1bfbfd5a2b83903 (patch) | |
| tree | ee1eb9f5d7771f526565a22b94f7da933de1b07f | |
| parent | ad591e951585e77b97bb52d59cd07fcefcc5110f (diff) | |
qcacld-3.0: No LRO aggregation for tcp with PSH flag
As spec, PSH flags mean: receiver should pass this data to the application as
soon as possible. it was a notification to pass the data to the server process
and not wait to see if any additional data arrives.
This help such latency sensitive usage like Red Packet. Red Packet relative rx
packets have PUSH flag, LRO aggregation has side effect.
Change-Id: I5a8c5fba2f6d2d3d86dbf94a597a2ef7baa58774
CRS-Fixed: 2089892
| -rw-r--r-- | core/hdd/src/wlan_hdd_lro.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/hdd/src/wlan_hdd_lro.c b/core/hdd/src/wlan_hdd_lro.c index 03669afc7320..6cb0887e6448 100644 --- a/core/hdd/src/wlan_hdd_lro.c +++ b/core/hdd/src/wlan_hdd_lro.c @@ -425,7 +425,7 @@ int hdd_lro_init(hdd_context_t *hdd_ctx) lro_config.lro_enable = 1; lro_config.tcp_flag = TCPHDR_ACK; lro_config.tcp_flag_mask = TCPHDR_FIN | TCPHDR_SYN | TCPHDR_RST | - TCPHDR_ACK | TCPHDR_URG | TCPHDR_ECE | TCPHDR_CWR; + TCPHDR_PSH | TCPHDR_ACK | TCPHDR_URG | TCPHDR_ECE | TCPHDR_CWR; get_random_bytes(lro_config.toeplitz_hash_ipv4, (sizeof(lro_config.toeplitz_hash_ipv4[0]) * |
