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
/
datapath.c
diff --git
a/switch/datapath.c
b/switch/datapath.c
index 032b7ec7afbe00bfcb2a076351a06fded31b52f6..5d4590f1ac57bedb37191de85c070510225c8861 100644
(file)
--- a/
switch/datapath.c
+++ b/
switch/datapath.c
@@
-1448,6
+1448,7
@@
static int table_stats_dump(struct datapath *dp, void *state,
memset(ots->pad, 0, sizeof ots->pad);
ots->max_entries = htonl(stats.max_flows);
ots->active_count = htonl(stats.n_flows);
+ ots->lookup_count = htonll(stats.n_lookup);
ots->matched_count = htonll(stats.n_matched);
}
return 0;