summaryrefslogtreecommitdiffstats
path: root/nfvbench/traffic_client.py
diff options
context:
space:
mode:
authorahothan <ahothan@cisco.com>2019-07-13 21:47:20 -0700
committerahothan <ahothan@cisco.com>2019-07-13 21:57:04 -0700
commit4ddc4d367bb5484906eada4f21260efed4fdf1a7 (patch)
tree98ebf08013cc23f0d24c88d1cc446f1aa70b0b16 /nfvbench/traffic_client.py
parent547b10033d41b2b9f8445816fceab87ebc4a03cb (diff)
NFVBENCH-140 Retrieve High Dynamic Range latency histograms with TRex v2.593.5.0
Change-Id: I48ac8c0cf920139bad966cb477e8ba1ae0d0fd43 Signed-off-by: ahothan <ahothan@cisco.com>
Diffstat (limited to 'nfvbench/traffic_client.py')
-rwxr-xr-xnfvbench/traffic_client.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/nfvbench/traffic_client.py b/nfvbench/traffic_client.py
index d69da0e..ec885f8 100755
--- a/nfvbench/traffic_client.py
+++ b/nfvbench/traffic_client.py
@@ -341,6 +341,7 @@ class GeneratorConfig(object):
else:
self.cores = gen_config.get('cores', 1)
self.mbuf_factor = config.mbuf_factor
+ self.hdrh = not config.disable_hdrh
if gen_config.intf_speed:
# interface speed is overriden from config
self.intf_speed = bitmath.parse_string(gen_config.intf_speed.replace('ps', '')).bits