diff options
author | Eric Dumazet <edumazet@google.com> | 2016-03-21 09:55:10 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-21 13:35:56 -0400 |
commit | c70ce028e834f8e51306217dbdbd441d851c64d3 (patch) | |
tree | 9480a5d565273726dc1c0d6d41a34f2e40d6b5b8 /include | |
parent | 7d34fa75d3ee99a90ebb33c2917aa9152fb36a9c (diff) | |
download | linux-c70ce028e834f8e51306217dbdbd441d851c64d3.tar.gz linux-c70ce028e834f8e51306217dbdbd441d851c64d3.tar.bz2 linux-c70ce028e834f8e51306217dbdbd441d851c64d3.zip |
net/rtnetlink: add IFLA_GSO_MAX_SEGS and IFLA_GSO_MAX_SIZE attributes
It can be useful to report dev->gso_max_segs and dev->gso_max_size
so that "ip -d link" can display them to help debugging.
For the moment, these attributes are read-only.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Petri Gynther <pgynther@google.com>
Cc: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-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 8e3f88fa5b59..76d315ca597d 100644 --- a/include/uapi/linux/if_link.h +++ b/include/uapi/linux/if_link.h @@ -153,6 +153,8 @@ enum { IFLA_LINK_NETNSID, IFLA_PHYS_PORT_NAME, IFLA_PROTO_DOWN, + IFLA_GSO_MAX_SEGS, + IFLA_GSO_MAX_SIZE, __IFLA_MAX }; |