[dts] [PATCH V2] tests/vhost_virtio_user_interrupt:enable control queue.

zhu,shuai shuaix.zhu at intel.com
Wed Nov 27 10:41:58 CET 2019


Add the 'cq=1' parameter to enable the control queue.

Signed-off-by: zhu,shuai <shuaix.zhu at intel.com>
---
 tests/TestSuite_vhost_virtio_user_interrupt.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/TestSuite_vhost_virtio_user_interrupt.py b/tests/TestSuite_vhost_virtio_user_interrupt.py
index 002588d..288da2b 100644
--- a/tests/TestSuite_vhost_virtio_user_interrupt.py
+++ b/tests/TestSuite_vhost_virtio_user_interrupt.py
@@ -94,7 +94,7 @@ class TestVirtioUserInterrupt(TestCase):
         cmd_l3fwd = "./examples/l3fwd-power/build/l3fwd-power " + \
                     "-n %d -c %s --socket-mem 1024,1024 --legacy-mem " + \
                     "--log-level='user1,7' --no-pci --file-prefix=l3fwd-pwd " + \
-                    "--vdev=virtio_user0,path=%s -- -p 1 " + \
+                    "--vdev=virtio_user0,path=%s,cq=1 -- -p 1 " + \
                     " -P --config='(0,0,%s)' --parse-ptype "
         cmd_l3fwd = cmd_l3fwd % (self.mem_channel, self.core_mask_l3fwd,
                     path, self.core_interrupt)
-- 
2.17.2



More information about the dts mailing list