From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 503AAA04C1; Tue, 12 Nov 2019 15:56:22 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 147119E4; Tue, 12 Nov 2019 15:56:22 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 04AD02AB for ; Tue, 12 Nov 2019 15:56:19 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Nov 2019 06:56:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,296,1569308400"; d="scan'208";a="229415898" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga004.fm.intel.com with ESMTP; 12 Nov 2019 06:56:19 -0800 Received: from fmsmsx125.amr.corp.intel.com (10.18.125.40) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 12 Nov 2019 06:56:19 -0800 Received: from shsmsx108.ccr.corp.intel.com (10.239.4.97) by FMSMSX125.amr.corp.intel.com (10.18.125.40) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 12 Nov 2019 06:56:18 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.127]) by SHSMSX108.ccr.corp.intel.com ([169.254.8.41]) with mapi id 14.03.0439.000; Tue, 12 Nov 2019 22:56:17 +0800 From: "Wang, Yinan" To: "Zhu, ShuaiX" , "dts@dpdk.org" CC: "Zhu, ShuaiX" Thread-Topic: [dts] [PATCH V2] tests/vdev_primary_secondary:Disable RSS. Thread-Index: AQHVlE6qZ+W55IfjnU62Ods4v4NnQqeHqfxQ Date: Tue, 12 Nov 2019 14:56:16 +0000 Message-ID: References: <1573009656-74090-1-git-send-email-shuaix.zhu@intel.com> In-Reply-To: <1573009656-74090-1-git-send-email-shuaix.zhu@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V2] tests/vdev_primary_secondary:Disable RSS. X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" Acked-by: Wang, Yinan > -----Original Message----- > From: dts On Behalf Of zhu,shuai > Sent: 2019=1B$BG/=1B(B11=1B$B7n=1B(B6=1B$BF|=1B(B 11:08 > To: dts@dpdk.org > Cc: Zhu, ShuaiX > Subject: [dts] [PATCH V2] tests/vdev_primary_secondary:Disable RSS. >=20 > RSS is not support by virito device and will thus will return error confi= gure > device with RSS enabled. Need to disable RSS when configuring virtio devi= ce. >=20 > Signed-off-by: zhu,shuai > --- > tests/TestSuite_vdev_primary_secondary.py | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) >=20 > diff --git a/tests/TestSuite_vdev_primary_secondary.py > b/tests/TestSuite_vdev_primary_secondary.py > index 8b7b899..e03d615 100644 > --- a/tests/TestSuite_vdev_primary_secondary.py > +++ b/tests/TestSuite_vdev_primary_secondary.py > @@ -118,14 +118,18 @@ class TestVdevPrimarySecondary(TestCase): > example_cmd_secondary =3D > "./examples/multi_process/symmetric_mp/build/symmetric_mp -l 1 -n %d > --proc-type=3Dsecondary -- -p 3 --num-procs=3D%d --proc-id=3D1" > final_cmd_first =3D example_cmd_auto % (self.mem_channels, > self.queues) > final_cmd_secondary =3D example_cmd_secondary % > (self.mem_channels, self.queues) > - self.vhost_first.send_expect(final_cmd_first, " ", 120) > - self.vhost_secondary.send_expect(final_cmd_secondary, " ", 120) > + self.vhost_first.send_expect(final_cmd_first, "Lcore", 120) > + time.sleep(3) > + self.vhost_secondary.send_expect(final_cmd_secondary, "Lcore", > 120) >=20 >=20 > def prepare_symmetric_mp(self): >=20 > self.vm_dut.send_expect("cp ./examples/multi_process/symmetric_mp/main.c > .", "#") > self.vm_dut.send_expect( > "sed -i '/.offloads =3D > DEV_RX_OFFLOAD_CHECKSUM,/d' ./examples/multi_process/symmetric_mp/ > main.c", "#") > + self.vm_dut.send_expect( > + "sed -i 's/.mq_mode =3D > ETH_MQ_RX_RSS,/.mq_mode =3D > ETH_MQ_RX_NONE,/g' ./examples/multi_process/symmetric_mp/main.c", "#") > + self.vm_dut.send_expect( > out =3D > self.vm_dut.build_dpdk_apps('./examples/multi_process/symmetric_mp') > self.verify("Error" not in out, "compilation symmetric_mp error"= ) >=20 > -- > 2.17.2