[ovs-discuss] flow_fields_match() in Open vSwitch?

Ben Pfaff blp at nicira.com
Tue Feb 2 20:54:19 UTC 2010


On Tue, Feb 02, 2010 at 06:45:03PM -0200, Macapuna, Carlos A. B. wrote:
> We extended the OpenFlow reference implementation (v.89 and v1.0) to
> support wildcarded flow matching on arbitrary bitmasks of the Ethernet
> fields. It was a straightforward task, needing only a slightly
> modification of the function (flow_fields_match) within the flow.c
> (openflow-1.0.0/udatapath/switch-flow.c or
> openflow-0.9.0/datapath/flow.c):
[...]
> As we want to support the same functionality in Open vSwitches, we
> have looked at the code to make the same customization but had no
> success so far in finding where the flow match is performed in Open
> vSwitch, noting that flow.c is quite different from flow.c in
> OpenFlow.

I think that you just need to replace flow_wildcards_init() in
lib/flow.h.




More information about the discuss mailing list