[dts] [PATCH V1] framework/pmd_output: fix issue of start_testpmd

lihong lihongx.ma at intel.com
Mon Dec 9 01:08:30 CET 2019


Signed-off-by: lihong <lihongx.ma at intel.com>
---
 framework/pmd_output.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/framework/pmd_output.py b/framework/pmd_output.py
index 762f335..407b810 100644
--- a/framework/pmd_output.py
+++ b/framework/pmd_output.py
@@ -110,7 +110,7 @@ class PmdOutput():
         :return:
         """
         re_w_pci_str = '\s?-w\\s+.+?:.+?:.+?\\..+?[,.*=\d+]?\s|\s?-w\\s+.+?:.+?\\..+?[,.*=\d+]?\s'
-        re_file_prefix_str = '--file-prefix[=\s+].+\s'
+        re_file_prefix_str = '--file-prefix[\s*=]\S+\s'
         re_b_pci_str = '\s?-b\\s+.+?:.+?:.+?\\..+?[,.*=\d+]?\s|\s?-b\\s+.+?:.+?\\..+?[,.*=\d+]?\s'
         eal_param = eal_param + ' '
         # pci_str_list eg: ['-w   0000:1a:00.0 ', '-w 0000:1a:00.1,queue-num-per-vf=4 ', '-w 0000:aa:bb.1,queue-num-per-vf=4 ']
-- 
2.7.4



More information about the dts mailing list