From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0079.outbound.protection.outlook.com [104.47.1.79]) by dpdk.org (Postfix) with ESMTP id 6BB133277 for ; Wed, 18 Jan 2017 06:13:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=Y1WSnRMvcRXTKLCyv/n/fGSslJ6Q1Toojg351yJPFG8=; b=DIDO7IhCCZhLQJ5BfkJN8sCH5MXrSoLbbhaTg+7HFblGBFgyyKKm2M/g66YfDGrTwFN6GA4zkXXqOqpnknd2kTLOjcYsQPAN2E3xMLLe5WDCvmpmn3e+LIz4zeOGYhoW3/X+u58WcimneqroR1kI40meZxcdSFVytYUi/D1ewmY= Received: from DB5PR0401MB2054.eurprd04.prod.outlook.com (10.166.11.137) by DB5PR0401MB2053.eurprd04.prod.outlook.com (10.166.11.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.845.12; Wed, 18 Jan 2017 05:13:36 +0000 Received: from DB5PR0401MB2054.eurprd04.prod.outlook.com ([10.166.11.137]) by DB5PR0401MB2054.eurprd04.prod.outlook.com ([10.166.11.137]) with mapi id 15.01.0845.014; Wed, 18 Jan 2017 05:13:36 +0000 From: Shreyansh Jain To: Thomas Monjalon CC: "dev@dpdk.org" Thread-Topic: [PATCH v8 2/9] test: add basic bus infrastructure tests Thread-Index: AQHScMaBmSVK0WbU8UOt1zF+6/H+Y6E9UAEAgABg9bA= Date: Wed, 18 Jan 2017 05:13:14 +0000 Deferred-Delivery: Wed, 18 Jan 2017 05:12:48 +0000 Message-ID: References: <1484647774-28984-1-git-send-email-shreyansh.jain@nxp.com> <1484660264-6531-1-git-send-email-shreyansh.jain@nxp.com> <1484660264-6531-3-git-send-email-shreyansh.jain@nxp.com> <9781193.ROD7azHmSd@xps13> In-Reply-To: <9781193.ROD7azHmSd@xps13> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=shreyansh.jain@nxp.com; x-originating-ip: [192.88.169.1] x-ms-office365-filtering-correlation-id: 822fc836-bf96-4c67-fc79-08d43f60c1da x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:DB5PR0401MB2053; x-microsoft-exchange-diagnostics: 1; DB5PR0401MB2053; 7:rJdxjHwzC3JD8CDbaAATotCev6g+nyVXeV0cYr2UJYAeckYN78n0LtEGK/RMv+lSDeBVljqiMU4WrmGwvcAWgHW+9wcttAtF/p31Y+dfHGdy5mChg1T9zPrDUM8nkNbV108ALpW5aW2SH4gjRJreNP4N0qAxxgjcwfzU8n6lkPpCSdjY39skQLLN9GAW9YiBdxAXW0ahf9iUwD6xj59YiGFYVR/36SEv/yiU02Y3Q+toupbJKxmNVmd3wfBBAxt1enq143EDuqj3N7unW+8ivcGHr4EcjVacFqo+L/ddM3LaTN6IkG3Hgnad9ValhmJe5TF419vYn0xBae2GJloRTAK95+qPhNAs8ZrDaVzqht5A69IdcCcmgYSbtcA6uAhDFy/tzwQz5LcadbNvppfF1gPE2XxQk+VxitbHogTUEUE/ZfnIkEKhZP8euCuhGC5woeRsiAxOdMahc/N7eymfog== x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(185117386973197); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6055026)(6041248)(20161123555025)(20161123564025)(20161123562025)(20161123560025)(6072148)(6047074); SRVR:DB5PR0401MB2053; BCL:0; PCL:0; RULEID:; SRVR:DB5PR0401MB2053; x-forefront-prvs: 01917B1794 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(7916002)(39860400002)(39840400002)(39850400002)(39410400002)(39450400003)(377424004)(189002)(13464003)(377454003)(199003)(106116001)(92566002)(53936002)(105586002)(54356999)(2906002)(4326007)(106356001)(2900100001)(101416001)(3660700001)(81156014)(68736007)(86362001)(3846002)(6116002)(102836003)(122556002)(76176999)(8676002)(7736002)(8936002)(9686003)(81166006)(50986999)(33656002)(305945005)(6666003)(93886004)(97736004)(74316002)(189998001)(25786008)(2950100002)(6506006)(66066001)(6436002)(3280700002)(5660300001)(229853002)(55016002)(6916009)(110136003)(99286003)(38730400001)(77096006)(7696004); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR0401MB2053; H:DB5PR0401MB2054.eurprd04.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jan 2017 05:13:36.5615 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR0401MB2053 Subject: Re: [dpdk-dev] [PATCH v8 2/9] test: add basic bus infrastructure tests X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2017 05:13:37 -0000 > -----Original Message----- > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] > Sent: Wednesday, January 18, 2017 4:54 AM > To: Shreyansh Jain > Cc: dev@dpdk.org > Subject: Re: [PATCH v8 2/9] test: add basic bus infrastructure tests >=20 > 2017-01-17 19:07, Shreyansh Jain: > > +REGISTER_TEST_COMMAND(bus_autotest, test_bus); >=20 > You should add it to app/test/autotest_data.py Ok. I will do that. >=20 > > +/* Bus list exposed */ > > +extern struct rte_bus_list rte_bus_list; >=20 > I think it should be possible to write a test without the real list > of registered bus. Yes, it is possible. I just modeled it on test_pci assuming that is a kind = of expected/standard. But, it seems probably it is not. I will change the t= ests.