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 3B46FA2EEB for ; Thu, 12 Sep 2019 09:14:04 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F1D441C2B2; Thu, 12 Sep 2019 09:14:03 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 8154B1C227 for ; Thu, 12 Sep 2019 09:14:02 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Sep 2019 00:14:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,495,1559545200"; d="scan'208";a="192342216" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by FMSMGA003.fm.intel.com with ESMTP; 12 Sep 2019 00:14:00 -0700 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 12 Sep 2019 00:14:00 -0700 Received: from fmsmsx603.amr.corp.intel.com (10.18.126.83) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 12 Sep 2019 00:14:00 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Thu, 12 Sep 2019 00:13:59 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.92]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.53]) with mapi id 14.03.0439.000; Thu, 12 Sep 2019 15:13:41 +0800 From: "Tu, Lijuan" To: "Wu, ChangqingX" , "dts@dpdk.org" CC: "Zhang, Yuwei1" , "Wu, ChangqingX" Thread-Topic: [dts] [PATCH V4] test_plans/interrupt:change queue for different nic Thread-Index: AQHVYsUQYnS/9+cbzkKbaOgUUpmIAqcnraBw Date: Thu, 12 Sep 2019 07:13:41 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BB20338@SHSMSX101.ccr.corp.intel.com> References: <1567562912-136353-1-git-send-email-changqingx.wu@intel.com> In-Reply-To: <1567562912-136353-1-git-send-email-changqingx.wu@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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiM2NmMWNkMWItZDEyZi00ZmM1LWE2MWMtYmRkNDFhZjA1YmI4IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiMUY2S2h0Q0ZXekhPQm1kdjJ4TDluOW16eWhLY1JvQkcxY0ZcLzFuNXllU2pPSGlzWGRSNEdacTUyNzdlRTRiNXEifQ== 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 V4] test_plans/interrupt:change queue for different nic 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 changqingxwu > Sent: Wednesday, September 4, 2019 10:09 AM > To: dts@dpdk.org > Cc: Zhang, Yuwei1 ; Wu, ChangqingX > > Subject: [dts] [PATCH V4] test_plans/interrupt:change queue for different= nic >=20 > Beautify format, niantic net card not supports more than 15 queues, and > need specify drivername is vfio-pci >=20 > Signed-off-by: changqingxwu > --- > test_plans/interrupt_pmd_test_plan.rst | 32 +++++++++++--------------- > 1 file changed, 13 insertions(+), 19 deletions(-) >=20 > diff --git a/test_plans/interrupt_pmd_test_plan.rst > b/test_plans/interrupt_pmd_test_plan.rst > index 8834e5f..0ffc818 100644 > --- a/test_plans/interrupt_pmd_test_plan.rst > +++ b/test_plans/interrupt_pmd_test_plan.rst > @@ -55,7 +55,7 @@ Assume generated VF PCI address will be 0000:08:10.0, > 0000:08:10.1. >=20 > Iommu pass through feature has been enabled in kernel:: >=20 > - intel_iommu=3Don iommu=3Dpt > + intel_iommu=3Don iommu=3Dpt >=20 > Support igb_uio and vfio driver, if used vfio, kernel need 3.6+ and enab= le vt- > d in bios. When used vfio, requested to insmod two drivers vfio and vfio= -pci. > @@ -65,45 +65,39 @@ Test Case1: PF interrupt pmd with different queue >=20 > Run l3fwd-power with one queue per port:: >=20 > - l3fwd-power -c 7 -n 4 -- -p 0x3 -P --config=3D"(0,0,1),(1,0,2)" > + l3fwd-power -c 0x7 -n 4 -- -p 0x3 -P --config=3D"(0,0,1),(1,0,2)" >=20 > Send one packet to Port0 and Port1, check that thread on core1 and core2 > waked up:: >=20 > - > - L3FWD_POWER: lcore 1 is waked up from rx interrupt on port1,rxq0 > - L3FWD_POWER: lcore 2 is waked up from rx interrupt on port1,rxq0 > + L3FWD_POWER: lcore 1 is waked up from rx interrupt on port1,rxq0 > + L3FWD_POWER: lcore 2 is waked up from rx interrupt on port1,rxq0 >=20 > Check the packet has been normally forwarded. >=20 > After the packet forwarded, thread on core1 and core 2 will return to sl= eep:: >=20 > - > - L3FWD_POWER: lcore 1 sleeps until interrupt on port0,rxq0 triggers > - L3FWD_POWER: lcore 2 sleeps until interrupt on port0,rxq0 triggers > + L3FWD_POWER: lcore 1 sleeps until interrupt on port0,rxq0 triggers > + L3FWD_POWER: lcore 2 sleeps until interrupt on port0,rxq0 triggers >=20 > Send packet flows to Port0 and Port1, check that thread on core1 and cor= e2 > will keep up awake. >=20 > Run l3fwd-power with random number queue per port, if is 4:: >=20 > - l3fwd-power -c 7 -n 4 -- -p 0x3 -P --config=3D"0,0,0),(0,1,1),\ > - (0,2,2),(0,3,3),(0,4,4)" > + l3fwd-power -c 0x7 -n 4 -- -p 0x3 -P --config=3D"0,0,0),(0,1,1),\ > + (0,2,2),(0,3,3),(0,4,4)" >=20 > Send packet with increased dest IP to Port0, check that all threads wake= d up >=20 > Send packet flows to Port0 and Port1, check that thread on core1 and cor= e2 > will keep up awake. >=20 > -Run l3fwd-power with 32 queues per port:: > +Run l3fwd-power with 15 queues per port:: >=20 > - l3fwd-power -c ffffffff -n 4 -- -p 0x3 -P --config=3D"(0,0,0),(0= ,1,1),\ > - (0,2,2),(0,3,3),(0,4,4),(0,5,5),(0,6,6),(0,7,7),= (0,8,8), > - (0,9,9),(0,10,10),(0,11,11),(0,12,12),(0,13,13),= (0,14,14),\ > - (0,15,15),\ > - (1,0,16),(1,1,17),(1,2,18),(1,3,19),(1,4,20),(1,= 5,21),(1,6,22),\ > - (1,7,23),(1,8,24),(1,9,25),(1,10,26),(1,11,27),(= 1,12,28),\ > - (1,13,29),(1,14,30),\(1,15,31)" > + l3fwd-power -c 0xffffff -n 4 -- -p 0x3 -P --config=3D"(0,0,0),(0,1,1= ),\ > + (0,2,2),(0,3,3),(0,4,4),(0,5,5),(0,6,6),(0,7,7),(1,0,8),\ > + (1,1,9),(1,2,10),(1,3,11),(1,4,12),(1,5,13),(1,6,14)" >=20 > Send packet with increased dest IP to Port0, check that all threads wake= d up >=20 > @@ -115,7 +109,7 @@ Test Case2: PF lsc interrupt with vfio >=20 > Run l3fwd-power with one queue per port:: >=20 > - l3fwd-power -c 7 -n 4 -- -p 0x3 -P --config=3D"(0,0,1),(1,0,2)" > + l3fwd-power -c 0x7 -n 4 -- -p 0x3 -P --config=3D"(0,0,1),(1,0,2)" >=20 > Plug out Port0 cable, check that link down interrupt captured and handle= d > by pmd driver. > -- > 2.17.2