[dts][PATCH V1] tests/vhost_event_idx_interrupt_cbdma: delete bind NIC ports step

Dukai Yuan dukaix.yuan at intel.com
Fri Dec 30 10:15:53 CET 2022


Delete bind NIC ports step as this testsuite no need NIC port.

Signed-off-by: Dukai Yuan <dukaix.yuan at intel.com>
---
 tests/TestSuite_vhost_event_idx_interrupt_cbdma.py | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/tests/TestSuite_vhost_event_idx_interrupt_cbdma.py b/tests/TestSuite_vhost_event_idx_interrupt_cbdma.py
index adf27e01..bf06f23a 100644
--- a/tests/TestSuite_vhost_event_idx_interrupt_cbdma.py
+++ b/tests/TestSuite_vhost_event_idx_interrupt_cbdma.py
@@ -339,7 +339,6 @@ class TestVhostEventIdxInterruptCbdma(TestCase):
         Test Case 1: wake up split ring vhost-user cores with event idx interrupt mode and cbdma enabled 16 queues test
         """
         self.vm_num = 1
-        self.bind_nic_driver(self.dut_ports)
         self.queues = 16
         self.get_core_mask()
         self.nopci = False
@@ -360,7 +359,6 @@ class TestVhostEventIdxInterruptCbdma(TestCase):
         Test Case 2: wake up split ring vhost-user cores by multi virtio-net in VMs with event idx interrupt mode and cbdma enabled test
         """
         self.vm_num = 2
-        self.bind_nic_driver(self.dut_ports)
         self.queues = 1
         self.get_core_mask()
         self.nopci = False
@@ -381,7 +379,6 @@ class TestVhostEventIdxInterruptCbdma(TestCase):
         Test Case 3: wake up packed ring vhost-user cores with event idx interrupt mode and cbdma enabled 16 queues test
         """
         self.vm_num = 1
-        self.bind_nic_driver(self.dut_ports)
         self.queues = 16
         self.get_core_mask()
         self.nopci = False
@@ -400,7 +397,6 @@ class TestVhostEventIdxInterruptCbdma(TestCase):
         Test Case 4: wake up packed ring vhost-user cores by multi virtio-net in VMs with event idx interrupt mode and cbdma enabled test
         """
         self.vm_num = 2
-        self.bind_nic_driver(self.dut_ports)
         self.queues = 1
         self.get_core_mask()
         self.nopci = False
@@ -420,8 +416,6 @@ class TestVhostEventIdxInterruptCbdma(TestCase):
         self.dut.send_expect(f"killall {self.l3fwdpower_name}", "#")
         self.dut.send_expect("killall -s INT qemu-system-x86_64", "#")
         self.bind_cbdma_device_to_kernel()
-        if "cbdma" in self.running_case:
-            self.bind_nic_driver(self.dut_ports, self.drivername)
 
     def tear_down_all(self):
         """
-- 
2.17.1



More information about the dts mailing list