From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00060.outbound.protection.outlook.com [40.107.0.60]) by dpdk.org (Postfix) with ESMTP id 70D395A29 for ; Thu, 12 Jan 2017 06:29:41 +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=SyliW8Juv7kk0SGfyhOnbxZeD6FmOMZIaZTjCskzGFg=; b=lBo6s2g4z8hC1E9O3eIoLOdL99m/HG/ToW9MocDi7ZzUdo+HqJkvnb7XwUh3noD+CTNq4UeVi7YPQ99xM4z9FnBejVJr4VvtasgOH9lWBZodrorXIOYn0lDUBlIYaTmDj5T7NCSgQGFiIf5KFVYamWlIqkpX7FQgxRqZqo/0y5U= 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; Thu, 12 Jan 2017 05:29:40 +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; Thu, 12 Jan 2017 05:29:40 +0000 From: Shreyansh Jain To: Ferruh Yigit CC: "dev@dpdk.org" Thread-Topic: [PATCH 1/2] add rte_bus->probe Thread-Index: AQHSa2vrb79hg+a5OU6DfjeGn7jmmaEzYPk/gADhY6A= Date: Thu, 12 Jan 2017 05:28:45 +0000 Deferred-Delivery: Thu, 12 Jan 2017 04:33:27 +0000 Message-ID: References: <20170110180250.10625-1-ferruh.yigit@intel.com> <98f6a6d8-f9d9-2a4d-8100-422d0f41d81a@nxp.com> In-Reply-To: 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: 6c23ff4f-3c02-4ec6-6220-08d43aac01e0 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:DB5PR0401MB2053; x-microsoft-exchange-diagnostics: 1; DB5PR0401MB2053; 7:yafbfLpiGfdDuQFCGzmKdqaaKNM0OTHxwjhp47k65+aB0ul/LAQlzLdUqKTNgox5PRxwWzOObYEbIhZ77fL0fcX6sOIs+mjtU4dcAIqaGvccKguMWYsxpcyIgRr2fJuPmjYy5QGR1Y0kUVZ5pq5tWaAMEBZ9tKW7299iQJ/KlGkkrsidL6j36fFU7XQJhaBvxBFuJp0Ax+70FlfqOUkEB5HDMWII96nXPEo8p245rnFlC/+BpXAGnBR1LHkf31jE+eMUAbFPeUAloP9hQ83huc8gY6QAC6WWvSGTvI/bvEnw2C3ItK1S2vOmpTSavUD5Lg1ApiwYh1XSwjw3NzCA5hmJW4dZ10+MjTRFDO7ZqweNey/iE0Ba62tU62ZjfRxfqTtvqRhjyA/F1JwXnnlsd8QOx0NciTm/0ltoSgu6epqHyx8NjfU1UBcLCvHSQH6Dxygr4tGcMLFw+rJm44jhqg== x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(185117386973197)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6055026)(6041248)(20161123560025)(20161123555025)(20161123562025)(20161123564025)(6072148)(6047074); SRVR:DB5PR0401MB2053; BCL:0; PCL:0; RULEID:; SRVR:DB5PR0401MB2053; x-forefront-prvs: 018577E36E x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(7916002)(39450400003)(39410400002)(39850400002)(39840400002)(39860400002)(24454002)(13464003)(377454003)(189002)(199003)(76176999)(54356999)(50986999)(9686003)(2906002)(7736002)(8676002)(66066001)(101416001)(68736007)(8936002)(305945005)(81166006)(81156014)(3660700001)(2900100001)(92566002)(106356001)(189998001)(97736004)(86362001)(105586002)(106116001)(25786008)(122556002)(74316002)(3846002)(6116002)(102836003)(99286003)(55016002)(6916009)(229853002)(6436002)(38730400001)(33656002)(6506006)(5660300001)(77096006)(4326007)(2950100002)(3280700002)(93886004)(110136003)(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: 12 Jan 2017 05:29:40.3728 (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 1/2] add rte_bus->probe 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: Thu, 12 Jan 2017 05:29:41 -0000 > -----Original Message----- > From: Ferruh Yigit [mailto:ferruh.yigit@intel.com] > Sent: Wednesday, January 11, 2017 8:34 PM > To: Shreyansh Jain ; dev@dpdk.org > Cc: Stephen Hemminger ; Jan Blunck > > Subject: Re: [PATCH 1/2] add rte_bus->probe >=20 > On 1/11/2017 4:53 AM, Shreyansh Jain wrote: > > On Tuesday 10 January 2017 11:32 PM, Ferruh Yigit wrote: > >> Signed-off-by: Ferruh Yigit > >> --- > >> lib/librte_eal/common/eal_common_bus.c | 7 ++++--- > >> lib/librte_eal/common/include/rte_bus.h | 3 +++ > >> lib/librte_eal/linuxapp/eal/eal_pci.c | 1 + > >> 3 files changed, 8 insertions(+), 3 deletions(-) > >> > >> diff --git a/lib/librte_eal/common/eal_common_bus.c > b/lib/librte_eal/common/eal_common_bus.c > >> index f8c2e03..e8d1143 100644 > >> --- a/lib/librte_eal/common/eal_common_bus.c > >> +++ b/lib/librte_eal/common/eal_common_bus.c > >> @@ -145,6 +145,7 @@ rte_eal_bus_register(struct rte_bus *bus) > >> /* A bus should mandatorily have the scan and match implemented */ > >> RTE_VERIFY(bus->scan); > >> RTE_VERIFY(bus->match); > >> + RTE_VERIFY(bus->probe); > > > > v6 of my patches would include the above. >=20 > Since I am aware of you are working on something similar, I added this > (in a dirty way) just to able to test next patch. :) I understood this after sending my mail. I understand your point. >=20 > Thanks, > ferruh >=20 > <...>