[dts] [PATCH V1 03/10] tests/TestSuite_ddp_ppp_l2tp.py: Instead of getting the rxq&txq value from common_base to rte_config.h
Zhou, Jun
junx.w.zhou at intel.com
Wed Sep 16 14:29:44 CEST 2020
Instead of getting the rxq&txq value from common_base to rte_config.h
Signed-off-by: Zhou, Jun <junx.w.zhou at intel.com>
---
tests/TestSuite_ddp_ppp_l2tp.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/TestSuite_ddp_ppp_l2tp.py b/tests/TestSuite_ddp_ppp_l2tp.py
index e5a19773..0ec4191d 100644
--- a/tests/TestSuite_ddp_ppp_l2tp.py
+++ b/tests/TestSuite_ddp_ppp_l2tp.py
@@ -19,9 +19,9 @@ class TestDdpPppL2tp(TestCase):
profile_file = 'dep/ppp-oe-ol2tpv2.pkgo'
profile_dst = "/tmp/"
self.dut.session.copy_file_to(profile_file, profile_dst)
- out = self.dut.send_expect("cat config/common_base", "]# ", 10)
- self.PF_Q_strip = 'CONFIG_RTE_LIBRTE_I40E_QUEUE_NUM_PER_PF'
- pattern = "(%s=)(\d*)" % self.PF_Q_strip
+ out = self.dut.send_expect("cat config/rte_config.h", "]# ", 10)
+ self.PF_Q_strip = 'RTE_LIBRTE_I40E_QUEUE_NUM_PER_PF'
+ pattern = "define (%s) (\d*)" % self.PF_Q_strip
self.PF_QUEUE = self.element_strip(out, pattern)
self.used_dut_port = self.dut_ports[0]
tester_port = self.tester.get_local_port(self.used_dut_port)
--
2.25.1
More information about the dts
mailing list