[dts] [PATCH V1] tests/vhost_virtio_pmd_interrupt:disable RSS change mq_mode to ETH_MQ_RX_NONE

Tu, Lijuan lijuan.tu at intel.com
Fri Nov 22 07:24:08 CET 2019


Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces at dpdk.org] On Behalf Of zhu wenhui
> Sent: Wednesday, November 13, 2019 10:36 AM
> To: dts at dpdk.org
> Cc: Wang, Yinan <yinan.wang at intel.com>; Zhu, WenhuiX
> <wenhuix.zhu at 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 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