[ovs-dev] [PATCH v3 37/41] ofp-util: Support decoding of EXT-187 replies
Simon Horman
horms at verge.net.au
Mon Jun 16 02:29:57 UTC 2014
Support decoding of EXT-187: flow entry notification extension
(ONF flow monitor) replies.
This re-uses existing Nicira extension code as other than the header
the wire format is the same.
Signed-off-by: Simon Horman <horms at verge.net.au>
---
v2
* First post
---
lib/ofp-util.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/ofp-util.c b/lib/ofp-util.c
index 407e807..ed06430 100644
--- a/lib/ofp-util.c
+++ b/lib/ofp-util.c
@@ -5797,7 +5797,8 @@ ofputil_decode_flow_update(struct ofputil_flow_update *update,
if (raw == OFPRAW_OFPST14_FLOW_MONITOR_REPLY) {
error = ofputil_of14_decode_flow_update(update, msg, ofpacts);
- } else if (raw == OFPRAW_NXST_FLOW_MONITOR_REPLY) {
+ } else if (raw == OFPRAW_ONFST13_FLOW_MONITOR_REPLY
+ || raw == OFPRAW_NXST_FLOW_MONITOR_REPLY) {
error = ofputil_nx_decode_flow_update(update, msg, ofpacts);
} else {
OVS_NOT_REACHED();
--
2.0.0.rc2
More information about the dev
mailing list