summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2016-03-21 09:55:10 -0700
committerDavid S. Miller <davem@davemloft.net>2016-03-21 13:35:56 -0400
commitc70ce028e834f8e51306217dbdbd441d851c64d3 (patch)
tree9480a5d565273726dc1c0d6d41a34f2e40d6b5b8 /include/uapi
parent7d34fa75d3ee99a90ebb33c2917aa9152fb36a9c (diff)
downloadlinux-0-day-c70ce028e834f8e51306217dbdbd441d851c64d3.tar.gz
linux-0-day-c70ce028e834f8e51306217dbdbd441d851c64d3.tar.xz
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/uapi')
-rw-r--r--include/uapi/linux/if_link.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h
index 8e3f88fa5b590..76d315ca597d2 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
};