diff options
| author | Ben Pfaff <blp@nicira.com> | 2011-05-11 12:26:06 -0700 |
|---|---|---|
| committer | Ben Pfaff <blp@nicira.com> | 2011-05-11 12:26:06 -0700 |
| commit | fa066f015f716c74315fed1a08912d003dfe3f8c (patch) | |
| tree | 8289ed37f237aaff5625e3348789a7a25e9fbe7f /utilities/ovs-openflowd.c | |
| parent | 1fa24dea754741732caa2ec2d04b365656d71962 (diff) | |
| download | openvswitch-fa066f015f716c74315fed1a08912d003dfe3f8c.tar.gz | |
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.
Diffstat (limited to 'utilities/ovs-openflowd.c')
| -rw-r--r-- | utilities/ovs-openflowd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utilities/ovs-openflowd.c b/utilities/ovs-openflowd.c index f54eb355d..c4d41d1ea 100644 --- a/utilities/ovs-openflowd.c +++ b/utilities/ovs-openflowd.c @@ -115,7 +115,7 @@ main(int argc, char *argv[]) VLOG_INFO("Open vSwitch version %s", VERSION BUILDNR); VLOG_INFO("OpenFlow protocol version 0x%02x", OFP_VERSION); - error = ofproto_create(s.dp_name, s.dp_type, NULL, NULL, &ofproto); + error = ofproto_create(s.dp_name, s.dp_type, &ofproto); if (error) { VLOG_FATAL("could not initialize OpenFlow switch (%s)", strerror(error)); |
