* Re: [dts] [PATCH V1] tests/vhost_virtio_pmd_interrupt:disable RSS change mq_mode to ETH_MQ_RX_NONE
2019-11-13 2:36 [dts] [PATCH V1] tests/vhost_virtio_pmd_interrupt:disable RSS change mq_mode to ETH_MQ_RX_NONE zhu wenhui
@ 2019-11-13 2:31 ` Wang, Yinan
2019-11-22 6:24 ` Tu, Lijuan
1 sibling, 0 replies; 3+ messages in thread
From: Wang, Yinan @ 2019-11-13 2:31 UTC (permalink / raw)
To: Zhu, WenhuiX, dts
Acked-by: Wang, Yinan <yinan.wang@intel.com>
> -----Original Message-----
> From: Zhu, WenhuiX <wenhuix.zhu@intel.com>
> Sent: 2019年11月13日 10:36
> To: dts@dpdk.org
> Cc: Wang, Yinan <yinan.wang@intel.com>; Zhu, WenhuiX
> <wenhuix.zhu@intel.com>
> Subject: [dts][PATCH V1] tests/vhost_virtio_pmd_interrupt:disable RSS change
> mq_mode to ETH_MQ_RX_NONE
>
> 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@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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [dts] [PATCH V1] tests/vhost_virtio_pmd_interrupt:disable RSS change mq_mode to ETH_MQ_RX_NONE
@ 2019-11-13 2:36 zhu wenhui
2019-11-13 2:31 ` Wang, Yinan
2019-11-22 6:24 ` Tu, Lijuan
0 siblings, 2 replies; 3+ messages in thread
From: zhu wenhui @ 2019-11-13 2:36 UTC (permalink / raw)
To: dts; +Cc: yinan.wang, zhu wenhui
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@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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dts] [PATCH V1] tests/vhost_virtio_pmd_interrupt:disable RSS change mq_mode to ETH_MQ_RX_NONE
2019-11-13 2:36 [dts] [PATCH V1] tests/vhost_virtio_pmd_interrupt:disable RSS change mq_mode to ETH_MQ_RX_NONE zhu wenhui
2019-11-13 2:31 ` Wang, Yinan
@ 2019-11-22 6:24 ` Tu, Lijuan
1 sibling, 0 replies; 3+ messages in thread
From: Tu, Lijuan @ 2019-11-22 6:24 UTC (permalink / raw)
To: Zhu, WenhuiX, dts; +Cc: Wang, Yinan, Zhu, WenhuiX
Applied, thanks
> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of zhu wenhui
> Sent: Wednesday, November 13, 2019 10:36 AM
> To: dts@dpdk.org
> Cc: Wang, Yinan <yinan.wang@intel.com>; Zhu, WenhuiX
> <wenhuix.zhu@intel.com>
> Subject: [dts] [PATCH V1] tests/vhost_virtio_pmd_interrupt:disable RSS
> change mq_mode to ETH_MQ_RX_NONE
>
> 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@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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-11-22 6:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-13 2:36 [dts] [PATCH V1] tests/vhost_virtio_pmd_interrupt:disable RSS change mq_mode to ETH_MQ_RX_NONE zhu wenhui
2019-11-13 2:31 ` Wang, Yinan
2019-11-22 6:24 ` Tu, Lijuan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).