From: "Wang, Yinan" <yinan.wang@intel.com>
To: "Zhu, ShuaiX" <shuaix.zhu@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Subject: Re: [dts] [PATCH V1] tests/vdev_primary_secondary:disable RSS
Date: Tue, 5 Nov 2019 07:46:28 +0000 [thread overview]
Message-ID: <E0CBA5A1980F1F408E1F28F9991B5B1D50F3DE93@SHSMSX104.ccr.corp.intel.com> (raw)
In-Reply-To: <1572934913-57413-1-git-send-email-shuaix.zhu@intel.com>
Acked-by: Wang, Yinan <yinan.wang@intel.com>
> -----Original Message-----
> From: Zhu, ShuaiX <shuaix.zhu@intel.com>
> Sent: 2019年11月5日 14:22
> To: dts@dpdk.org
> Cc: Wang, Yinan <yinan.wang@intel.com>; Zhu, ShuaiX <shuaix.zhu@intel.com>
> Subject: [dts][PATCH V1] tests/vdev_primary_secondary:disable RSS
>
> 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,shuai <shuaix.zhu@intel.com>
> ---
> tests/TestSuite_vdev_primary_secondary.py | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/tests/TestSuite_vdev_primary_secondary.py
> b/tests/TestSuite_vdev_primary_secondary.py
> index 8b7b899..102a9e0 100644
> --- a/tests/TestSuite_vdev_primary_secondary.py
> +++ b/tests/TestSuite_vdev_primary_secondary.py
> @@ -119,6 +119,7 @@ class TestVdevPrimarySecondary(TestCase):
> final_cmd_first = example_cmd_auto % (self.mem_channels,
> self.queues)
> final_cmd_secondary = example_cmd_secondary %
> (self.mem_channels, self.queues)
> self.vhost_first.send_expect(final_cmd_first, " ", 120)
> + time.sleep(3)
> self.vhost_secondary.send_expect(final_cmd_secondary, " ", 120)
>
>
> @@ -126,6 +127,8 @@ class TestVdevPrimarySecondary(TestCase):
>
> self.vm_dut.send_expect("cp ./examples/multi_process/symmetric_mp/main.c .
> ", "#")
> self.vm_dut.send_expect(
> "sed -i '/.offloads =
> DEV_RX_OFFLOAD_CHECKSUM,/d' ./examples/multi_process/symmetric_mp/m
> ain.c", "#")
> + self.vm_dut.send_expect(
> + "sed -i 's/.mq_mode =
> ETH_MQ_RX_RSS,/.mq_mode =
> ETH_MQ_RX_NONE,/g' ./examples/multi_process/symmetric_mp/main.c", "#")
> out =
> self.vm_dut.build_dpdk_apps('./examples/multi_process/symmetric_mp')
> self.verify("Error" not in out, "compilation symmetric_mp error")
>
> --
> 2.17.2
next prev parent reply other threads:[~2019-11-05 7:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-05 6:21 zhu,shuai
2019-11-05 7:46 ` Wang, Yinan [this message]
2019-11-06 1:11 ` Ma, LihongX
2019-11-06 1:33 ` Zhu, ShuaiX
2019-11-06 1:54 ` Ma, LihongX
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E0CBA5A1980F1F408E1F28F9991B5B1D50F3DE93@SHSMSX104.ccr.corp.intel.com \
--to=yinan.wang@intel.com \
--cc=dts@dpdk.org \
--cc=shuaix.zhu@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).