From 6dda6931d1d8f99d944d85770e235bfe75db0eb6 Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Wed, 21 Aug 2019 17:35:27 +0200 Subject: Perf: allow testing with cached route attributes. --- proto/perf/config.Y | 2 ++ 1 file changed, 2 insertions(+) (limited to 'proto/perf/config.Y') diff --git a/proto/perf/config.Y b/proto/perf/config.Y index 60a96c11..7cab8333 100644 --- a/proto/perf/config.Y +++ b/proto/perf/config.Y @@ -31,6 +31,7 @@ perf_proto_start: proto_start PERF PERF_CFG->repeat = 4; PERF_CFG->threshold_max = 500 MS_; PERF_CFG->threshold_min = 1 MS_; + PERF_CFG->attrs_per_rte = 0; PERF_CFG->keep = 0; PERF_CFG->mode = PERF_MODE_IMPORT; }; @@ -48,6 +49,7 @@ perf_proto_item: | REPEAT NUM { PERF_CFG->repeat = $2; } | THRESHOLD MIN expr_us { PERF_CFG->threshold_min = $3; } | THRESHOLD MAX expr_us { PERF_CFG->threshold_max = $3; } + | ATTRIBUTES NUM { PERF_CFG->attrs_per_rte = $2; } | KEEP bool { PERF_CFG->keep = $2; } | MODE IMPORT { PERF_CFG->mode = PERF_MODE_IMPORT; } | MODE EXPORT { PERF_CFG->mode = PERF_MODE_EXPORT; } -- cgit v1.2.3