[V1] tests/TestSuite_nic_single_core_perf:add Fwd_core into json file
Commit Message
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
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
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>
> ---
> add Fwd_core into json file
>
> Signed-off-by: lingwei <weix.ling@intel.com>
Applied.
@@ -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,