From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id B7DF15689 for ; Fri, 25 Aug 2017 10:38:52 +0200 (CEST) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Aug 2017 01:38:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.41,424,1498546800"; d="scan'208";a="122496524" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga004.jf.intel.com with ESMTP; 25 Aug 2017 01:38:51 -0700 Received: from fmsmsx152.amr.corp.intel.com (10.18.125.5) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 25 Aug 2017 01:38:51 -0700 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX152.amr.corp.intel.com (10.18.125.5) with Microsoft SMTP Server (TLS) id 14.3.319.2; Fri, 25 Aug 2017 01:38:50 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.183]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.219]) with mapi id 14.03.0319.002; Fri, 25 Aug 2017 16:38:49 +0800 From: "Xu, Qian Q" To: "Lu, PeipeiX" , "dts@dpdk.org" CC: "Lu, PeipeiX" Thread-Topic: [dts] [PATCH V1] tests/generic_filter: fix testpmd not support 128 queues Thread-Index: AQHTHX0Janx7OBqUw0SxHOPthORG66KUwACA Date: Fri, 25 Aug 2017 08:38:48 +0000 Message-ID: <82F45D86ADE5454A95A89742C8D1410E3B73797A@shsmsx102.ccr.corp.intel.com> References: <1503650148-92405-1-git-send-email-peipeix.lu@intel.com> In-Reply-To: <1503650148-92405-1-git-send-email-peipeix.lu@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYTczOGI5ZjEtNGQ1NC00ZTQ1LTk4NTItMmEyOTk1ZTA5NzM1IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6IlZ0T2o3THYycVVkenkyR2RmbDAyUVNveW1Jbmdra3o2cWVLMEttRm1Ud289In0= x-ctpclassification: CTP_IC dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action 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/generic_filter: fix testpmd not support 128 queues 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: , X-List-Received-Date: Fri, 25 Aug 2017 08:38:53 -0000 Thanks Peipei, do we need build again when we quit this case?=20 > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of lu,peipei > Sent: Friday, August 25, 2017 4:36 PM > To: dts@dpdk.org > Cc: Lu, PeipeiX > Subject: [dts] [PATCH V1] tests/generic_filter: fix testpmd not support 1= 28 > queues >=20 > due to testpmd support 64 queues by default,so test the case need to modi= fy > ixgbe_ethdev.h. >=20 > Signed-off-by: lu,peipei > --- > tests/TestSuite_generic_filter.py | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) >=20 > diff --git a/tests/TestSuite_generic_filter.py b/tests/TestSuite_generic_= filter.py > index c42ec5a..a8eb2d9 100644 > --- a/tests/TestSuite_generic_filter.py > +++ b/tests/TestSuite_generic_filter.py > @@ -55,6 +55,8 @@ class TestGeneric_filter(TestCase): >=20 > Generic filter Prerequistites > """ > + self.dut.send_expect("sed -i -e 's/#define > IXGBE_NONE_MODE_TX_NB_QUEUES 64$/#define > IXGBE_NONE_MODE_TX_NB_QUEUES 128/' drivers/net/ixgbe/ixgbe_ethdev.h", > "# ",30) > + self.dut.build_install_dpdk(self.target) >=20 > # Based on h/w type, choose how many ports to use > ports =3D self.dut.get_ports(self.nic) @@ -690,7 +692,7 @@ class > TestGeneric_filter(TestCase): >=20 > def test_128_queues(self): > # testpmd can't support assign queue to received package, so can= 't test > - self.verify(False, "testpmd not support assign queue 127 receive= d package") > + #self.verify(False, "testpmd not support assign queue 127 > + received package") > if self.nic =3D=3D "niantic": > global valports > total_mbufs =3D self.request_mbufs(128) * len(valports) @@ -= 825,3 +827,4 > @@ class TestGeneric_filter(TestCase): > Run after each test case. > """ > self.dut.kill_all() > + self.dut.send_expect("sed -i -e 's/#define > +IXGBE_NONE_MODE_TX_NB_QUEUES 128$/#define > IXGBE_NONE_MODE_TX_NB_QUEUES > +64/' drivers/net/ixgbe/ixgbe_ethdev.h", "# ",30) > -- > 1.9.3