summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2018-07-27 23:43:22 +0300
committerDavid S. Miller <davem@davemloft.net>2018-07-29 22:57:26 +0300
commit3e7a50ceb11ea75c27e944f1a01e478fd62a2d8d (patch)
treeea1f9195410352b6ab92a90641821a9024fc1907 /include
parent3260155ac784ae9f4889c6d3e40b85f33e94d098 (diff)
downloadlinux-3e7a50ceb11ea75c27e944f1a01e478fd62a2d8d.tar.xz
net: report min and max mtu network device settings
Report the minimum and maximum MTU allowed on a device via netlink so that it can be displayed by tools like ip link. Signed-off-by: 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.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 553c438cabe3..43391e2d1153 100644
--- a/include/uapi/linux/if_link.h
+++ b/include/uapi/linux/if_link.h
@@ -164,6 +164,8 @@ enum {
IFLA_CARRIER_UP_COUNT,
IFLA_CARRIER_DOWN_COUNT,
IFLA_NEW_IFINDEX,
+ IFLA_MIN_MTU,
+ IFLA_MAX_MTU,
__IFLA_MAX
};