Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
64 bit per-thread counters
[vpp.git]
/
src
/
vpp
/
api
/
api.c
diff --git
a/src/vpp/api/api.c
b/src/vpp/api/api.c
index
d8301fa
..
8df4040
100644
(file)
--- a/
src/vpp/api/api.c
+++ b/
src/vpp/api/api.c
@@
-849,7
+849,7
@@
vl_api_vnet_get_summary_stats_t_handler (vl_api_vnet_get_summary_stats_t * mp)
{
which = cm - im->combined_sw_if_counters;
- for (i = 0; i < v
ec_len (cm->maxi
); i++)
+ for (i = 0; i < v
lib_combined_counter_n_counters (cm
); i++)
{
vlib_get_combined_counter (cm, i, &v);
total_pkts[which] += v.packets;