]> git.ipfire.org Git - thirdparty/iproute2.git/commit
iplink: report tso_max_size and tso_max_segs
authorEric Dumazet <edumazet@google.com>
Wed, 25 May 2022 15:36:24 +0000 (08:36 -0700)
committerDavid Ahern <dsahern@kernel.org>
Mon, 30 May 2022 15:51:53 +0000 (09:51 -0600)
commit2a0541810c85bc948de183ca62e931a3d6fd9a16
treea3d3d23cd65523794d3c6ac28ec398df89e037f9
parent555a7750128a2c618587715fbad141f6750a4d06
iplink: report tso_max_size and tso_max_segs

New netlink attributes IFLA_TSO_MAX_SIZE and IFLA_TSO_MAX_SEGS
are used to report device TSO limits to user-space.

ip -d link sh dev eth0
...
   tso_max_size 65536 tso_max_segs 65535

ip -d link sh dev lo
...
   tso_max_size 524280 tso_max_segs 65535

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
ip/ipaddress.c