[ovs-dev] [PATCH net-next v2 1/4] openvswitch: add tunnel protocol to sw_flow_key

Pravin Shelar pshelar at nicira.com
Fri Oct 2 00:10:52 UTC 2015

On Thu, Oct 1, 2015 at 7:44 AM, Jiri Benc <jbenc at redhat.com> wrote:
> Store tunnel protocol (AF_INET or AF_INET6) in sw_flow_key. This field now
> also acts as an indicator whether the flow contains tunnel data (this was
> previously indicated by tun_key.u.ipv4.dst being set but with IPv6 addresses
> in an union with IPv4 ones this won't work anymore).
> The new field was added to a hole in sw_flow_key.
> Signed-off-by: Jiri Benc <jbenc at redhat.com>
> ---
> v2: Set the tun_proto mask to 0xff in ip_tun_from_nlattr.
> ---
Acked-by: Pravin B Shelar <pshelar at nicira.com>

More information about the dev mailing list