diff options
author | Pravin B Shelar <pshelar@nicira.com> | 2015-08-27 08:46:52 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-28 00:42:47 +0200 |
commit | e305ac6cf5a1e1386aedce7ef9cb773635d5845c (patch) | |
tree | 007743d3c9976466e35bb930464402cceabb21d5 /include/net/geneve.h | |
parent | geneve: Make dst-port configurable. (diff) | |
download | linux-e305ac6cf5a1e1386aedce7ef9cb773635d5845c.tar.xz linux-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.h | 3 |
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 */ |