diff options
author | Ben Pfaff <blp@nicira.com> | 2012-07-03 14:23:10 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2012-07-12 14:12:58 -0700 |
commit | 1d31ece9c09ecd31ed524f0f83573e8780774abb (patch) | |
tree | df0143b6e9274a3c08dd1facae84b74f5100cf49 /include/openflow/openflow-common.h | |
parent | 5cc63216b1dba9be9ac243d9b47f65d3e23bcab6 (diff) | |
download | openvswitch-1d31ece9c09ecd31ed524f0f83573e8780774abb.tar.gz |
Add OFPRR_EVICTION to enum ofp_flow_removed_reason.
This is likely to be part of OpenFlow 1.3.1 or 1.4 and we have use for it
beforehand to report evicted flows.
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'include/openflow/openflow-common.h')
-rw-r--r-- | include/openflow/openflow-common.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/openflow/openflow-common.h b/include/openflow/openflow-common.h index bb4de0b0e..fe91b1076 100644 --- a/include/openflow/openflow-common.h +++ b/include/openflow/openflow-common.h @@ -280,7 +280,8 @@ enum ofp_flow_removed_reason { OFPRR_IDLE_TIMEOUT, /* Flow idle time exceeded idle_timeout. */ OFPRR_HARD_TIMEOUT, /* Time exceeded hard_timeout. */ OFPRR_DELETE, /* Evicted by a DELETE flow mod. */ - OFPRR_GROUP_DELETE /* Group was removed. */ + OFPRR_GROUP_DELETE, /* Group was removed. */ + OFPRR_EVICTION, /* Switch eviction to free resources. */ }; /* What changed about the physical port */ |