This may be useful for debugging (with dpctl)
Signed-off-by: Daniele Di Proietto <[email protected]>
---
lib/odp-util.c | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/lib/odp-util.c b/lib/odp-util.c
index 77e6ec5..b9e1e21 100644
--- a/lib/odp-util.c
+++ b/lib/odp-util.c
@@ -765,6 +765,16 @@ parse_odp_action(const char *s, const struct simap
*port_names,
}
}
+ {
+ uint32_t recirc_id;
+ int n = -1;
+
+ if (ovs_scan(s, "recirc(%"PRIu32")%n", &recirc_id, &n)) {
+ nl_msg_put_u32(actions, OVS_ACTION_ATTR_RECIRC, recirc_id);
+ return n;
+ }
+ }
+
if (!strncmp(s, "userspace(", 10)) {
return parse_odp_userspace_action(s, actions);
}
--
2.1.0.rc1
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev