commit | 75eefc6c59fd2c5f1ab95a3a113c217237d12a31 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Sat Dec 03 11:14:54 2016 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Dec 05 13:32:23 2016 -0500 |
tree | f5559676f497c4e30b71f58e9df43a944da88641 | |
parent | a9b204d1564702b704ad6fe74f10a102c7b87ba3 [diff] |
tcp: tsq: add a shortcut in tcp_small_queue_check() Always allow the two first skbs in write queue to be sent, regardless of sk_wmem_alloc/sk_pacing_rate values. This helps a lot in situations where TX completions are delayed either because of driver latencies or softirq latencies. Test is done with no cache line misses. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>