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 36D45A04C1; Fri, 22 Nov 2019 07:24:14 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E2AC92C28; Fri, 22 Nov 2019 07:24:13 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 379232C23 for ; Fri, 22 Nov 2019 07:24:12 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Nov 2019 22:24:11 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,228,1571727600"; d="scan'208";a="408800675" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga006.fm.intel.com with ESMTP; 21 Nov 2019 22:24:11 -0800 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 21 Nov 2019 22:24:10 -0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx111.amr.corp.intel.com (10.18.116.5) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 21 Nov 2019 22:24:10 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.213]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.127]) with mapi id 14.03.0439.000; Fri, 22 Nov 2019 14:24:09 +0800 From: "Tu, Lijuan" To: "Zhu, WenhuiX" , "dts@dpdk.org" CC: "Wang, Yinan" , "Zhu, WenhuiX" Thread-Topic: [dts] [PATCH V1] tests/vhost_virtio_pmd_interrupt:disable RSS change mq_mode to ETH_MQ_RX_NONE Thread-Index: AQHVmcp1WFKooQG6CkmbrxZabEXMwKeWx0IQ Date: Fri, 22 Nov 2019 06:24:08 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BB678F4@SHSMSX101.ccr.corp.intel.com> References: <1573612579-49387-1-git-send-email-wenhuix.zhu@intel.com> In-Reply-To: <1573612579-49387-1-git-send-email-wenhuix.zhu@intel.com> Accept-Language: zh-CN, 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-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZjQ3MmVmNjEtNGM1Yi00NjIzLTgzNWItZGE2ODU2NTM1ZDY1IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoicHYyeGlzSWlEY3VwOU41bzN2Tmp4STZuUDBNVExqZG1rTk5URzVxVlF1Y0k3ZnRzWUJQRHRGdml2RGVlUXV4WiJ9 x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH V1] tests/vhost_virtio_pmd_interrupt:disable RSS change mq_mode to ETH_MQ_RX_NONE 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" 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 ; Zhu, WenhuiX > > Subject: [dts] [PATCH V1] tests/vhost_virtio_pmd_interrupt:disable RSS > change mq_mode to ETH_MQ_RX_NONE >=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 device. >=20 > Signed-off-by: zhu wenhui > --- > tests/TestSuite_vhost_virtio_pmd_interrupt.py | 2 ++ > 1 file changed, 2 insertions(+) >=20 > 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 =3D ETH_MQ_RX_RSS,/.mq_mode = =3D > ETH_MQ_RX_NONE,/g' ./examples/l3fwd-power/main.c", "#", 10) > out =3D self.vm_dut.build_dpdk_apps('examples/l3fwd-power') > self.verify("Error" not in out, "compilation l3fwd-power error") >=20 > -- > 2.17.2