[V2,7/9] framework/project_dpdk: optimize methods to adapt to MEV testing
Commit Message
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(-)
@@ -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):