diff options
author | Jarno Rajahalme <jrajahalme@nicira.com> | 2015-06-12 16:12:56 -0700 |
---|---|---|
committer | Jarno Rajahalme <jrajahalme@nicira.com> | 2015-06-12 16:12:56 -0700 |
commit | f695ebfae56c981332b9030b9ed905f90de8b0c5 (patch) | |
tree | e9ead8945a00e864ae6296b3c79376eb7ec3eff4 /include/openflow/openflow-common.h | |
parent | 18721c4a4d49416a0c63ca985988b000fc48f217 (diff) | |
download | openvswitch-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.h | 2 |
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 */ |