[dts] [PATCH V7]tests/port_control:fix wrong dts code
Zeng Xiaoxiao
xiaoxiaox.zeng at intel.com
Fri Mar 20 09:16:01 CET 2020
Signed-off-by: Zeng Xiaoxiao <xiaoxiaox.zeng at intel.com>
---
tests/TestSuite_port_control.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/TestSuite_port_control.py b/tests/TestSuite_port_control.py
index 7af19a5..385eff6 100644
--- a/tests/TestSuite_port_control.py
+++ b/tests/TestSuite_port_control.py
@@ -131,7 +131,7 @@ class TestPortControl(TestCase):
netdev = self.dut.ports_info[port]['port']
driver = netdev.get_nic_driver()
if driver != 'vfio-pci':
- netdev.bind_driver(driver=self.d)
+ netdev.bind_driver(driver='vfio-pci')
elif driver == "igb_uio":
# igb_uio should insmod as default, no need to check
--
1.8.3.1
More information about the dts
mailing list