[V1,1/2] framework/pmd_output: add other eal param into config

Message ID 20201106095535.5650-2-haiyangx.zhao@intel.com (mailing list archive)
State Accepted
Headers
Series framework: fix the issue of eal param may be duplicated |

Commit Message

Zhao, HaiyangX Nov. 6, 2020, 9:55 a.m. UTC
  *.save other eal param in config,so it can check if
  the eal param is duplicate in create_eal_parameter.

Signed-off-by: Haiyang Zhao <haiyangx.zhao@intel.com>
---
 framework/pmd_output.py | 1 +
 1 file changed, 1 insertion(+)
  

Patch

diff --git a/framework/pmd_output.py b/framework/pmd_output.py
index 94a8f7c..6557f9c 100644
--- a/framework/pmd_output.py
+++ b/framework/pmd_output.py
@@ -162,6 +162,7 @@  class PmdOutput():
             all_eal_param = self.dut.create_eal_parameters(fixed_prefix=fixed_prefix, socket=socket, **config)
         else:
             w_pci_list, port_options, b_pci_list, file_prefix, no_pci, other_eal_str = self.split_eal_param(eal_param)
+            config['other_eal_param'] = other_eal_str
             if no_pci:
                 config['no_pci'] = no_pci
             if w_pci_list: