bridge: Move packet processing functionality into ofproto.
authorBen Pfaff <blp@nicira.com>
Wed, 11 May 2011 19:26:06 +0000 (12:26 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 11 May 2011 19:26:06 +0000 (12:26 -0700)
commitfa066f015f716c74315fed1a08912d003dfe3f8c
tree8289ed37f237aaff5625e3348789a7a25e9fbe7f
parent1fa24dea754741732caa2ec2d04b365656d71962
bridge: Move packet processing functionality into ofproto.

Until now, packet processing in ovs-vswitchd has been split between two
components: ofproto, for basic OpenFlow functionality, and bridge, for
OFPP_NORMAL processing.  This architecture will not work as Open vSwitch
starts to support a wider variety of underlying hardware, because it
imposes a model in which the bridge needs to be able to look at every
exact-match flow within a OpenFlow flow, which most hardware doesn't
support.

Therefore, this commit moves all of the packet processing code in
bridge into ofproto, as preparation for generalizing further.
PORTING
ofproto/ofproto.c
ofproto/ofproto.h
utilities/ovs-openflowd.c
vswitchd/bridge.c