summaryrefslogtreecommitdiff
path: root/include/uapi/linux/if_link.h
diff options
context:
space:
mode:
authorTom Herbert <tom@herbertland.com>2015-12-10 23:37:45 +0300
committerDavid S. Miller <davem@davemloft.net>2015-12-14 07:58:03 +0300
commitabe492b4f50c3ae2ebcfaa2f5c16176aebaa1c68 (patch)
tree435b8014b375d632aaaea48996d081ed66415794 /include/uapi/linux/if_link.h
parent369620a09bc5ab867342d51f1820c66b00d78a2c (diff)
downloadlinux-abe492b4f50c3ae2ebcfaa2f5c16176aebaa1c68.tar.xz
geneve: UDP checksum configuration via netlink
Add support to enable and disable UDP checksums via netlink. This is similar to how VXLAN and GUE allow this. This includes support for enabling the UDP zero checksum (for both TX and RX). Signed-off-by: Tom Herbert <tom@herbertland.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/uapi/linux/if_link.h')
-rw-r--r--include/uapi/linux/if_link.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h
index 5ad57375a99f..2be1dd5a103f 100644
--- a/include/uapi/linux/if_link.h
+++ b/include/uapi/linux/if_link.h
@@ -462,6 +462,9 @@ enum {
IFLA_GENEVE_PORT, /* destination port */
IFLA_GENEVE_COLLECT_METADATA,
IFLA_GENEVE_REMOTE6,
+ IFLA_GENEVE_UDP_CSUM,
+ IFLA_GENEVE_UDP_ZERO_CSUM6_TX,
+ IFLA_GENEVE_UDP_ZERO_CSUM6_RX,
__IFLA_GENEVE_MAX
};
#define IFLA_GENEVE_MAX (__IFLA_GENEVE_MAX - 1)