From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 26AED23D for ; Wed, 25 Jul 2018 13:21:55 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Jul 2018 04:21:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,401,1526367600"; d="scan'208,217";a="75346847" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga001.fm.intel.com with ESMTP; 25 Jul 2018 04:21:52 -0700 Received: from fmsmsx126.amr.corp.intel.com (10.18.125.43) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 25 Jul 2018 04:21:51 -0700 Received: from lcsmsx155.ger.corp.intel.com (10.186.165.233) by FMSMSX126.amr.corp.intel.com (10.18.125.43) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 25 Jul 2018 04:21:51 -0700 Received: from HASMSX110.ger.corp.intel.com ([169.254.6.45]) by LCSMSX155.ger.corp.intel.com ([169.254.12.58]) with mapi id 14.03.0319.002; Wed, 25 Jul 2018 14:21:50 +0300 From: "Rosen, Rami" To: santhosh K.S CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] Accessing "device_id" from "rte_pci_device" Thread-Index: AQHUIzaazI1Jax8KXUmFO4j8Z8bgY6SewHFggABf3oCAAA0WgIAAT9pQgAAOcwCAAEBb0A== Date: Wed, 25 Jul 2018 11:21:48 +0000 Message-ID: <9B0331B6EBBD0E4684FBFAEDA55776F967340941@HASMSX110.ger.corp.intel.com> References: <9B0331B6EBBD0E4684FBFAEDA55776F9673376EC@HASMSX110.ger.corp.intel.com> <9B0331B6EBBD0E4684FBFAEDA55776F967337C28@HASMSX110.ger.corp.intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZmYzMGEwMTAtYWU5Ni00MDZjLTgzNzMtZmE1NTNhNjM3MWU1IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoicGQydE1iRDdTNGN1bGVGbm9Zem1jWmwrWUpJODhxMUV2QjRnMGFNQkI5dnowcHRpZlZoRVNEaGpTSysyZ3ptUiJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.124.84.17] MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] Accessing "device_id" from "rte_pci_device" 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, 25 Jul 2018 11:21:57 -0000 SGkgU2FudG9zaCwNCk15IHBlcnNvbmFsIG9waW5pb24gaXM6DQpMb29rIGF0IHRoZSBwYXRjaCBp bg0KaHR0cDovL3BhdGNod29yay5kcGRrLm9yZy9wYXRjaC8zNzY1NC8NCg0KVGhyZWUgbGluZXMg d2VyZSBjaGFuZ2VzIGluIHJ0ZV9ldGhkZXYuYyBhbmQgcnRlX2V0aGRldi5oOg0KbGliL2xpYnJ0 ZV9ldG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