projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added lookup count to ofp_table_stats.
[openvswitch]
/
switch
/
table-linear.c
diff --git
a/switch/table-linear.c
b/switch/table-linear.c
index 9a7a06cc855cafb69c36f9c1c9ce67b2259f478f..97f458f181ae91b9d2ec5aae03ccb4ccae85e19a 100644
(file)
--- a/
switch/table-linear.c
+++ b/
switch/table-linear.c
@@
-204,6
+204,7
@@
static void table_linear_stats(struct sw_table *swt,
stats->wildcards = OFPFW_ALL;
stats->n_flows = tl->n_flows;
stats->max_flows = tl->max_flows;
+ stats->n_lookup = swt->n_lookup;
stats->n_matched = swt->n_matched;
}