From 8c3e20836972e720512e42f933b370b7a35325a5 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 29 Jun 2010 16:12:48 -0700 Subject: [PATCH] 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. --- ofproto/wdp.h | 13 ------------- 1 file changed, 13 deletions(-) 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 { -- 2.47.0