Clarify tunnel wildcarding.
authorJarno Rajahalme <jrajahalme@nicira.com>
Fri, 11 Apr 2014 19:39:24 +0000 (12:39 -0700)
committerJarno Rajahalme <jrajahalme@nicira.com>
Fri, 11 Apr 2014 19:39:24 +0000 (12:39 -0700)
commit3cccd4084392fc05838eb001b1f8ddba23b53321
tree7c7cb9c61f06dd5a34b3bca46be889517090f161
parentf085ba1e8ade76aba2273303b601565b8c12fb8d
Clarify tunnel wildcarding.

It would seem we should set the 'tunnel.ip_dst' in 'wc' when calling
tnl_port_should_receive(), as it is reading that flow field.  However,
since tunnels' datapath port numbers are different from the non-tunnel
ports, and we always unwildcard the 'in_port', we do not need to
unwildcard the 'tunnel.ip_dst' for non-tunneled packets.

Also, 'nw_tos' need not be unwildcarded if it is not examined.

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
ofproto/tunnel.c