bridge: 'in_port' in flow_t is now an OpenFlow port number.
authorBen Pfaff <blp@nicira.com>
Tue, 13 Jul 2010 00:14:03 +0000 (17:14 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 13 Jul 2010 00:14:03 +0000 (17:14 -0700)
commitd8e7e8fca8e5ed93f469c2cb1dbea701fa9f60cd
tree79cca0231f5f5fb7339cf617a0c4a9da2304dc42
parente46d7d583fe7a6abc5b865f1ac5a27926aca9b83
bridge: 'in_port' in flow_t is now an OpenFlow port number.

Commit b79520fe4 (Restore ovs-vswitchd VLAN, mirror, bonding, QoS features
("xflow" only)) broke the treatment of flows arriving on the local port.
This is because previously these flows had an in_port of XFLOWP_LOCAL,
but now they have an in_port of OFPP_LOCAL.  This commit fixes the problem.

I don't know how this snuck through my testing, since it's trivial to find.
I did do testing; perhaps I didn't do testing with a controller at the
right stage in development.
vswitchd/bridge.c