Signed-off-by: Ethan Jackson <et...@nicira.com> --- ofproto/ofproto-dpif-upcall.c | 1 - ofproto/ofproto-dpif.c | 7 ------- 2 files changed, 8 deletions(-)
diff --git a/ofproto/ofproto-dpif-upcall.c b/ofproto/ofproto-dpif-upcall.c index dde6430..db57d29 100644 --- a/ofproto/ofproto-dpif-upcall.c +++ b/ofproto/ofproto-dpif-upcall.c @@ -58,7 +58,6 @@ struct handler { struct list upcalls OVS_GUARDED; size_t n_upcalls OVS_GUARDED; - size_t n_new_upcalls; /* Only changed by the dispatcher. */ bool need_signal; /* Only changed by the dispatcher. */ pthread_cond_t wake_cond; /* Wakes 'thread' while holding diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c index f90636b..e186b41 100644 --- a/ofproto/ofproto-dpif.c +++ b/ofproto/ofproto-dpif.c @@ -422,11 +422,6 @@ COVERAGE_DEFINE(rev_flow_table); COVERAGE_DEFINE(rev_mac_learning); COVERAGE_DEFINE(rev_inconsistency); -struct avg_subfacet_rates { - double add_rate; /* Moving average of new flows created per minute. */ - double del_rate; /* Moving average of flows deleted per minute. */ -}; - /* All datapaths of a given type share a single dpif backer instance. */ struct dpif_backer { char *type; @@ -456,7 +451,6 @@ struct dpif_backer { * exposed via "ovs-appctl dpif/show". The goal is to learn about * traffic patterns in ways that we can use later to improve Open vSwitch * performance in new situations. */ - long long int created; /* Time when it is created. */ unsigned max_n_subfacet; /* Maximum number of flows */ unsigned avg_n_subfacet; /* Average number of flows. */ long long int avg_subfacet_life; /* Average life span of subfacets. */ @@ -1225,7 +1219,6 @@ open_dpif_backer(const char *type, struct dpif_backer **backerp) backer->n_handler_threads = n_handler_threads; backer->max_n_subfacet = 0; - backer->created = time_msec(); backer->avg_n_subfacet = 0; backer->avg_subfacet_life = 0; -- 1.8.1.2 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev