summaryrefslogtreecommitdiffstats
path: root/nfvbench/stats_manager.py
diff options
context:
space:
mode:
authorahothan <ahothan@cisco.com>2018-11-13 15:34:29 -0800
committerahothan <ahothan@cisco.com>2018-11-13 15:34:29 -0800
commit9527113c350f92b2293f596b6153f9c9d626f2af (patch)
tree192c3687ff689fc961b5874298b3d940675e781d /nfvbench/stats_manager.py
parent7a90e74a1390794b72fc5c3629e141f2def908d7 (diff)
NFVBENCH-108 Adjust exact frame size to take into account FCS field2.0.5
Minimum L2 frame size is now set to 64 bytes. If VLAN tagging, min frame size for the latency stream is 68 bytes. Also fix issue with interface baseline. Change-Id: If6ff7515c0112ab419070c86f7094ff88930d33b Signed-off-by: ahothan <ahothan@cisco.com>
Diffstat (limited to 'nfvbench/stats_manager.py')
-rw-r--r--nfvbench/stats_manager.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nfvbench/stats_manager.py b/nfvbench/stats_manager.py
index a1fb497..98ac413 100644
--- a/nfvbench/stats_manager.py
+++ b/nfvbench/stats_manager.py
@@ -73,9 +73,9 @@ class StatsManager(object):
def _update_interface_stats(self, diff=False):
"""Update interface stats for both the traffic generator and the worker."""
- self.traffic_client.update_interface_stats(diff=True)
+ self.traffic_client.update_interface_stats(diff)
if self.worker:
- self.worker.update_interface_stats(diff=True)
+ self.worker.update_interface_stats(diff)
def run_fixed_rate(self):
"""Run a fixed rate and analyze results."""