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 0A1C0A0352; Tue, 5 Nov 2019 08:46:57 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F1F4F2C15; Tue, 5 Nov 2019 08:46:56 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 1499329AC for ; Tue, 5 Nov 2019 08:46:54 +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 fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Nov 2019 23:46:54 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,270,1569308400"; d="scan'208";a="403260512" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga006.fm.intel.com with ESMTP; 04 Nov 2019 23:46:54 -0800 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 4 Nov 2019 23:46:54 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 4 Nov 2019 23:46:36 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.127]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.2]) with mapi id 14.03.0439.000; Tue, 5 Nov 2019 15:46:34 +0800 From: "Wang, Yinan" To: "Zhu, ShuaiX" , "dts@dpdk.org" Thread-Topic: [dts][PATCH V1] tests/vhost_virtio_user_interrupt:Disable RSS,Change mq_mode to ETH_MQ_RX_NONE Thread-Index: AQHVk4ZphfpSsRGJe0qq5VjdbArQeKd8MyXA Date: Tue, 5 Nov 2019 07:46:34 +0000 Message-ID: References: <1572923663-55973-1-git-send-email-shuaix.zhu@intel.com> In-Reply-To: <1572923663-55973-1-git-send-email-shuaix.zhu@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYzNmOGMwMzMtODBjZS00NTU0LThiNjUtOWE3ZGFkNjNmMzYzIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiV3BEaDl5cCtzT3hOWVwvSVwvU092dHFkMTQ3QzR2NFQwcEpzTmg5clNOWVhTRVlJY0RmWXdcL3hLZWpJZExCd1E0biJ9 x-ctpclassification: CTP_NT 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 V1] tests/vhost_virtio_user_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" Acked-by: Wang, Yinan > -----Original Message----- > From: Zhu, ShuaiX > Sent: 2019=1B$BG/=1B(B11=1B$B7n=1B(B5=1B$BF|=1B(B 11:14 > To: dts@dpdk.org > Cc: Wang, Yinan ; Zhu, ShuaiX > Subject: [dts][PATCH V1] tests/vhost_virtio_user_interrupt:Disable RSS,Ch= ange > 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,shuai > --- > tests/TestSuite_vhost_virtio_user_interrupt.py | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) >=20 > diff --git a/tests/TestSuite_vhost_virtio_user_interrupt.py > b/tests/TestSuite_vhost_virtio_user_interrupt.py > index 91edcce..002588d 100644 > --- a/tests/TestSuite_vhost_virtio_user_interrupt.py > +++ b/tests/TestSuite_vhost_virtio_user_interrupt.py > @@ -85,9 +85,7 @@ class TestVirtioUserInterrupt(TestCase): > self.dut.send_expect( > "sed -i > '/DEV_RX_OFFLOAD_CHECKSUM/d' ./examples/l3fwd-power/main.c", "#", 10) > self.dut.send_expect( > - "sed -i '/if (promiscuous_on/i\#if > 0' ./examples/l3fwd-power/main.c", "#", 10) > - self.dut.send_expect( > - "sed -i > '/rte_spinlock_init(&(locks/i\#endif' ./examples/l3fwd-power/main.c", "#"= , 10) > + "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.dut.build_dpdk_apps("./examples/l3fwd-power") > self.verify("Error" not in out, "compilation l3fwd-power error") >=20 > -- > 2.17.2