summaryrefslogtreecommitdiff
path: root/include/net/geneve.h
diff options
context:
space:
mode:
authorPravin B Shelar <pshelar@nicira.com>2015-08-26 23:46:52 -0700
committerDavid S. Miller <davem@davemloft.net>2015-08-27 15:42:47 -0700
commite305ac6cf5a1e1386aedce7ef9cb773635d5845c (patch)
tree007743d3c9976466e35bb930464402cceabb21d5 /include/net/geneve.h
parentcd7918b35f0ee0106bbe2ce4a14b5a8c9763deb8 (diff)
downloadlwn-e305ac6cf5a1e1386aedce7ef9cb773635d5845c.tar.gz
lwn-e305ac6cf5a1e1386aedce7ef9cb773635d5845c.zip
geneve: Add support to collect tunnel metadata.
Following patch create new tunnel flag which enable tunnel metadata collection on given device. These devices can be used by tunnel metadata based routing or by OVS. Geneve Consolidation patch get rid of collect_md_tun to simplify tunnel lookup further. Signed-off-by: Pravin B Shelar <pshelar@nicira.com> Reviewed-by: Jesse Gross <jesse@nicira.com> Acked-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/geneve.h')
-rw-r--r--include/net/geneve.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/geneve.h b/include/net/geneve.h
index 2a0543a1899d..4245e1d23b9b 100644
--- a/include/net/geneve.h
+++ b/include/net/geneve.h
@@ -96,6 +96,9 @@ int geneve_xmit_skb(struct geneve_sock *gs, struct rtable *rt,
__u8 ttl, __be16 df, __be16 src_port, __be16 dst_port,
__be16 tun_flags, u8 vni[3], u8 opt_len, u8 *opt,
bool csum, bool xnet);
+
+struct net_device *geneve_dev_create_fb(struct net *net, const char *name,
+ u8 name_assign_type, u16 dst_port);
#endif /*ifdef CONFIG_INET */
#endif /*ifdef__NET_GENEVE_H */