aboutsummaryrefslogtreecommitdiff
path: root/lib/mac-learning.h
diff options
context:
space:
mode:
authorEthan Jackson <ethan@nicira.com>2012-01-25 11:44:30 -0800
committerEthan Jackson <ethan@nicira.com>2012-01-25 13:11:07 -0800
commitd0040604727e1582abbc28fa62903a822453c99f (patch)
tree7f8574ca15fc3b9b9f0b54520930b7a72f033f02 /lib/mac-learning.h
parent9dc114749e795044c027a2706132b591847e49de (diff)
mac-learning: Only revalidate relevant flows upon flush.
Most callers of mac_learning_flush() need to revalidate all flows anyway, but this update forces new callers of mac_learning_flush() to think about whether or not they need to explicitly handle revalidation. Also, it's theoretically more efficient when there are lots of flows but the learning table is empty, (e.g. bridges that don't use the NORMAL action). Signed-off-by: Ethan Jackson <ethan@nicira.com>
Diffstat (limited to 'lib/mac-learning.h')
-rw-r--r--lib/mac-learning.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mac-learning.h b/lib/mac-learning.h
index 0263e498..ab739545 100644
--- a/lib/mac-learning.h
+++ b/lib/mac-learning.h
@@ -109,6 +109,6 @@ struct mac_entry *mac_learning_lookup(const struct mac_learning *,
/* Flushing. */
void mac_learning_expire(struct mac_learning *, struct mac_entry *);
-void mac_learning_flush(struct mac_learning *);
+void mac_learning_flush(struct mac_learning *, struct tag_set *);
#endif /* mac-learning.h */