Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Route counters in the stats segment
[vpp.git]
/
src
/
vnet
/
dpo
/
load_balance.c
diff --git
a/src/vnet/dpo/load_balance.c
b/src/vnet/dpo/load_balance.c
index
ae95b6e
..
37f8ca1
100644
(file)
--- a/
src/vnet/dpo/load_balance.c
+++ b/
src/vnet/dpo/load_balance.c
@@
-53,7
+53,16
@@
load_balance_t *load_balance_pool;
/**
* The one instance of load-balance main
*/
/**
* The one instance of load-balance main
*/
-load_balance_main_t load_balance_main;
+load_balance_main_t load_balance_main = {
+ .lbm_to_counters = {
+ .name = "route-to",
+ .stat_segment_name = "/net/route/to",
+ },
+ .lbm_via_counters = {
+ .name = "route-via",
+ .stat_segment_name = "/net/route/via",
+ }
+};
f64
load_balance_get_multipath_tolerance (void)
f64
load_balance_get_multipath_tolerance (void)