]> git.ipfire.org Git - thirdparty/iproute2.git/commit
iplink: add gso and gro max_size attributes for ipv4
authorXin Long <lucien.xin@gmail.com>
Thu, 9 Feb 2023 23:44:24 +0000 (18:44 -0500)
committerDavid Ahern <dsahern@kernel.org>
Sat, 18 Feb 2023 17:04:41 +0000 (10:04 -0700)
commit1dafe448c7a2f2be5dfddd8da250980708a48c41
tree79bb3b7600d6c73931524aa598189c1c0b1102da
parent0b257557d8662e5ce2e65ec80343b771be2c56dd
iplink: add gso and gro max_size attributes for ipv4

This patch adds two attributes gso/gro_ipv4_max_size in iplink for the
user space support of the BIG TCP for IPv4:

  https://lore.kernel.org/netdev/de811bf3-e2d8-f727-72bc-c8a754a9d929@tessares.net/T/

Note that after this kernel patchset, "gso/gro_max_size" are used for IPv6
packets while "gso/gro_ipv4_max_size" are for IPv4 patckets. To not break
these old applications using "gso/gro_ipv4_max_size" for IPv4 GSO packets,
the new size will also be set on "gso/gro_ipv4_max_size" in kernel when
"gso/gro_max_size" changes to a value <= 65536.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
ip/ipaddress.c
ip/iplink.c
man/man8/ip-link.8.in