summary refs log tree commit diff
path: root/tools
diff options
context:
space:
mode:
authorPravin B Shelar <pbshelar@fb.com>2021-01-09 23:00:21 -0800
committerJakub Kicinski <kuba@kernel.org>2021-01-15 20:31:49 -0800
commit9ab7e76aefc97a9aa664accb59d6e8dc5e52514a (patch)
tree6c4c60c99eb36a6902d9212a49578157817549c2 /tools
parentf4d133d86af7f39a0f5bdaf7a888ec7b84733b5e (diff)
downloadlinux-9ab7e76aefc97a9aa664accb59d6e8dc5e52514a.tar.gz
GTP: add support for flow based tunneling API
Following patch add support for flow based tunneling API
to send and recv GTP tunnel packet over tunnel metadata API.
This would allow this device integration with OVS or eBPF using
flow based tunneling APIs.

Signed-off-by: Pravin B Shelar <pbshelar@fb.com>
Link: https://lore.kernel.org/r/20210110070021.26822-1-pbshelar@fb.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/include/uapi/linux/if_link.h1
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 d208b2af697f..28d649bda686 100644
--- a/tools/include/uapi/linux/if_link.h
+++ b/tools/include/uapi/linux/if_link.h
@@ -617,6 +617,7 @@ enum {
 	IFLA_GTP_FD1,
 	IFLA_GTP_PDP_HASHSIZE,
 	IFLA_GTP_ROLE,
+	IFLA_GTP_COLLECT_METADATA,
 	__IFLA_GTP_MAX,
 };
 #define IFLA_GTP_MAX (__IFLA_GTP_MAX - 1)