diff options
author | Andy Zhou <azhou@nicira.com> | 2013-10-21 14:37:34 -0700 |
---|---|---|
committer | Jesse Gross <jesse@nicira.com> | 2013-10-22 10:23:22 -0700 |
commit | 847108dc297d15becbde436174d1a4bb348e64d1 (patch) | |
tree | 9ef5acf252423fe43efa2ffa02ded2a49ee31446 /lib/dpif.h | |
parent | 4fa72a95722f74ebee61254f06bb171e9207f9c1 (diff) |
dpif-linux: collect and display mega flow mask stats
Signed-off-by: Andy Zhou <azhou@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'lib/dpif.h')
-rw-r--r-- | lib/dpif.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -387,6 +387,9 @@ struct dpif_dp_stats { uint64_t n_missed; /* Number of flow table misses. */ uint64_t n_lost; /* Number of misses not sent to userspace. */ uint64_t n_flows; /* Number of flows present. */ + uint64_t n_masks; /* Number of mega flow masks. */ + uint64_t n_mask_hit; /* Number of mega flow masks visited for + flow table matches. */ }; int dpif_get_dp_stats(const struct dpif *, struct dpif_dp_stats *); |