datapath: Drop flow information from odp_stats.
authorBen Pfaff <blp@nicira.com>
Wed, 5 Jan 2011 00:43:50 +0000 (16:43 -0800)
committerBen Pfaff <blp@nicira.com>
Fri, 28 Jan 2011 05:08:38 +0000 (21:08 -0800)
commitea7bd5973fb426f3a6ea66b0953c6000980e77ec
tree891a336ee4552737e08baeb2bfe8bb41e9468c00
parentc19e653509deb3f1002c4ed99714e16549ec74e9
datapath: Drop flow information from odp_stats.

Userspace used to use the n_flows information here to decide how much
memory needed to be allocated to list flows, but that isn't necessary any
longer now that listing flows uses an iterator abstraction.  The
cur_capacity and max_capacity members are just curiosities and don't
provide much information; if the implementation ever changes away from
the current hash table implementation then they could become meaningless
anyhow.

But more than anything, these aren't really the kind of statistics that
networking people usually care about.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
datapath/datapath.c
include/openvswitch/datapath-protocol.h
lib/dpif-netdev.c
utilities/ovs-dpctl.c