diff options
author | 2018-09-12 10:04:21 +0800 | |
---|---|---|
committer | 2018-09-12 20:38:22 -0700 | |
commit | 52d0d404d39dd9eac71a181615d6ca15e23d8e38 (patch) | |
tree | 62220ddc43800919ba0a6693633f373312905005 /tools/include | |
parent | net: dsa: mv88e6xxx: Make sure to configure ports with external PHYs (diff) | |
download | linux-52d0d404d39dd9eac71a181615d6ca15e23d8e38.tar.gz linux-52d0d404d39dd9eac71a181615d6ca15e23d8e38.tar.bz2 linux-52d0d404d39dd9eac71a181615d6ca15e23d8e38.zip |
geneve: add ttl inherit support
Similar with commit 72f6d71e491e6 ("vxlan: add ttl inherit support"),
currently ttl == 0 means "use whatever default value" on geneve instead
of inherit inner ttl. To respect compatibility with old behavior, let's
add a new IFLA_GENEVE_TTL_INHERIT for geneve ttl inherit support.
Reported-by: Jianlin Shi <jishi@redhat.com>
Suggested-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Reviewed-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/include')
-rw-r--r-- | tools/include/uapi/linux/if_link.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/include/uapi/linux/if_link.h b/tools/include/uapi/linux/if_link.h index 1c73d63068b1..141cbfdc5865 100644 --- a/tools/include/uapi/linux/if_link.h +++ b/tools/include/uapi/linux/if_link.h @@ -542,6 +542,7 @@ enum { IFLA_GENEVE_UDP_ZERO_CSUM6_TX, IFLA_GENEVE_UDP_ZERO_CSUM6_RX, IFLA_GENEVE_LABEL, + IFLA_GENEVE_TTL_INHERIT, __IFLA_GENEVE_MAX }; #define IFLA_GENEVE_MAX (__IFLA_GENEVE_MAX - 1) |