ofp-util: Make ofputil_cls_rule_to_match() help with flow cookies too.
authorBen Pfaff <blp@nicira.com>
Thu, 9 Dec 2010 22:19:51 +0000 (14:19 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 10 Dec 2010 19:14:13 +0000 (11:14 -0800)
commitff9d38264c74e2e807ba0fd759e44116d1203670
treebd889b759b1a50332ba08e6e92545f777603277c
parentcb833cf6c345d9b038ff2ab4fd11a2498cc07efb
ofp-util: Make ofputil_cls_rule_to_match() help with flow cookies too.

This fixes OpenFlow 1.0 flow stats reporting of flows added via NXM.

I noticed this problem while implementing 64-bit tunnel IDs, hence the
positioning.  The following commit adds a test.

Acked-by: Jesse Gross <jesse@nicira.com>
lib/ofp-util.c
lib/ofp-util.h
ofproto/ofproto.c
tests/test-flows.c