summaryrefslogtreecommitdiffstats
path: root/src/vnet/l2/l2_learn.h
diff options
context:
space:
mode:
authorJohn Lo <loj@cisco.com>2017-03-24 20:11:15 -0400
committerOle Trøan <otroan@employees.org>2017-03-28 22:36:13 +0000
commit58f061dca4cb049410a72bb21a9643f7acffa738 (patch)
tree3871125ca8e4df0809f06e9fad66badce823d78f /src/vnet/l2/l2_learn.h
parent45e526f36fb43f0b2c86d136ab563a3c5c412546 (diff)
Implement MAC Flush for BD or Interface from the L2FIB
Allow non-static MACs in the L2FIB which is associated with an interface or a bridge domain (BD) be flushed. MAC flush are initiated automatically when an interface is removed from a BD or when a BD is deleted. MAC flush can also be invoked manually via the following CLI: l2fib mac-flush interface <if-name> l2fib mac-flush bridge-domain <bd-id> Change-Id: Ie33243622834810a765f48ebcd22bdb8e8fc87a4 Signed-off-by: John Lo <loj@cisco.com>
Diffstat (limited to 'src/vnet/l2/l2_learn.h')
-rw-r--r--src/vnet/l2/l2_learn.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/l2/l2_learn.h b/src/vnet/l2/l2_learn.h
index 5bb1130b015..0d95de04b66 100644
--- a/src/vnet/l2/l2_learn.h
+++ b/src/vnet/l2/l2_learn.h
@@ -51,6 +51,7 @@ enum
{
L2_MAC_AGE_PROCESS_EVENT_START = 1,
L2_MAC_AGE_PROCESS_EVENT_STOP = 2,
+ L2_MAC_AGE_PROCESS_EVENT_ONE_PASS = 3,
} l2_mac_age_process_event_t;
#endif