[V1] tests/TestSuite_nic_single_core_perf:add Fwd_core into json file

Message ID 20201019141857.108812-1-weix.ling@intel.com (mailing list archive)
State Accepted
Headers
Series [V1] tests/TestSuite_nic_single_core_perf:add Fwd_core into json file |

Commit Message

Ling, WeiX Oct. 19, 2020, 2:18 p.m. UTC
  add Fwd_core into json file

Signed-off-by: lingwei <weix.ling@intel.com>
---
 tests/TestSuite_nic_single_core_perf.py | 2 ++
 1 file changed, 2 insertions(+)
  

Comments

Ling, WeiX Oct. 19, 2020, 7:23 a.m. UTC | #1
Tested-by: Ling, Wei <weix.ling@intel.com>

Regards,
Ling Wei

> -----Original Message-----
> From: lingwei <weix.ling@intel.com>
> Sent: Monday, October 19, 2020 10:19 PM
> To: dts@dpdk.org
> Cc: Ling, WeiX <weix.ling@intel.com>
> Subject: [dts][PATCH V1] tests/TestSuite_nic_single_core_perf:add
> Fwd_core into json file
  
Ma, LihongX Oct. 19, 2020, 8:02 a.m. UTC | #2
Acked-by: Lihong Ma<lihongx.ma@intel.com>

Regards,
Ma,lihong

> -----Original Message-----
> From: dts <dts-bounces@dpdk.org> On Behalf Of lingwei
> Sent: Monday, October 19, 2020 10:19 PM
> To: dts@dpdk.org
> Cc: Ling, WeiX <weix.ling@intel.com>
> Subject: [dts] [PATCH V1] tests/TestSuite_nic_single_core_perf:add Fwd_core
> into json file
> 
> add Fwd_core into json file
> 
> Signed-off-by: lingwei <weix.ling@intel.com>
> ---
  
Tu, Lijuan Oct. 27, 2020, 8:49 a.m. UTC | #3
> add Fwd_core into json file
> 
> Signed-off-by: lingwei <weix.ling@intel.com>

Applied.
  

Patch

diff --git a/tests/TestSuite_nic_single_core_perf.py b/tests/TestSuite_nic_single_core_perf.py
index 9bc421b..e93ee46 100644
--- a/tests/TestSuite_nic_single_core_perf.py
+++ b/tests/TestSuite_nic_single_core_perf.py
@@ -364,9 +364,11 @@  class TestNicSingleCorePerf(TestCase):
                     row_dict1 = dict(name="Throughput", value=result_throughput, unit="Mpps", delta=delta)
                     row_dict2 = dict(name="Txd/Rxd", value=row_in["TXD/RXD"], unit="descriptor")
                     row_dict3 = dict(name="frame_size", value=row_in["Frame Size"], unit="bytes")
+                    row_dict4 = dict(name="Fwd_core", value=row_in["Fwd_core"])
                     row_dict0['performance'].append(row_dict1)
                     row_dict0['parameters'].append(row_dict2)
                     row_dict0['parameters'].append(row_dict3)
+                    row_dict0['parameters'].append(row_dict4)
                     json_obj[case_name].append(row_dict0)
                     status_result.append(row_dict0['status'])
         with open(os.path.join(rst.path2Result,