diff options
author | Eric Dumazet | 2016-03-21 17:55:10 +0100 |
---|---|---|
committer | David S. Miller | 2016-03-21 18:35:56 +0100 |
commit | c70ce028e834f8e51306217dbdbd441d851c64d3 (patch) | |
tree | 9480a5d565273726dc1c0d6d41a34f2e40d6b5b8 /include/uapi | |
parent | vxlan: fix too large pskb_may_pull with remote checksum (diff) | |
download | kernel-qcow2-linux-c70ce028e834f8e51306217dbdbd441d851c64d3.tar.gz kernel-qcow2-linux-c70ce028e834f8e51306217dbdbd441d851c64d3.tar.xz kernel-qcow2-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/uapi')
-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 }; |