]> www.infradead.org Git - users/dwmw2/qemu.git/commit
net: Increase L2TPv3 buffer to fit jumboframes
authorChristian Svensson <blue@cmd.nu>
Fri, 30 Dec 2022 20:27:10 +0000 (21:27 +0100)
committerJason Wang <jasowang@redhat.com>
Fri, 17 Feb 2023 05:31:33 +0000 (13:31 +0800)
commit0c65ef4fbbf3d3c1c4435f06db7648ab67935a19
tree2350eef767cff80880bd91bc3db9a53a12761607
parent099a63828130843741d317cb28e936f468b2b53b
net: Increase L2TPv3 buffer to fit jumboframes

Increase the allocated buffer size to fit larger packets.
Given that jumboframes can commonly be up to 9000 bytes the closest suitable
value seems to be 16 KiB.

Tested by running qemu towards a Linux L2TPv3 endpoint and pushing
jumboframe traffic through the interfaces.

Signed-off-by: Christian Svensson <blue@cmd.nu>
Signed-off-by: Jason Wang <jasowang@redhat.com>
net/l2tpv3.c