From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0081.outbound.protection.outlook.com [104.47.34.81]) by dpdk.org (Postfix) with ESMTP id 2525C10CF5 for ; Thu, 22 Dec 2016 09:07:37 +0100 (CET) Received: from BN6PR03CA0042.namprd03.prod.outlook.com (10.175.124.28) by BN1PR0301MB0740.namprd03.prod.outlook.com (10.160.78.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.789.14; Thu, 22 Dec 2016 08:07:35 +0000 Received: from BL2FFO11OLC003.protection.gbl (2a01:111:f400:7c09::148) by BN6PR03CA0042.outlook.office365.com (2603:10b6:404:10c::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.789.14 via Frontend Transport; Thu, 22 Dec 2016 08:07:35 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; networkplumber.org; dkim=none (message not signed) header.d=none; networkplumber.org; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BL2FFO11OLC003.mail.protection.outlook.com (10.173.161.187) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.789.10 via Frontend Transport; Thu, 22 Dec 2016 08:07:35 +0000 Received: from [10.232.14.87] ([10.232.14.87]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id uBM87VO4030528; Thu, 22 Dec 2016 01:07:33 -0700 To: Stephen Hemminger , Jan Blunck References: <1482332986-7599-1-git-send-email-jblunck@infradead.org> <1482332986-7599-22-git-send-email-jblunck@infradead.org> <20161221120953.0282b531@xeon-e3> CC: , From: Shreyansh Jain Message-ID: Date: Thu, 22 Dec 2016 13:41:10 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20161221120953.0282b531@xeon-e3> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131268676560615275; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.158.2; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(7916002)(39380400002)(39400400002)(39410400002)(39850400002)(39450400003)(39860400002)(39840400002)(2980300002)(1110001)(1109001)(339900001)(189002)(377454003)(24454002)(199003)(97736004)(92566002)(68736007)(189998001)(626004)(76176999)(105606002)(69596002)(64126003)(86362001)(106466001)(230700001)(31696002)(50466002)(54356999)(31686004)(50986999)(2950100002)(6666003)(65826007)(5660300001)(36756003)(4326007)(356003)(5001770100001)(47776003)(85426001)(81156014)(8676002)(229853002)(23746002)(65806001)(8936002)(2906002)(81166006)(33646002)(38730400001)(305945005)(65956001)(77096006)(83506001)(104016004)(4001350100001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR0301MB0740; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11OLC003; 1:B3RU9KCSGSh0sSLqBCXIcmF/K7GlOy6x3tlRSkR2eRyxIr7sGN+hyWvF9oQAaa1drawl8ObattIZCvk0WAbXbDWh379nmjmfhABrwIVldfjlM7l3P3VGX89W/OsF7P41gSw8HVi70JT1IBNux8ZMy0RDISm7JKlZ7rk50H7BY+zivMdrk0xdCmi685S3LBSNoaqtgV1uQH0rG5e6tZgKRzfI25Auq8Auvy7tIgrb33O+qjq7MiR1tyT94PN1Ds3ThpJ7+JK4VUJUfJ4aFUbX/0vED+bvJh+NxZ4sKt8QuOF/xhFPKL4V8NKnWG4bQRf99cOmgrHgb4kl5G+8z7O9HtsRoAV5TjKP2I+YFPm7QHZbNQlwnwzBzPyPpxlqr9I/xI7I+yOXLe599mvKkvBQyFirCdrMx+cdxdOkICLD7XWNdcjhv6S3FYCpCyvtzMK+DqU8U6Rd9w0PVX/HYO95J9gUJs4di8kJsGUYmRBpwqjPTH4N4hgzjRT4vyOSkj1YEiXarVjurwQ1vpdeQq1OevT3G9hr+bdYQ5uEFLqI8DyFad2B350+6GLpW4flpNjPMCpqdfexJekB8DK36IoqEEdfMZLDq7MYo5HtZkzF8b0= X-MS-Office365-Filtering-Correlation-Id: b94945a3-3018-4a3a-960c-08d42a4196fc X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BN1PR0301MB0740; X-Microsoft-Exchange-Diagnostics: 1; BN1PR0301MB0740; 3:vzM7OnSvjFJNwXdMNPPpmh6IfnvN5MPJzwdfOjhJ+dyuMTdrcPV2YU9eOJFAWJ/a3QvU00DrEPDzVeiSl8cFzrLni6c52azQf+Fa0qLD/u7mMclhmNfLbHUhR5QcqCgXnIxRE0P/RLT99bf327XNg3yCIUBEvmXLUUNqs75E6nIKjdWdEtxOnV+8eL/53dcmVd8KoQkEpu9sZ+Pv5kNjGUXkBJcFYiROocMrvjT7rJkBlJPXiJJCZ0esILNTBUXORB0CL+bj53eqxQoz3WlYjN2m9WzFJOwzh4b1gYdZZHjHzR9/yg73zAryn7oQ/VY9h6mVRncKXlhNqN/THmWblAvgrWoMD6JC2SBcPMK473bE8nw2lice183PqC4MeCGt; 25:8z4DuxFRKjKpVWofdSTIT2E9xV/jJFNzV3nwfecXbz4OwnCMS6EiEhCkHtjwx/UNzVnLdm6fpjmaMyiyNdTRuMBtxzWvo/xIMJLRYpnJeSoce/hAj1Jqfb+FkWjVGH6QpRKksGE/6lTISxFYxEhRiUh3CnQJSZ+nY/r6pLyGR1QM4Y2OV0cx412X+MhTxKMx7kkdFy5L369MTd4xdcILr5wPrmE6VCO1LtwVqY+g7c58a8NNZUR+3WNeX3mYwKQjMyPdO2tgtpLVndP7/CcOw6GFr/h9eYunOubFGbjWqX+BDm92KxrAuOqIU8IU7lUxFoyThTaGpclNb5X1y+KHEtI/VNVVX/KXN2KKCKQalo23LdInlsGN21lauPCekHGHQ2uPE/nQGQH8QJ4tDYViDJZ9tpHo0Hz+xy5VzUNgebJTumghS5eH7kc9IBsjt+scHL8Frz2cyfqlvtDOs7awfg== X-Microsoft-Exchange-Diagnostics: 1; BN1PR0301MB0740; 31:mBXXacfcFJLEu6zGHlkf7QC8ourYayE6ybLWb2HPToQI+SrOdBl5qU62U/RKM10CSkrKK/npawpovPg9t4OfKm5Hpy4AyoJsfdpQg9mbsJ0zuZbtgP6iVtYwrVAyXSP19XHzNME8Q//Ik644CEw/p5EJqAM8pYihFIDoUyOdZrfSVgrOlOvawyPslddK7pCNgdqWttZR7vqKDfNc+6a26nzwG9aqbOquI9sUw/1b2f0SklZ2SjoV+4yZa63V/wOsYCeHkVpA5Tw9ZDgC2Amp3Q== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6095060)(601004)(2401047)(5005006)(13024025)(13015025)(13023025)(13017025)(8121501046)(13018025)(10201501046)(3002001)(6055026)(6096035)(20161123559025)(20161123565025)(20161123563025)(20161123556025)(20161123561025); SRVR:BN1PR0301MB0740; BCL:0; PCL:0; RULEID:(400006); SRVR:BN1PR0301MB0740; X-Microsoft-Exchange-Diagnostics: 1; BN1PR0301MB0740; 4:htTqVvf3WL+2bGx9dipdu9zZiVW9R3OkPsbgOa/ODG7JhdibEETgx8dLPIRBZ6OlCgIOMaiFoPAwjtSZB1TWYDmb4sdkf0RitOYUffcrTinD/hpDi9t7qYlSYXVqTPftkbe8gsJbn0i4ySypItMXsidu9cdksw6iBg1rKVt9ji7yBdbetupVQ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252?Q?emYgwjkkVa8A80yXvQGENEOcvDkMhz+gvdp8+HXFzYNA4mGX/x8T6ZxS?= =?Windows-1252?Q?jw498N5VtbwUzglavNnx1Nhf4QU56HXMQsIdwcnou5o1a1adTGg1hjxB?= =?Windows-1252?Q?hmb2OdMyZGTgqXoGL/NMOYsslDk2FJJmIlmAEuxP7Tq64Dr6pT8gtTH7?= =?Windows-1252?Q?tuzY2KDbq0+4DNqqFTBXPwCmjF5ceO/hOjyfTFEwWUxDUSC/KdwRPEoj?= =?Windows-1252?Q?mCrUDWTEopLCdW2zu+KsgYCxENLg3a7KS4LUlPz3scCBcm0ZEPnu+s//?= =?Windows-1252?Q?VRt/vHJ2zlzQa4Cwb07Mx55bh24x80URRzaT82lgSeprSznFyuX4F5pY?= =?Windows-1252?Q?5p6M1abDuy11NFt7JfEeybgThtfBXOyw6H9tpzS4Tq33uNZJiT3dV2Fr?= =?Windows-1252?Q?1TfEka9j/cexpErXJaXOsUC5hq7GOrTKNEa3HVwqMARw4dK8f3nwb6HL?= =?Windows-1252?Q?iAPVDjBzUM5EFAXKbUQeedQwvNSoY+Od42Dk2ui0udbTavrw3sZfPAFq?= =?Windows-1252?Q?OPFVO5BqWkXAYkpjll2jVMakeANhYuzg29FRkDdnKCkEnG/ATHzPr8RW?= =?Windows-1252?Q?8ZaMiP4K17E8+MF1E1hi18b5OeJ9UyzasciL/GXnoR5LL3T+KONCRCwP?= =?Windows-1252?Q?hw7Hit9Pe37nwW1EJjLYYwA0CGJUNXm4AmXF9h3gSwr2E5hfs/lPbnh6?= =?Windows-1252?Q?UvqzKcrvIvjT7/A8lzvaM8EDCFHxR255/s7Su47YnOzuopeL7vqI3mZc?= =?Windows-1252?Q?3Ti1jGVIphwTyNNG0Fpyp6JfUy1/HlOpJRrSqV6zPSZ1EK5Qy47xcwEq?= =?Windows-1252?Q?NDixdcBNeqN3QbuQ1V1rivXNlTNPrmbFKYczmgxYEeAoK6A0SAqnxoYo?= =?Windows-1252?Q?o1hjUOMRs0b2MmHAx9+BasIwlJkR6w29mZEloixOe5NNWWPAQJY9N3h7?= =?Windows-1252?Q?YK59btQNy7QBRgNAb64jU1NmGgOTGjwq7K5YLgGpM+/2j/69Kx8yhwnt?= =?Windows-1252?Q?msAGH2xTkru/xL0sd3kQfsS73+5jdUKbYgsv+zhgPkjid2sbuwyoRElY?= =?Windows-1252?Q?FPk2Svx337KMJrmUZ/27OkiDdJRh5KDSZWAv0VQyPoiKNY/nNe5Ih2Q6?= =?Windows-1252?Q?NAfkr9haQOOQVxgixFlRZ3GMH5Wr1dZLAT2kuphsBHzAVGZWXmct50ul?= =?Windows-1252?Q?fK1kX38s8o3sxlMhRrfznjfJBCzssw0N7QW7btynBVnO6P90CC52Gc3b?= =?Windows-1252?Q?XNQ=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN1PR0301MB0740; 6:QA7tyYYKI0CR0xsp3whnVeCnOpOkQEA2CvgmAmjTSyN4fgHLqPIVJK53k5n8J7HndyViCQHrATVnNTzVZXiOb5Ca6txatXaJFgi+xscrrWeUr+C+2lGyVnI6sO1dvYM2Hs2DIoKNdOt0tXOwAZjp3rji9IUnGfjI6sCDQMrbc5Nl/1SDTMhyFM1JxbsmSmZvvtIJmTtIjP11rDhUA09nPtfhorR+2QFZIZmeH0JLaUOZZJS8vh+DrWYjyRYtojgXNOF/BgDyJn+lkOJQQJSrW6ziETbr2/sb7z3N8TAzkrEiInN+xW2+/63Nd86bXemha/aK/YBqij4iJ8zE93gtPsKmdWesPBaFk4oUr1oONsH8aLi8u/iNa/AUUAqQjipNk7bafssctOs7KVKrn/25pghxATWDIQKSHl3qp1ryFI/pfsjep98yyLtJjgFe6tj6; 5:DGCEd8JDxVm5iJ2RYiSJgY58nj5cr0chKMrVJTZc2IzKOJo5YcXNrYYtUcGaP5dQzH8hV8CclSfdD4iq6UyKFQ5eUrmpEpS0n/zRHxGoTW99AOw6cPQmm7q09hru0otZ9KnlHpCuXzggF7ZnMsnKQkiMByJDJWkw4NjYnGLU1MUP7msLckJghFjoJY0ufz6I; 24:/2HMRJammm8ezs23COF+oy2bHKAdCMidBdyO1PN+lM72uxmiPYMJtSzHqp8xwwL3Jz7MdEnDF0HBPxT3jeZ4pRPrZbGz4QvlzhOR9QJ3oks= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN1PR0301MB0740; 7:NvpQ4NwpL7wcCnKz7Io0pEbBaUYDD41EZVIGsCinBbLmRyy5bXmZQ2ot5d6PpSVQQ8iX/NdA0rokguxq/nf7u054kUKkfcI523EKbEco6JDphC1PoJ7aoxqPYXfc/4r2M48Mu4iTEzJnbXcXtgb0n/d6Jv77g8wOr2maVAxZlyyETuPOiF+ipQM6MXqyQVI+0hgbX3nNIhnrgPYDxkPWQ61U1hfv2eVPHv+gdZIpgxnrjIIKzC0UrzDza3JNcnHrCbJXtDM/VLfdUi1Xx439xm3vH0/216eWCAs4HywEVi/NtI+nBBDSwvsmmRhZO3q2O04blO5/Y/nAkB9RKMjJK51TZr984yNUwMXVIMHpBOrBQsRXN2DitUlQLMPytBA80acL4WBLBCB7MkwiOY+UAv76eG0Wxl9WbN6I/RT+4EnYL/LD1dtdVW6WU3sXD7K0PWq2hef5DcgQI9dy3J2aag== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Dec 2016 08:07:35.8119 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR0301MB0740 Subject: Re: [dpdk-dev] [PATCH v4 21/23] ethdev: Move filling of rte_eth_dev_info->pci_dev to dev_infos_get() 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, 22 Dec 2016 08:07:40 -0000 On Thursday 22 December 2016 01:39 AM, Stephen Hemminger wrote: > On Wed, 21 Dec 2016 16:09:44 +0100 > Jan Blunck wrote: > >> Only the device itself can decide its PCI or not. >> >> Signed-off-by: Jan Blunck >> Acked-by: Shreyansh Jain >> --- > > I would still like to kill dev_pci from the dev_info API. > +1. It should be rte_dev reference instead. (But, I am also OK about doing that immediately over this set.) - Shreyansh