diff options
author | Ben Pfaff <blp@nicira.com> | 2015-04-16 09:01:54 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2015-04-20 17:58:16 -0700 |
commit | f4fa820c2111c654474c8d14f2e8ce938300309a (patch) | |
tree | 392a14a97ac0336d296fbec7fb951e36867eb0f1 /vswitchd | |
parent | 4e311c992e5b837e5513fc749ff8d700f498dee6 (diff) | |
download | openvswitch-f4fa820c2111c654474c8d14f2e8ce938300309a.tar.gz |
bridge: Remove unused macro OFP_PORT_ACTION_WINDOW.
I guess that this was missed when the corresponding feature was removed.
Reported-by: David Evans <davidjoshuaevans@gmail.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Russell Bryant <rbryant@redhat.com>
Diffstat (limited to 'vswitchd')
-rw-r--r-- | vswitchd/bridge.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c index fa30513bd..5dfe91c63 100644 --- a/vswitchd/bridge.c +++ b/vswitchd/bridge.c @@ -217,16 +217,6 @@ static long long int stats_timer = LLONG_MIN; #define AA_REFRESH_INTERVAL (1000) /* In milliseconds. */ static long long int aa_refresh_timer = LLONG_MIN; -/* In some datapaths, creating and destroying OpenFlow ports can be extremely - * expensive. This can cause bridge_reconfigure() to take a long time during - * which no other work can be done. To deal with this problem, we limit port - * adds and deletions to a window of OFP_PORT_ACTION_WINDOW milliseconds per - * call to bridge_reconfigure(). If there is more work to do after the limit - * is reached, 'need_reconfigure', is flagged and it's done on the next loop. - * This allows the rest of the code to catch up on important things like - * forwarding packets. */ -#define OFP_PORT_ACTION_WINDOW 10 - static void add_del_bridges(const struct ovsrec_open_vswitch *); static void bridge_run__(void); static void bridge_create(const struct ovsrec_bridge *); |