From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id C39542B86 for ; Thu, 2 Mar 2017 10:05:13 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Mar 2017 01:05:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,230,1484035200"; d="scan'208";a="830061851" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by FMSMGA003.fm.intel.com with ESMTP; 02 Mar 2017 01:05:03 -0800 Received: from fmsmsx125.amr.corp.intel.com (10.18.125.40) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 2 Mar 2017 01:05:03 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX125.amr.corp.intel.com (10.18.125.40) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 2 Mar 2017 01:05:03 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.177]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.204]) with mapi id 14.03.0248.002; Thu, 2 Mar 2017 17:05:00 +0800 From: "Xu, HuilongX" To: "Liu, Yong" , "dts@dpdk.org" Thread-Topic: [dts] [PATCH V1] fix ring dump case failed Thread-Index: AQHSkyu0y8JSI84bpkGMFOllD0K286GAuPKAgACIrUA= Date: Thu, 2 Mar 2017 09:04:59 +0000 Message-ID: References: <1488441904-2699-1-git-send-email-huilongx.xu@intel.com> <86228AFD5BCD8E4EBFD2B90117B5E81E62D6E514@SHSMSX103.ccr.corp.intel.com> In-Reply-To: <86228AFD5BCD8E4EBFD2B90117B5E81E62D6E514@SHSMSX103.ccr.corp.intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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] fix ring dump case failed 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: Thu, 02 Mar 2017 09:05:14 -0000 Ok, I will chang my comment in test case and send V2 patch > -----Original Message----- > From: Liu, Yong > Sent: Thursday, March 02, 2017 4:55 PM > To: Xu, HuilongX; dts@dpdk.org > Cc: Xu, HuilongX > Subject: RE: [dts] [PATCH V1] fix ring dump case failed >=20 > Huilong, >=20 > Just check source code and Fortville driver will create > Ethernet_type/Fdir/Tunnel ring besides default ring. Ixgbe will create > Fdir/L2_tn ring. > Dump sequence maybe different between different drivers. Suggest change > your comment, this is not cause by igb_uio. >=20 > Thanks, > Marvin >=20 > > -----Original Message----- > > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of xu,huilong > > Sent: Thursday, March 02, 2017 4:05 PM > > To: dts@dpdk.org > > Cc: Xu, HuilongX > > Subject: [dts] [PATCH V1] fix ring dump case failed > > > > when bind igb_uio on NIC. Newest testpmd will creat many ring. > > > > Signed-off-by: xu,huilong > > --- > > tests/TestSuite_unit_tests_dump.py | 5 +++-- > > 1 file changed, 3 insertions(+), 2 deletions(-) > > > > diff --git a/tests/TestSuite_unit_tests_dump.py > > b/tests/TestSuite_unit_tests_dump.py > > index a39fcd1..c3515da 100644 > > --- a/tests/TestSuite_unit_tests_dump.py > > +++ b/tests/TestSuite_unit_tests_dump.py > > @@ -92,8 +92,9 @@ class TestUnitTestsDump(TestCase): > > m =3D re.compile(r"%s" % match_regex, re.S) > > result =3D m.findall(out) > > > > - > > - self.verify(result[0][0] =3D=3D 'MP_mbuf_pool_socket_0', "dump= ring > > name failed") > > + #when we bind some nic with igb_uio. testpmd init will create > > 3N+1 ring, and the last ring name is MP_mbuf_pool_socket_0 > > + #other ring name about nic bus ID and ring type, so will not > > check. we only check ring_dump function work ok > > + self.verify( 'MP_mbuf_pool_socket_0' in result[0][-1], "dump r= ing > > name failed") > > > > def test_mempool_dump(self): > > """ > > -- > > 1.9.3