[V1] framework/pmd_output: fix rx mode parameter may be duplicated
Commit Message
the rx mode eal param force-max-simd-bitwidth may be duplicated
when it is setted both in execution.cfg and suite, fix it by
passing the eal parm to create_eal_parameter.
Signed-off-by: Haiyang Zhao <haiyangx.zhao@intel.com>
---
framework/pmd_output.py | 1 +
1 file changed, 1 insertion(+)
Comments
Tested-by: Haiyang Zhao <haiyangx.zhao@intel.com>
Best Regards,
Zhao Haiyang
> -----Original Message-----
> From: Haiyang Zhao <haiyangx.zhao@intel.com>
> Sent: Thursday, December 24, 2020 15:14
> To: dts@dpdk.org
> Cc: Zhao, HaiyangX <haiyangx.zhao@intel.com>
> Subject: [dts][PATCH V1] framework/pmd_output: fix rx mode parameter
> may be duplicated
> the rx mode eal param force-max-simd-bitwidth may be duplicated when it
> is setted both in execution.cfg and suite, fix it by passing the eal parm to
> create_eal_parameter.
>
> Signed-off-by: Haiyang Zhao <haiyangx.zhao@intel.com>
Applied
@@ -133,6 +133,7 @@ class PmdOutput():
file_prefix = tmp[-1].strip()
config['prefix'] = file_prefix
eal_param = re.sub(re_file_prefix, '', eal_param)
+ config['other_eal_param'] = eal_param
config['cores'] = cores
if ' -w ' not in eal_param and ' -a ' not in eal_param and ' -b ' not in eal_param \