]> git.ipfire.org Git - thirdparty/linux.git/commit
skbuff: Add MSG_MORE flag to optimize tcp large packet transmission
authorFeng Yang <yangfeng@kylinos.cn>
Tue, 8 Jul 2025 05:40:53 +0000 (13:40 +0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 10 Jul 2025 02:25:57 +0000 (19:25 -0700)
commit76d727ae02b527426c73a446b9291df376db8944
treeafb7f6ca02242b253841d75b1f1cff070937ebaa
parentfb6045762901d37b28b90a01228c25dbb99bcc7c
skbuff: Add MSG_MORE flag to optimize tcp large packet transmission

When using sockmap for forwarding, the average latency for different packet sizes
after sending 10,000 packets is as follows:
size    old(us)         new(us)
512     56              55
1472    58              58
1600    106             81
3000    145             105
5000    182             125

Suggested-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Feng Yang <yangfeng@kylinos.cn>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20250708054053.39551-1-yangfeng59949@163.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/core/skbuff.c