From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0075.outbound.protection.outlook.com [104.47.37.75]) by dpdk.org (Postfix) with ESMTP id DB97C10CE7 for ; Thu, 22 Dec 2016 08:15:22 +0100 (CET) Received: from DM2PR03CA0053.namprd03.prod.outlook.com (10.141.96.52) by BY2PR0301MB0742.namprd03.prod.outlook.com (10.160.63.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.11; Thu, 22 Dec 2016 07:15:20 +0000 Received: from BN1AFFO11FD027.protection.gbl (2a01:111:f400:7c10::127) by DM2PR03CA0053.outlook.office365.com (2a01:111:e400:2428::52) 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 07:15:21 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=nxp.com; infradead.org; dkim=none (message not signed) header.d=none;infradead.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 BN1AFFO11FD027.mail.protection.outlook.com (10.58.52.87) 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 07:15:20 +0000 Received: from [10.232.14.87] ([10.232.14.87]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id uBM7FGX4006659; Thu, 22 Dec 2016 00:15:17 -0700 To: Jan Blunck References: <1482332986-7599-1-git-send-email-jblunck@infradead.org> <1482332986-7599-4-git-send-email-jblunck@infradead.org> CC: , Stephen Hemminger , From: Shreyansh Jain Message-ID: <7a50decc-60e2-ecbe-f48f-b92ef3f6e5f6@nxp.com> Date: Thu, 22 Dec 2016 12:48:55 +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: <1482332986-7599-4-git-send-email-jblunck@infradead.org> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131268645205355269; (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)(7916002)(336005)(39410400002)(39380400002)(39850400002)(39860400002)(39400400002)(39840400002)(39450400003)(2980300002)(1109001)(1110001)(339900001)(189002)(377454003)(199003)(24454002)(105606002)(81156014)(85426001)(83506001)(4326007)(81166006)(8676002)(356003)(92566002)(2906002)(23746002)(305945005)(54356999)(106466001)(97736004)(64126003)(104016004)(76176999)(189998001)(50986999)(69596002)(77096006)(33646002)(4001350100001)(626004)(38730400001)(5660300001)(68736007)(36756003)(65826007)(2950100002)(6916009)(31696002)(86362001)(110136003)(8936002)(50466002)(6666003)(230700001)(229853002)(65956001)(65806001)(47776003)(31686004); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR0301MB0742; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD027; 1:PubINbXKE2Zq9dCpgsXNra67aE991wUoEAz81Y+sPc/KV0HQsAmwt3e7x0IWdAsiO068T/6ewYM5///MVmovgBqyiGO+/D+Hqjh+1mr1ii/0gCu5hOC0tyImw/LBOOdojxL50Magmj4K9sYUJMKew60nL1UO29wcTsLx1822WgRejwE6WTj0Jh1VBIoz/vBWB47UacALpjrl4qUo1cFJkbG3d0LD4iPpsmoW9gFxHmrrzFCog+Y2NEifP9m2H2sYPx1/1nGGXquizRdHPZNRiZL917IlyMpNTbw0FayWLxoJx1Ms7BuD2NpahNASg3qJuRRTtZN9OSgENo8XhvSiw8eCCV22b1Dr/u8BGJ8bWGgVr6iEj+KOxJomQ9uXRDiYRTUbvZfO9+9njgR9nneXhXXjLZ+1bQoVmCbAfaDysnJW1lf7PN7KNdbqT3LuXZaZfH5zBfrbfpBFsXV5dJiO0yRSMi3qPJpPEyspNXp0MFlj2qS9KkzJlSwKt7FW1nWa8kZDytvh5kfM7uIpMVvTk+7++CoJBKAXsWYr9V5jinOxxklLqqvq3m7Kyn+3aiwlYqP2U2ez3MFdXwmnMpTh9uyxavJqlkeQEpG3oEt8YqE= X-MS-Office365-Filtering-Correlation-Id: dedbb774-7cd0-4f19-49a4-08d42a3a4a11 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BY2PR0301MB0742; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0742; 3:F+n/cMEH9keigEwTv8mTH3ZYi2saop9Gaf+4JWxO9QXREs5P0O1v4Frh6Q9w8XGTu6CKJuK0abhc6HdMvlBRTO6O5ydrj7pR5dQMFSr+mhV+V81R2frCjjD9bUwqp3mR15uwxpzXlb1a4jMCyF4jyMxLGqpHTCimg7a5wgRPYa6semxJYze7WliRRZNkV2e8gtnONZpz346viUXZYUgGx5uceuqbe6jVJkakDYQNUT1/Z+p5xkZo73vHkjgLC59x8bOr7ICJxh+i5FuXzrExHd4gLNEzefiXw8mf8Cw8y7p6TMENPdlQQVFQt4NVewXMlAX0zeY/JLqj4afoTKvtVUeasZgc3sh0lHK89xc5z7s=; 25:vmlx2folEmbl8nFGDSOkOkm/69/ZNoB82H5LXoca3x070aMir89bglxIWA8hWRj2ev/PP9onIHcrbe3eXeP7faJ0lVyk3W59n3KlKuSinmstcrhte+L3oXTP4HdnJjmCCMjT1h6sBO70oLB3EiUBrrpCuuoDSl6V7aA8E/CQiJflWIeV4pDbSSiw/xC7jlTK1zL0+aM+79Qc6j+lWLuKy8nhYuqvsLyD3fp+67+kmMVtXw3HQ004Z1n93I2Uf0UT6cyb1tqW7rusi0eoLTgAtrHKQUis+6BCZYmCqswv6em4jLL986MFP3j1invTRECaBzWbetcqseKCaKVrJ7loJqgEN7qy0Wz7hpmZWCGMvQjWeMC/oD4gfjhvdo40kFuqz5kCeglq/+mtMRycwLbDO1ONS2dGsIl2iOJARBPOesnRnmjtDfW8U4SIS5OJtz6H9daWTt2vr8nIJMVI+UwHQg== X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0742; 31:OL/auLdeygZ71uobLdpz/vwb6XYfCNwX5ILrq/0n4N1+JRCp7ZEblO7SnX7jAMi0o4oTAt+0v8ZY4qx79UUmXnGhS+CVlO++cdIQQti5F9YT02QtokCCHsjgDTJxCNK6VfXKz25gjxNJaOoivh4E3+XLzJ/g3/TGeUfDSKrXVzvNoC2v3PA/Q49XsFKrIGsyyu4daCwZ106vST/IHL8ZEKmP2Ddd7QEDP98MJnwqbdntr6MWY4V5T0xVj3AtOYlQ4bDpY1atTdZE4RiVJ0YiXQ== 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)(13023025)(8121501046)(13024025)(5005006)(13015025)(13017025)(13018025)(10201501046)(3002001)(6055026)(6096035)(20161123565025)(20161123559025)(20161123563025)(20161123556025)(20161123561025); SRVR:BY2PR0301MB0742; BCL:0; PCL:0; RULEID:(400006); SRVR:BY2PR0301MB0742; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0742; 4:bCO0D2ttZ5OscmPHiEDNTaQieWi693xQfkMoxYbUNn0EQvU7BPuVKEfNvV1RltUmtn0VZkseeA+8Zv8cyd1PJGirNPsUrim4u10dtV6EFDKvhJbRBIHf5B0Osx52DuuyTW4mLApAUcgOfGSvxMFcMsRCOr/vehMxNfi3LgB3ga1PL17tuKBiry2w/tHG0GdnG+z3L88NcwwiKl+0v/kkg8Pd42RdX62VUktN7+EVJPCliEiGLrUVzlYKiUBgFSk65gRWWxN+tH0tk/XYYP0NUL/ux8hlCjSvY4gPPYc3i26E2hjGl8pX0gooIN5D+IZbtxjKlWvdJyWmAnlpVgC4xv/7n8Up1lBeBJlpU+JHROjUrC/CbI20KPKmhsyv6QpyrlFLjH5Ga2FC8SoxK+QoVFmX5E5wyJe8yCl+X02fFA68TOTFYHM+azpDDnXZnesX7s6nlDFa29FBv1dMJIIznRT52LiiD8xI6gK+KabysF8eQkiXjFW/as7Uz5nOHdJqZpwocDZ629dqfQXWYFUfdQI0jzY4h13A8vlKLaLt275OD5g4uXjY26lVw5ZdANw+XNe9x/3Wqz6+QBu5zdHsXRA+w/eeKmXflanz+ceaiZyMw3sZq9dludO1qUSJ9lC0Ln2TOrORbxk9QgDwOdcwTPE/LPmlti/hebybUhp0Bcm9p9HHJz+zSzl/ljTeP+ALCC6m5qJhCoSIdTEBQDETCDGzsJYBTWcHi/tkoRME2NBa4+a5Xy7E6Q9GPg2e9erA X-Forefront-PRVS: 01644DCF4A X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; BY2PR0301MB0742; 23:eoa3EoekKooPO1gNkunsw3gPRHNcmsLjO0Q?= =?Windows-1252?Q?K5ppPhESkSFs/86xpRl+FxZlZEjsY8H3AXIMEKa6fc6hKOuWckWAh0ec?= =?Windows-1252?Q?jEOK4FWkzbSkU15SUewGIpIDj7Cb/7ExUF+nOEHp88m9CkXn4tn4vPM8?= =?Windows-1252?Q?/H/+wzux8e/tALvLs0betBq+id8FCURj0BPdhzmLNwxRdp4UtABPp4Fh?= =?Windows-1252?Q?GNFFY5BcjlgwSJArrpuzTWCCjqFHjv/uDYmgwrGsX6d3+E2DU80xzush?= =?Windows-1252?Q?SFKXxgTngOIXC7aa8ZHi3PdZ3rV/wbrmuHpqRiScDCJ0ZrlltdObSak/?= =?Windows-1252?Q?ZcgiM5K+9k3IKKNrrcR8PIiz5YvJJVppWFmBnPro1/RLXxLlERRweS1W?= =?Windows-1252?Q?nxdha23EebijHbT04gViLeRXft3ypHI2fxtlFLblK4OGTpsET4R7yRI9?= =?Windows-1252?Q?X1UmYw/8WnSww4Am6cTrdbsRBe5fuC6vpQbwmzSSIzWW4ib3BOW6IiSO?= =?Windows-1252?Q?YIp5iAk8xscR533RXZWa29V7aUvjipI8qwOA9L3sHvBRc9YLklkgF/ov?= =?Windows-1252?Q?4YLuXUjPB1M0gkBMc8TvM7OTso9F76ylu2Gj66p//DY4r6zVQqg6636f?= =?Windows-1252?Q?ZCPxWeJNGLal84CNti1NUDd8/qsRQqnn5Nlezp/EGfE9hTDuBk8VBOf0?= =?Windows-1252?Q?av8OR2RGZx1qhPvtSuzT/Uy1/UBCYbTFQjv3uEpVyBSz5BayDUGAC/8m?= =?Windows-1252?Q?34wIy/C4IvTMTxmsX4WiwiQvZcCH3W/lyds9/Pj4E4MY6tQTGF59LIpQ?= =?Windows-1252?Q?yCO/4/0G9bjXzQ+p1Px8fgdlh9YyTsQ9TM8jxN3BvJE4O+vttoOy4/MQ?= =?Windows-1252?Q?wrSP9BatgqaUaFDrYUcVnxe6n9tH8FODXCT8o7Jc6HoeLHQ4bRAyvjyW?= =?Windows-1252?Q?uxNmHFSYRH3eAnUnZ0BhG08dcft/PDvNC0HFRpzUIwSV2TsTKjExEnwg?= =?Windows-1252?Q?wTKyMEEA/COinsakU+NjioVZBUztehIDjV+3woh0LtZVp851S0aG1MN+?= =?Windows-1252?Q?5YEFwRSokogekkDICV38sCKrqn3GzRGwjFiEE6oHtazRAgxvy/3tJ2EU?= =?Windows-1252?Q?9yFw9tOZ5lQOcMlY0WTUEzyxqf4KQH8FgXtmbiVw2ilQ4HReJxSJQsmF?= =?Windows-1252?Q?mEaAN7y1I/aOvB8WDBR8tj/rKmJpi8S7gkWLnsi+JTp0AYNwdkSYtlyD?= =?Windows-1252?Q?5CSTig96hfgZ84+odTNgWsPHuSrv2wQq3yApBataNP7YU7Qmq7Br0gYm?= =?Windows-1252?Q?WdlcYcj+2xhOxOAQofiEElUIJPXk+ym8lDsN3Wmqd9vZJXyNaaZuh3xm?= =?Windows-1252?Q?e4qnU/SN79SO7XCCp0C/3og1lmUurwLfTxS68kog6TXyExYXqx0XaKnp?= =?Windows-1252?Q?aer8xuZ0oBz35LQ7C5OLeHPlqPR2F0qMGiFRI98c/dkrxdjHDhavYZex?= =?Windows-1252?Q?XwhYlEQoJTxYov0V0DdVjykWuwAB1Z9/BLeP+yc/Fo5I6996+HBDn6WQ?= =?Windows-1252?Q?qpDedS/fJjdIEfAdHCS5wbqjRT5RhdLxuQM/C9+p6g1GfncKbmxJu687?= =?Windows-1252?Q?J+g=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0742; 6:VIZaOIccu5O1JLYPSLGcNXs2av7yyMOMx5E3Nvf5OxSh9w07/EOaeaRt4w69u2SrcM4Pp8s+VcFICY3ZsuexjeuMuj4b4o5moGPeIdOxVK8dEHkidKa0gGC9FdfZq6J0KpDVGLugHbfSyHzdo6CBFjU+A2UOr4s8/0WSomwk6rdxTN7rzW0OQIfrLYoi/shTkTfSLnPjuFYu93vQTSJjkh32qoiKjjKJOQfI07JSwQzg9hFfZXu2iubfsbRMYoZ1n4pvtLSRLDJxmNJUfk91ai+N0sJZQEetjJRjMJFfshBs7W9xeAoZ9qk8f3pWpg1nHeXsTZbEY0gzRqWru+ppqix0apcFIdpUFCjJQ3YpCAtkc546uIpMTZLdUSYvVXiQDfd1M2U163cmyEpWrgCcHuhoV9CUFZqtz9d8vnNcYlZldq2QGeu0YqReJfChdVCj; 5:bgOh/XYKUqq5jNqfF6/9KitPOV4WhTZu3AsSZr5MnBkQVntOa/jw/EA16f4VmmlvwOe8rY8FmOgVUj52I7ClLWSNuwdaivMXU1NB4ril8vgTo4odSEdtmhJNnpHBEr7PVLFmGSBNu8nkaLz5zzT6hARuPVzYQvLDvzGQV81GvjwCVkSxOzee+MM9h8OqdQqu; 24:8m8OL3kn0jyDjlTrWj4tPRARj5V7Z6pGPW0GX/rWunPbyPnO0Uy9pg8ASTsWnO9s+YIPEI0TyNp5t+R51cyyC/SZuV2xJK0X4fSG/DwzDB8= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB0742; 7:2CezWg5v6ts9NcNLlUAb61SuYVUefuS+gGSY/Z67317OQiL7K8Sit4gpWwRIblt39PIxSY0oVnFPgaHjNj4emZ3l6pXPY0N1mwaT7jUSldg8c40L6TM3jpQ7lsmCbyMgwjiZs3V0uIe5qTQpGGN0wVY+b0kiVRTCdycYczXhton0kKX+jDFwYAVMXRQj3lRYDpb5y2u0F7C6i2BOVkbVJa5DxnlZO+cVaOyttw8CNtl5sUCQpLTvM8cO58//DX9SverxVwuIFdFmTCO66jcV960kCSWquUR5UN6iCt7EqS2gIq2L0M8LL/P/lsQjZ5u/+n/nhFXVohkqobuSEl56asFQ9jfxyEtqGrFVV2NOThinfFMeC9I4MF8eyGBCWfWqJBBJffVzDkzFsdoDkjtGFd0BHDn21MWs9j5CNDaCKPIgSqe6MydOcR1UG3sWFP8fhoYp3JhlWuFMLmz1s4NvKw== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Dec 2016 07:15:20.2859 (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: BY2PR0301MB0742 Subject: Re: [dpdk-dev] [PATCH v4 03/23] rte_device: make driver pointer const 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 07:15:23 -0000 On Wednesday 21 December 2016 08:39 PM, Jan Blunck wrote: > From: Stephen Hemminger > > The info in rte_device about driver is immutable and > shouldn't change. > Acked-by: Jan Blunck > > Acked-by: Jan Blunck Not being picky - but, multiple Acked-by can be removed when this is applied. > --- > lib/librte_eal/common/include/rte_dev.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/librte_eal/common/include/rte_dev.h b/lib/librte_eal/common/include/rte_dev.h > index 8840380..e5471a2 100644 > --- a/lib/librte_eal/common/include/rte_dev.h > +++ b/lib/librte_eal/common/include/rte_dev.h > @@ -122,7 +122,7 @@ struct rte_driver; > */ > struct rte_device { > TAILQ_ENTRY(rte_device) next; /**< Next device */ > - struct rte_driver *driver; /**< Associated driver */ > + const struct rte_driver *driver;/**< Associated driver */ > int numa_node; /**< NUMA node connection */ > struct rte_devargs *devargs; /**< Device user arguments */ > }; > Acked-by: Shreyansh Jain