summaryrefslogtreecommitdiffstats
path: root/tools/pkt_gen/ixnet/ixnet.py
diff options
context:
space:
mode:
authorRadek Zetik <radekx.zetik@intel.com>2015-09-22 05:12:48 +0100
committerMaryam Tahhan <maryam.tahhan@intel.com>2015-10-06 14:17:31 +0000
commitaeecf9f55f8d78514e61f6766f9cae262f6d5d8c (patch)
tree95ec40ebb3cee4b809962dfc3a55269bc0aa957a /tools/pkt_gen/ixnet/ixnet.py
parent8312bd4367395fdba877f084d1f72590f10c44c7 (diff)
Remove reported derived performance figures
Since vsperf (ixnet trafficgen) started using AggResults.csv to pull out traffic results after bi-dir support was added. Some of the derived results are wrong (derived meaning these are figures vsperf calculates from the info available in the raw ixnet results). JIRA: VSPERF-88 Change-Id: I79d88bfc7718bda675d2ba7e5148053405a94211 Signed-off-by: Radek Zetik <radekx.zetik@intel.com> Reviewed-by: Billy O Mahony <billy.o.mahony@intel.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com>
Diffstat (limited to 'tools/pkt_gen/ixnet/ixnet.py')
-rwxr-xr-xtools/pkt_gen/ixnet/ixnet.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/pkt_gen/ixnet/ixnet.py b/tools/pkt_gen/ixnet/ixnet.py
index 28ee8aaf..866a803e 100755
--- a/tools/pkt_gen/ixnet/ixnet.py
+++ b/tools/pkt_gen/ixnet/ixnet.py
@@ -350,10 +350,11 @@ class IxNet(trafficgen.ITrafficGenerator):
for row in reader:
#Replace null entries added by Ixia with 0s.
row = [entry if len(entry) > 0 else '0' for entry in row]
- # calculate tx fps by (rx fps * (tx % / rx %))
- tx_fps = float(row[5]) * (float(row[4]) / float(row[3]))
- # calculate tx mbps by (rx mbps * (tx % / rx %))
- tx_mbps = float(row[6]) * (float(row[4]) / float(row[3]))
+
+ # tx_fps and tx_mps cannot be reliably calculated
+ # as the DUT may be modifying the frame size
+ tx_fps = 'Unknown'
+ tx_mbps = 'Unknown'
if bool(results.get(ResultsConstants.THROUGHPUT_RX_FPS)) \
== False: