aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-dummy.c
diff options
context:
space:
mode:
authorAndy Zhou <azhou@nicira.com>2013-06-19 07:15:10 +0000
committerBen Pfaff <blp@nicira.com>2013-06-20 10:33:51 -0700
commite6cc0babc25de1800aeffad66d2804e64e5bd602 (patch)
tree72cc541897276ff2d6a656c65156caf82a55677d /lib/netdev-dummy.c
parenta1c564be1e2ffc31f8da09ab654c8ed987907fe5 (diff)
ovs-dpctl: Add mega flow support
Added support to allow mega flow specified and displayed. ovs-dpctl tool is mainly used as debugging tool. This patch also implements the low level user space routines to send and receive mega flow netlink messages. Those netlink suppor routines are required for forthcoming user space mega flow patches. Added a unit test to test parsing and display of mega flows. Ethan contributed the ovs-dpctl mega flow output function. Co-authored-by: Ethan Jackson <ethan@nicira.com> Signed-off-by: Ethan Jackson <ethan@nicira.com> Signed-off-by: Andy Zhou <azhou@nicira.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'lib/netdev-dummy.c')
-rw-r--r--lib/netdev-dummy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/netdev-dummy.c b/lib/netdev-dummy.c
index 3e2187e3..6f0e8f8e 100644
--- a/lib/netdev-dummy.c
+++ b/lib/netdev-dummy.c
@@ -623,7 +623,7 @@ eth_from_packet_or_flow(const char *s)
* settle for parsing a datapath key for now.
*/
ofpbuf_init(&odp_key, 0);
- error = odp_flow_key_from_string(s, NULL, &odp_key);
+ error = odp_flow_from_string(s, NULL, &odp_key, NULL);
if (error) {
ofpbuf_uninit(&odp_key);
return NULL;