From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0067.outbound.protection.outlook.com [104.47.2.67]) by dpdk.org (Postfix) with ESMTP id 21434532E for ; Sun, 25 Dec 2016 18:39:48 +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=7YWazBWHi+9+ObcUfuuDCBST1CrRk9FZm2ZkuTuX0zs=; b=wbpurgYyFePIwFTBXBrrgKaNEct4x6eff8lBl8eYm3dNC+xjgdnV2MXROkum6lEp6V6r+COe9V21pZqkWtQ/qrYj2EoSSYBe0PEJ18lvv9Lkp9TtJnZE+WiMMKUaQv4W2DmgKQygcLFk9Hun21hlUrlDH1qJbKZ8LYr+MFg6xaI= 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.803.11; Sun, 25 Dec 2016 17:39:45 +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.0803.018; Sun, 25 Dec 2016 17:39:45 +0000 From: Shreyansh Jain To: Jan Blunck CC: "dev@dpdk.org" , David Marchand , Thomas Monjalon , Ferruh Yigit , "jianbo.liu@linaro.org" Thread-Topic: [dpdk-dev] [PATCH v3 02/12] eal/bus: introduce bus abstraction Thread-Index: AQHSV52hZm4zDgCTN0+57fJ3TzSmC6EQ14YAgAggzjA= Date: Sun, 25 Dec 2016 17:39:35 +0000 Deferred-Delivery: Sun, 25 Dec 2016 17:39:13 +0000 Message-ID: References: <1481636232-2300-1-git-send-email-shreyansh.jain@nxp.com> <1481893853-31790-1-git-send-email-shreyansh.jain@nxp.com> <1481893853-31790-3-git-send-email-shreyansh.jain@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: [122.177.173.26] x-ms-office365-filtering-correlation-id: 661c947a-11a2-4e99-0c1c-08d42ced043c x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:DB5PR0401MB2053; x-microsoft-exchange-diagnostics: 1; DB5PR0401MB2053; 7:ouzTLwNqPS94M6tv4TF8uRRsVttZOCSa5BwUjDBy1NIUj5jtLz/ex8g2G97E6vijt8GPBYnWEK0w187K4f3PZBQlgewPezAiBL0lUU8zgIZbdGN8uVpcadK7QUCj0r8DxtsZ+lF2FNzzIfRYoOQzI2eh9OQYY25qIvxYUaXVXbcMIlKZXQk0dk1O83EZrxDa8cGyMdglZLnD0ZSVoS0lrdS7JsUSANRGh9tS9/w80D36ZhNR8BwXu71pbrgaRiazKYzyCdhTgrBoGfZ4LScsFv7RbQhtCRfasa/SaVRIw3AElM3ixXl7Hz99zhAbkPwhMkCANQ2YfeLjLlOVeRZc5XDhmH06URF4qk4Apz1pDd/PDrKMZtoYSuJbl4kIRxtjvGO75t4qHWPXpHT1MJQuLIwT/34+gPtEJJpksApRzXGzgL0t0v0XBdUhM2CbJOvUUDVFHDhJXmioaBHvy5PDQA== 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)(8121501046)(5005006)(3002001)(10201501046)(6055026)(6041248)(20161123562025)(20161123560025)(20161123564025)(20161123555025)(6047074)(6072148); SRVR:DB5PR0401MB2053; BCL:0; PCL:0; RULEID:; SRVR:DB5PR0401MB2053; x-forefront-prvs: 0167DB5752 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(7916002)(39840400002)(39850400002)(39450400003)(39860400002)(39410400002)(377454003)(199003)(189002)(13464003)(25786008)(68736007)(6506006)(93886004)(9686002)(38730400001)(6436002)(76576001)(77096006)(6666003)(74316002)(5890100001)(7696004)(305945005)(5660300001)(101416001)(66066001)(3660700001)(3280700002)(76176999)(8936002)(3846002)(102836003)(6116002)(97736004)(2900100001)(106116001)(54356999)(2906002)(50986999)(106356001)(105586002)(8676002)(81166006)(92566002)(81156014)(189998001)(4326007)(229853002)(122556002)(110136003)(86362001)(2950100002)(6916009)(7736002)(33656002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR0401MB2053; H:DB5PR0401MB2054.eurprd04.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX: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="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Dec 2016 17:39:45.3976 (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 v3 02/12] eal/bus: introduce bus abstraction 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: Sun, 25 Dec 2016 17:39:49 -0000 SGkgSmFuLA0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IGpibHVuY2tA Z21haWwuY29tIFttYWlsdG86amJsdW5ja0BnbWFpbC5jb21dIE9uIEJlaGFsZiBPZiBKYW4gQmx1 bmNrDQo+IFNlbnQ6IFR1ZXNkYXksIERl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