mirror of
https://github.com/openvswitch/ovs
synced 2025-10-25 15:07:05 +00:00
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>
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user