From: Ben Pfaff Date: Tue, 29 Jun 2010 23:12:48 +0000 (-0700) Subject: wdp: Get rid of most members of struct wdp_stats. X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=8c3e20836972e720512e42f933b370b7a35325a5;p=sliver-openvswitch.git wdp: Get rid of most members of struct wdp_stats. The wdp_stats structure is really a relic from the "master" branch. Many of its members do not make sense in a switch that might have an arbitrary number of tables. Only one member of this structure is currently used, so this commit gets rid of the rest. --- diff --git a/ofproto/wdp.h b/ofproto/wdp.h index f2dddc369..2ba583939 100644 --- a/ofproto/wdp.h +++ b/ofproto/wdp.h @@ -48,20 +48,7 @@ struct wdp_table_stats { }; struct wdp_stats { - struct wdp_table_stats exact; - struct wdp_table_stats wild; - - /* Ports. */ - unsigned int n_ports; /* Current number of ports. */ unsigned int max_ports; /* Maximum supported number of ports. */ - - /* Lookups. */ - unsigned long long int n_frags; /* Number of dropped IP fragments. */ - - /* Queues. */ - unsigned int max_miss_queue; /* Max length of WDP_CHAN_MISS queue. */ - unsigned int max_action_queue; /* Max length of WDP_CHAN_ACTION queue. */ - unsigned int max_sflow_queue; /* Max length of WDP_CHAN_SFLOW queue. */ }; struct wdp_rule {