summaryrefslogtreecommitdiff
path: root/include/openflow/openflow-common.h
diff options
context:
space:
mode:
authorJarno Rajahalme <jrajahalme@nicira.com>2015-06-12 16:12:56 -0700
committerJarno Rajahalme <jrajahalme@nicira.com>2015-06-12 16:12:56 -0700
commitf695ebfae56c981332b9030b9ed905f90de8b0c5 (patch)
treee9ead8945a00e864ae6296b3c79376eb7ec3eff4 /include/openflow/openflow-common.h
parent18721c4a4d49416a0c63ca985988b000fc48f217 (diff)
downloadopenvswitch-f695ebfae56c981332b9030b9ed905f90de8b0c5.tar.gz
ofproto: Postpone sending flow removed messages.
The final flow stats are available only after there are no references to the rule. Postpone sending the flow removed message until the final stats are available. Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'include/openflow/openflow-common.h')
-rw-r--r--include/openflow/openflow-common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/openflow/openflow-common.h b/include/openflow/openflow-common.h
index e4fecceef..d32213fb9 100644
--- a/include/openflow/openflow-common.h
+++ b/include/openflow/openflow-common.h
@@ -301,6 +301,8 @@ enum ofp_flow_removed_reason {
OFPRR_GROUP_DELETE, /* Group was removed. */
OFPRR_METER_DELETE, /* Meter was removed. */
OFPRR_EVICTION, /* Switch eviction to free resources. */
+
+ OVS_OFPRR_NONE /* OVS internal_use only, keep last!. */
};
/* What changed about the physical port */