diff options
author | Jakub Kicinski <kuba@kernel.org> | 2024-04-22 14:25:32 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-04-22 14:25:32 -0700 |
commit | 65f1df1140aab935c1db68abdc151dddf6fea85a (patch) | |
tree | 11c59db4fd82eb72c7471f4edde1e851346651d3 /net/core | |
parent | f62a5e71277293673c77d8c336e4ef8a2ee16050 (diff) | |
parent | 8ee602c635206ed012f979370094015857c02359 (diff) |
Merge branch 'tcp-avoid-sending-too-small-packets'
Eric Dumazet says:
====================
tcp: avoid sending too small packets
tcp_sendmsg() cooks 'large' skbs, that are later split
if needed from tcp_write_xmit().
After a split, the leftover skb size is smaller than the optimal
size, and this causes a performance drop.
In this series, tcp_grow_skb() helper is added to shift
payload from the second skb in the write queue to the first
skb to always send optimal sized skbs.
This increases TSO efficiency, and decreases number of ACK
packets.
====================
Link: https://lore.kernel.org/r/20240418214600.1291486-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions