[ovs-dev] [PATCH v2 06/47] connmgr: Support OFPFMF14_ONLY_OWN
Simon Horman
horms at verge.net.au
Tue Jun 10 10:27:10 UTC 2014
If the ONLY_OWN flag of a flow monitor is set then ofmonitor_report should
skip sending updates to other controllers.
This is in preparation for supporting OpenFlow1.4 flow monitors.
Signed-off-by: Simon Horman <horms at verge.net.au>
---
v2
* No change
---
ofproto/connmgr.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/ofproto/connmgr.c b/ofproto/connmgr.c
index 317e3f4..106ce78 100644
--- a/ofproto/connmgr.c
+++ b/ofproto/connmgr.c
@@ -2190,6 +2190,7 @@ ofmonitor_report(struct connmgr *mgr, struct rule *rule,
if (m->flags & update
&& (m->table_id == 0xff || m->table_id == rule->table_id)
&& ofoperation_has_out_port(rule->pending, m->out_port)
+ && (ofconn == abbrev_ofconn || !(m->flags & OFPFMF14_ONLY_OWN))
&& cls_rule_is_loose_match(&rule->cr, &m->match)) {
flags |= m->flags;
}
--
2.0.0.rc2
More information about the dev
mailing list