diff options
author | Alexei Starovoitov <ast@fb.com> | 2016-09-15 23:00:29 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-09-17 17:13:07 +0300 |
commit | cfc7381b3002756b1dcada32979e942aa3126e31 (patch) | |
tree | 7a048b7bbe3d77d6cc70c235b9fe88b44c861537 /net/ipv6/ip6_tunnel.c | |
parent | eb94737d711913a23e466b99c0d9ffdf15651290 (diff) | |
download | linux-cfc7381b3002756b1dcada32979e942aa3126e31.tar.xz |
ip_tunnel: add collect_md mode to IPIP tunnel
Similar to gre, vxlan, geneve tunnels allow IPIP tunnels to
operate in 'collect metadata' mode.
bpf_skb_[gs]et_tunnel_key() helpers can make use of it right away.
ovs can use it as well in the future (once appropriate ovs-vport
abstractions and user apis are added).
Note that just like in other tunnels we cannot cache the dst,
since tunnel_info metadata can be different for every packet.
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Thomas Graf <tgraf@suug.ch>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_tunnel.c')
0 files changed, 0 insertions, 0 deletions