]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'tcp-remove-non-GSO-code'
authorDavid S. Miller <davem@davemloft.net>
Wed, 21 Feb 2018 19:24:15 +0000 (14:24 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Feb 2018 19:24:15 +0000 (14:24 -0500)
commit15412d30976e41a7455dfbcb28e0758c7e1cddf2
treefdee55dc628e78ddae4acbb7f1e97821aae779ae
parentd321294917ed71db9415f9c81652663427e8581d
parentd1aab9bd26605309f4d9bf3fc0df4c9ffb55d042
Merge branch 'tcp-remove-non-GSO-code'

Eric Dumazet says:

====================
tcp: remove non GSO code

Switching TCP to GSO mode, relying on core networking layers
to perform eventual adaptation for dumb devices was overdue.

1) Most TCP developments are done with TSO in mind.
2) Less high-resolution timers needs to be armed for TCP-pacing
3) GSO can benefit of xmit_more hint
4) Receiver GRO is more effective (as if TSO was used for real on sender)
   -> less ACK packets and overhead.
5) Write queues have less overhead (one skb holds about 64KB of payload)
6) SACK coalescing just works. (no payload in skb->head)
7) rtx rb-tree contains less packets, SACK is cheaper.
8) Removal of legacy code. Less maintenance hassles.

Note that I have left the sendpage/zerocopy paths, but they probably can
benefit from the same strategy.

Thanks to Oleksandr Natalenko for reporting a performance issue for BBR/fq_codel,
which was the main reason I worked on this patch series.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>