diff options
author | Eric Dumazet <edumazet@google.com> | 2022-05-13 21:33:56 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-05-16 12:18:55 +0300 |
commit | 89527be8d8d672773eeaec910118a6e84fb597e3 (patch) | |
tree | e87e609d72528a22d106358746bf0335b2e83c1a /include/uapi/linux/if_link.h | |
parent | 5cf15ce3c8f1ef431dc9fa845c6d1674f630ecd1 (diff) | |
download | linux-89527be8d8d672773eeaec910118a6e84fb597e3.tar.xz |
net: add IFLA_TSO_{MAX_SIZE|SEGS} attributes
New netlink attributes IFLA_TSO_MAX_SIZE and IFLA_TSO_MAX_SEGS
are used to report to user-space the device TSO limits.
ip -d link sh dev eth1
...
tso_max_size 65536 tso_max_segs 65535
Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Alexander Duyck <alexanderduyck@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/if_link.h')
-rw-r--r-- | include/uapi/linux/if_link.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h index d1e600816b82..5f58dcfe2787 100644 --- a/include/uapi/linux/if_link.h +++ b/include/uapi/linux/if_link.h @@ -368,6 +368,8 @@ enum { IFLA_PARENT_DEV_NAME, IFLA_PARENT_DEV_BUS_NAME, IFLA_GRO_MAX_SIZE, + IFLA_TSO_MAX_SIZE, + IFLA_TSO_MAX_SEGS, __IFLA_MAX }; |