Remove reported derived performance figures 13/2113/3
authorRadek Zetik <radekx.zetik@intel.com>
Tue, 22 Sep 2015 04:12:48 +0000 (05:12 +0100)
committerMaryam Tahhan <maryam.tahhan@intel.com>
Tue, 6 Oct 2015 14:17:31 +0000 (14:17 +0000)
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>
tools/pkt_gen/ixnet/ixnet.py

index 28ee8aa..866a803 100755 (executable)
@@ -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: