aboutsummaryrefslogtreecommitdiff
path: root/ofproto/ofproto.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2012-12-08 12:32:33 -0800
committerBen Pfaff <blp@nicira.com>2012-12-08 12:33:30 -0800
commitc4069512603ea753576911da052b3f233026886d (patch)
tree17d6c910dc43a956dc0063d1ce9980719144e7cf /ofproto/ofproto.h
parent93161ce9491e5399ceaf0e47e47a3eedf1b9be4c (diff)
vswitchd: Make the maximum size of MAC learning tables user-configurable.
We've had a couple of requests for this over the years. It's easy to do, so let's implement it. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Kyle Mestery <kmestery@cisco.com>
Diffstat (limited to 'ofproto/ofproto.h')
-rw-r--r--ofproto/ofproto.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ofproto/ofproto.h b/ofproto/ofproto.h
index e4abe523..dc5d9ce9 100644
--- a/ofproto/ofproto.h
+++ b/ofproto/ofproto.h
@@ -229,7 +229,8 @@ void ofproto_set_extra_in_band_remotes(struct ofproto *,
void ofproto_set_in_band_queue(struct ofproto *, int queue_id);
void ofproto_set_flow_eviction_threshold(struct ofproto *, unsigned threshold);
void ofproto_set_forward_bpdu(struct ofproto *, bool forward_bpdu);
-void ofproto_set_mac_idle_time(struct ofproto *, unsigned idle_time);
+void ofproto_set_mac_table_config(struct ofproto *, unsigned idle_time,
+ size_t max_entries);
void ofproto_set_desc(struct ofproto *,
const char *mfr_desc, const char *hw_desc,
const char *sw_desc, const char *serial_desc,