On Thu, Oct 22, 2015 at 03:29:02PM -0200, Thadeu Lima de Souza Cascardo wrote:
> From: Jiri Benc <jbenc-h+wxahxf7alqt0dzr+a...@public.gmane.org>
> 
> Note that because there's been no prerequisite on the outer protocol,
> we cannot add it now. Instead, treat the ipv4 and ipv6 dst fields in the way
> that either both are null, or at most one of them is non-null.
> 
> [cascardo: abstract testing either dst with flow_tnl_dst_is_set]
> 
> Signed-off-by: Jiri Benc <jb...@redhat.com>
> Signed-off-by: Thadeu Lima de Souza Cascardo <casca...@redhat.com>
> Co-authored-by: Thadeu Lima de Souza Cascardo <casca...@redhat.com>

One wonders whether it would be worth merging the ip_dst and ipv6_dst
fields in struct flow_tnl, using IPv6-mapped IPv4 addresses for the IPv4
case.  Did you consider that?
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to