[dts] [PATCH V2 7/9] framework/project_dpdk: optimize methods to adapt to MEV testing

Jiale Song songx.jiale at intel.com
Fri Aug 25 17:28:23 CEST 2023


optimize methods to adapt to MEV testing.

Signed-off-by: Jiale Song <songx.jiale at intel.com>
---
 framework/project_dpdk.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/framework/project_dpdk.py b/framework/project_dpdk.py
index 3f34ee02..919f25c9 100644
--- a/framework/project_dpdk.py
+++ b/framework/project_dpdk.py
@@ -77,6 +77,7 @@ class DPDKdut(Dut):
         # example apps by themselves and will fail otherwise.
         self.send_expect("export RTE_TARGET=" + self.target, "#")
         self.send_expect("export RTE_SDK=`pwd`", "#")
+        self.send_expect("export LD_LIBRARY_PATH=/usr/lib/", "#")
 
     def setup_modules(self, target, drivername, drivermode):
         """
@@ -421,7 +422,7 @@ class DPDKdut(Dut):
 
         bind_script_path = self.get_dpdk_bind_script()
         return self.send_expect(
-            "%s --force %s" % (bind_script_path, binding_list), "# "
+            "%s --force %s" % (bind_script_path, binding_list), "# ", timeout=60
         )
 
     def unbind_interfaces_linux(self, nics_to_bind=None):
-- 
2.25.1



More information about the dts mailing list