diff options
author | Tom Herbert <tom@herbertland.com> | 2015-12-10 20:37:45 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-14 04:58:03 (GMT) |
commit | abe492b4f50c3ae2ebcfaa2f5c16176aebaa1c68 (patch) | |
tree | 435b8014b375d632aaaea48996d081ed66415794 /include | |
parent | 369620a09bc5ab867342d51f1820c66b00d78a2c (diff) | |
download | linux-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')
-rw-r--r-- | include/uapi/linux/if_link.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/uapi/linux/if_link.h b/include/uapi/linux/if_link.h index 5ad5737..2be1dd5 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) |