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

Message ID 20230825152825.2831565-8-songx.jiale@intel.com (mailing list archive)
State Superseded
Headers
Series add functions to test MEV |

Commit Message

Jiale Song Aug. 25, 2023, 3:28 p.m. UTC
  optimize methods to adapt to MEV testing.

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

Patch

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):