[dts] [PATCH V1] tests/vhost_virtio_pmd_interrupt:disable RSS change mq_mode to ETH_MQ_RX_NONE
zhu wenhui
wenhuix.zhu at intel.com
Wed Nov 13 03:36:19 CET 2019
RSS is not support by virito device and will thus will return error
configure device with RSS enabled.
Need to disable RSS when configuring virtio device.
Signed-off-by: zhu wenhui <wenhuix.zhu at intel.com>
---
tests/TestSuite_vhost_virtio_pmd_interrupt.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/TestSuite_vhost_virtio_pmd_interrupt.py b/tests/TestSuite_vhost_virtio_pmd_interrupt.py
index 0eeb42e..0ad6d61 100644
--- a/tests/TestSuite_vhost_virtio_pmd_interrupt.py
+++ b/tests/TestSuite_vhost_virtio_pmd_interrupt.py
@@ -102,6 +102,8 @@ class TestVhostVirtioPmdInterrupt(TestCase):
self.vm_dut.send_expect("cp ./examples/l3fwd-power/main.c /tmp/", "#")
self.vm_dut.send_expect(
"sed -i '/DEV_RX_OFFLOAD_CHECKSUM/d' ./examples/l3fwd-power/main.c", "#", 10)
+ self.vm_dut.send_expect(
+ "sed -i 's/.mq_mode = ETH_MQ_RX_RSS,/.mq_mode = ETH_MQ_RX_NONE,/g' ./examples/l3fwd-power/main.c", "#", 10)
out = self.vm_dut.build_dpdk_apps('examples/l3fwd-power')
self.verify("Error" not in out, "compilation l3fwd-power error")
--
2.17.2
More information about the dts
mailing list