[ovs-git] Open vSwitch: ofproto: Make rule construction and destruction more symmetric. (next)
dev at openvswitch.org
dev at openvswitch.org
Tue Apr 26 13:50:36 PDT 2011
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".
The branch, next has been updated
via fb37d39833663823ccec50e2fa3b082a8edf265c (commit)
via 6c75fc7a283289aa48f2ab1faf3a1463335bb3ed (commit)
via 73b9ae940179764e0399508c3930ea915aa993e4 (commit)
via 6357dc1ec9b7646dd21a1fcebdb91d1ee91db4b7 (commit)
via cdd71b8a8db2b0e50c641cd5cf27414748a5f78d (commit)
via cafa09dd8e15c2d970b9f6008815b10445012123 (commit)
via 1142aa5e361943ef9de17f86bbb4647ac21470f0 (commit)
from 4e69744de8f2326a43fa4b8d753d848bb370084a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit fb37d39833663823ccec50e2fa3b082a8edf265c
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=fb37d39833663823ccec50e2fa3b082a8edf265c
Author: Ben Pfaff <blp at nicira.com>
ofproto: Make rule construction and destruction more symmetric.
Before, ->rule_construct() both created the rule and inserted into the
flow table, but ->rule_destruct() only destroyed the rule. This makes
->rule_destruct() also remove the rule from the flow table.
commit 6c75fc7a283289aa48f2ab1faf3a1463335bb3ed
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=6c75fc7a283289aa48f2ab1faf3a1463335bb3ed
Author: Ben Pfaff <blp at nicira.com>
classifier: Remove OF1.0 special case from classifier_find_rule_exactly().
This special case should never have actually triggered in practice, because
OpenFlow 1.0 cannot set up an exact-match rule as defined by
flow_wildcards_is_exact(). (OpenFlow 1.0 will always, for example,
wildcard all NXM registers.)
OVS implements this OF1.0 special case differently, by changing flow
priority to 65535 in cls_rule_from_match() if the flow is an exact match as
defined by OpenFlow 1.0.
commit 73b9ae940179764e0399508c3930ea915aa993e4
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=73b9ae940179764e0399508c3930ea915aa993e4
Author: Ben Pfaff <blp at nicira.com>
ofproto: Remove unused coverage counters.
These were mostly moved into ofproto-dpif.c, but the definitions weren't
deleted along with them.
commit 6357dc1ec9b7646dd21a1fcebdb91d1ee91db4b7
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=6357dc1ec9b7646dd21a1fcebdb91d1ee91db4b7
Author: Ben Pfaff <blp at nicira.com>
ofproto: Update some comments.
commit cdd71b8a8db2b0e50c641cd5cf27414748a5f78d
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=cdd71b8a8db2b0e50c641cd5cf27414748a5f78d
Author: Ben Pfaff <blp at nicira.com>
ofproto: Eliminate reference to dpif_upcall from ofproto.
The dpif_upcall structure is specific to the ofproto-dpif implementation.
The generic ofproto and connmgr interface have no business using it, so
this commit switches to using ofputil_packet_in instead.
commit cafa09dd8e15c2d970b9f6008815b10445012123
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=cafa09dd8e15c2d970b9f6008815b10445012123
Author: Ben Pfaff <blp at nicira.com>
Remove unneeded #include directives.
commit 1142aa5e361943ef9de17f86bbb4647ac21470f0
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=1142aa5e361943ef9de17f86bbb4647ac21470f0
Author: Ben Pfaff <blp at nicira.com>
ofproto: Better document the ofproto_class interface.
Also, make a few minor adjustments to the interface so that it makes a
little more sense.
-----------------------------------------------------------------------
Summary of changes:
lib/classifier.c | 28 +++++--
lib/classifier.h | 3 +-
ofproto/connmgr.c | 50 ++++++-------
ofproto/connmgr.h | 4 +-
ofproto/ofproto-dpif.c | 42 ++++++-----
ofproto/ofproto.c | 96 ++++++------------------
ofproto/pinsched.c | 6 +-
ofproto/private.h | 193 +++++++++++++++++++++++++++++++++++++++++++---
tests/test-classifier.c | 12 ++--
utilities/ovs-ofctl.c | 2 +-
vswitchd/bridge.c | 23 ------
11 files changed, 283 insertions(+), 176 deletions(-)
hooks/post-receive
--
Open vSwitch
More information about the git
mailing list