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 B0CFE201 for ; Thu, 2 Mar 2017 09:55:36 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Mar 2017 00:55:35 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.35,230,1484035200"; d="scan'208";a="1136905292" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga002.fm.intel.com with ESMTP; 02 Mar 2017 00:55:27 -0800 Received: from fmsmsx122.amr.corp.intel.com (10.18.125.37) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 2 Mar 2017 00:55:28 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx122.amr.corp.intel.com (10.18.125.37) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 2 Mar 2017 00:55:27 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.20]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.132]) with mapi id 14.03.0248.002; Thu, 2 Mar 2017 16:55:12 +0800 From: "Liu, Yong" To: "Xu, HuilongX" , "dts@dpdk.org" CC: "Xu, HuilongX" Thread-Topic: [dts] [PATCH V1] fix ring dump case failed Thread-Index: AQHSkyu5aiN5VaYbaUqJO94x4FoHzKGBPHBQ Date: Thu, 2 Mar 2017 08:55:11 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E62D6E514@SHSMSX103.ccr.corp.intel.com> References: <1488441904-2699-1-git-send-email-huilongx.xu@intel.com> In-Reply-To: <1488441904-2699-1-git-send-email-huilongx.xu@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 08:55:37 -0000 Huilong, 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 you= r comment, this is not cause by igb_uio. Thanks, Marvin > -----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 >=20 > when bind igb_uio on NIC. Newest testpmd will creat many ring. >=20 > Signed-off-by: xu,huilong > --- > tests/TestSuite_unit_tests_dump.py | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) >=20 > 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) >=20 > - > - self.verify(result[0][0] =3D=3D 'MP_mbuf_pool_socket_0', "dump r= ing > 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 rin= g > name failed") >=20 > def test_mempool_dump(self): > """ > -- > 1.9.3