aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/pkt_gen/moongen/moongen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pkt_gen/moongen/moongen.py b/tools/pkt_gen/moongen/moongen.py
index 86a39a77..790286d8 100644
--- a/tools/pkt_gen/moongen/moongen.py
+++ b/tools/pkt_gen/moongen/moongen.py
@@ -502,7 +502,7 @@ class Moongen(ITrafficGenerator):
if results_match and parameters_match and num_traffic_streams:
# Assume for now 10G link speed
max_theoretical_fps = (
- num_traffic_streams * (10000000000 / 8) / (frame_size + 20))
+ num_traffic_streams * (self._moongen_line_speed / 8) / (frame_size + 20))
moongen_results[ResultsConstants.THROUGHPUT_RX_FPS] = (
float(results_match.group(6)) * 1000000)