test suite reviews and discussions
 help / color / Atom feed
* 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^[$BG/^[(B11^[$B7n^[(B13^[$BF|^[(B 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, back to index

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

test suite reviews and discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/ public-inbox