wdp: Add new wdp_class member function 'get_table_stats'.
authorBen Pfaff <blp@nicira.com>
Tue, 29 Jun 2010 23:12:02 +0000 (16:12 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 29 Jun 2010 23:14:22 +0000 (16:14 -0700)
commit840ee2faf6557892c0ce25d91f79a3ca144e3b70
tree821f5c374315f2ea7868a86e910f7bdc2e996a83
parent62a6e0437b6dbe455ac617744ae70529ecb22162
wdp: Add new wdp_class member function 'get_table_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.  There are only a few users of this structure.  This
commit gets rid of one of these users by adding a new member function in
place of building generic functionality on top of wdp_stats information.
ofproto/ofproto.c
ofproto/wdp-provider.h
ofproto/wdp-xflow.c
ofproto/wdp.c
ofproto/wdp.h