[ovs-dev] [warnings 5/8] ofp-util: Revise OpenFlow 1.0 ofp_match normalization.

Ethan Jackson ethan at nicira.com
Fri May 13 01:47:27 UTC 2011


Looks Good with the ofp-util.h fix.

Ethan

On Tue, May 10, 2011 at 09:03, Ben Pfaff <blp at nicira.com> wrote:
> On Mon, May 02, 2011 at 12:58:01PM -0700, Ben Pfaff wrote:
>> For a long time, Open vSwitch has "normalized" OpenFlow 1.0 flows in a
>> funny way: it tries to change fields that are wildcarded into fields
>> that are exact-match.  For example, the normalize_match() function
>> knows that if dl_type is wildcarded, then all of the L3 and L4 fields
>> will always be extracted as 0, so it sets those fields to exact-match
>> and their values to 0.
>
> This commit deleted ofp_match_to_literal_string() from ofp-util.c but
> failed to delete its prototype from ofp-util.h.  I've squashed in a
> fix.
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
>



More information about the dev mailing list