From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0082.outbound.protection.outlook.com [104.47.38.82]) by dpdk.org (Postfix) with ESMTP id 5AE5072FA for ; Sat, 15 Oct 2016 15:51:52 +0200 (CEST) Received: from BN3PR0301CA0078.namprd03.prod.outlook.com (10.160.152.174) by BY2PR03MB476.namprd03.prod.outlook.com (10.141.141.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.659.11; Sat, 15 Oct 2016 13:51:51 +0000 Received: from BN1AFFO11FD020.protection.gbl (2a01:111:f400:7c10::186) by BN3PR0301CA0078.outlook.office365.com (2a01:111:e400:401e::46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.669.16 via Frontend Transport; Sat, 15 Oct 2016 13:51:50 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=fail action=none header.from=nxp.com; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BN1AFFO11FD020.mail.protection.outlook.com (10.58.52.80) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.669.7 via Frontend Transport; Sat, 15 Oct 2016 13:51:50 +0000 Received: from [10.232.14.87] ([10.232.14.87]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id u9FDplAt027989; Sat, 15 Oct 2016 06:51:48 -0700 To: References: <1473410639-10367-1-git-send-email-shreyansh.jain@nxp.com> <1476539108-13170-1-git-send-email-shreyansh.jain@nxp.com> CC: , , From: Shreyansh Jain Message-ID: Date: Sat, 15 Oct 2016 19:23:15 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <1476539108-13170-1-git-send-email-shreyansh.jain@nxp.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-EOPAttributedMessage: 0 X-Matching-Connectors: 131210131103396634; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(1110001)(1109001)(339900001)(189002)(24454002)(377454003)(199003)(2906002)(85426001)(230700001)(97736004)(47776003)(11100500001)(36756003)(4001350100001)(23746002)(77096005)(356003)(86362001)(7846002)(65826007)(5890100001)(81166006)(8936002)(305945005)(65956001)(104016004)(65806001)(87936001)(8676002)(31696002)(83506001)(50466002)(106466001)(2351001)(105606002)(586003)(81156014)(64126003)(5660300001)(50986999)(54356999)(76176999)(92566002)(6666003)(189998001)(6916009)(2950100002)(110136003)(68736007)(33646002)(4326007)(31686004)(626004); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR03MB476; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD020; 1:Ct6KAioP1sXprB4j5m2uNBc8cWLEgZIJYG04/vZ8BJeENdlKkanw5zdTtwNay9fQvfFvC0lJHFUgXWbA3gm9fPlGeDbUQrlJRAoM7AHctEBY+pGiOJiCnzqIMbR2ZuZNz5uHHWoBU6o2+dJugkeRDSxXg+HNAbXK4b/hEaZ78iqV7MoAD4WDGh0WqzuWdrcV7iWp7jqM6vgwuuautMlldIx7C+FKK5REwmwgR6f6CnAzDsojFQOi1M2c4aHRPagwgiMeWYxRnjCey704BLD0V7/t45Fr6lk/eFSziVloP/qV3FyDXP9ZdaCTEw4EDsuHPf2OYFPHpU9Vl7hHuN2NHSmW6CefYIgrv6NhZ/Je/AdZFZ8mbuh76zvZrvsunIu0su75rgguiqLtPvDkORCGHERUQzpJeprWqj443Lnl12mmIi+pWjCjM6doA70hNC4uubfV6rWq7qbEga8vNYwIIsLdjR1mgOMxntFJCX4QnXOgfdaTPyWeZ3LItQC0kt1l4NFR2isxtNE31skBXbrXdNORWnIorvvYT/mx++YnXXFe7HOc1Pqb2i6BmGeXf5FgO9Cr6MLVdyi7oQOfzSFNJdpYGGvQLmU8J074Glq5yo0= X-MS-Office365-Filtering-Correlation-Id: 95d1fd35-7552-447d-b31a-08d3f50269d0 X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB476; 2:qjgikb/IGSf/hpzAIXk/bm6Wv9ujAMkW2d708V81iToqmDPifahyh82VSTs+1JJ7njWJdm60qcVT7fOEkTUWkwPJZoeflgnO5Z1LZUJf2RdzgZtUdimp+2ZwUtbtpLZj22at6D8rxksoUz68C2VBZpIJxISZXNaPAPkDrspmYm3irePvkMfK0BQqYepBQJrH0tAg7weBRubDwDEHXratzg==; 3:Ay5GaYXoJm+NNEfW+sHG52f/Wq01douNBvhBaJk5fg+Mj/Td26ZqvARuJylXCqF37vN94uB82NAwv5S6SWOgr1ks6VbUE0MEhCg49lvndZStnjI4mYYmeY/yANNDh3DG7n7+p5DXojTj1IGqX6qpzAc2mhiNOHLSMpk9vGbsxla9T710SIf4WylueuwFt/Jg5+1jav9u7GvcSi962Nsz6imYAlLJtf1B/3aCD/q7Zz+qsTEUpSJoQzmifaOyAKIA X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB476; X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB476; 25:m5tKneuJSFaqHC/0jP3+8aO8xvf0TMD8LLmUutb/dWV3i0E3gAEPRklbpOfnOvCaN7O5SSQlBp5++hmwkZ2HjwiTowh9q8GEp9TWc4A6X6465qhntt50ZdAGqF6iY+m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bPpabcQiu27HK81e/ahAVoCOfDfdeUZdh3r/hsKCE2OCMCMdzD/zD4+AG2BwdvvEbJQb6Xqfi8lwItnT29wAlap/desXkkmRLERGFRSKl4bzFWRxl7n7vsQQsCLuX4YAllZxXveFSOGY+ZEvcDsx3XBrlBNpgy7I5iopH/AXqO8FoW/RXy4lSm/MBqj0IJ2PHPHYEa0tokF+7hFUXDwM52AmHk2XVeE8pMtEhhfb13TJyvFWitcPSbyXOvLwGWqIqveHwvkCoPTk/gSVaDEsSBaGBuhEbkaxR/Nw8ixfFN7bXMHwGdOLjUwsiMvt8hj25kBh3r1sr1QMqFwFfKz6IF0kUpg/vJqxAc/dP3E8mjrCoEimd3TLQVRPRxvxIcO0iu/fS+T1qkCQiA7k1uYl8r7XRsa2HGq4OMXEYEi2eCCsvm/Z2VLUAYPKMf+dSOfGQqQQrqQD3ijyZlXSGgS+VeHVKSnGHZFkt3rSw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(5005006)(13015025)(13023025)(13024025)(13017025)(8121501046)(13018025)(10201501046)(3002001)(6055026); SRVR:BY2PR03MB476; BCL:0; PCL:0; RULEID:(400006); SRVR:BY2PR03MB476; X-Forefront-PRVS: 00963989E5 X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1; BY2PR03MB476; 23:nOb0JhF7aK3FL4PgoAoj/bWMMaGJe2xxw3JCqe?= =?Windows-1252?Q?tIjX2yYJpWP0dP9gmK/zxfYSCLpKsXc5xy1iRyoHDSRYev7j3HulZsmY?= =?Windows-1252?Q?DOMK6f4UhMz89XbPFDr2xM1Oh9/r44FJff6g0PxQVc0BZZA02RsmV4jN?= =?Windows-1252?Q?JluuOaJe8z4dM5gsLW4hpjgUHnWq6GbhlS/+oOCixGMAJm6tmPwhON/4?= =?Windows-1252?Q?iiLvsY5ADMAtdHtxazUwpOdiE2DmzF1sET1c+CwsHk5HvZYYc2Kb94JS?= =?Windows-1252?Q?cuWiuXyMsllZ7+kIlUmuxoqxKrmOZI+t8+I4gOfXEL9L0bU24OkullCY?= =?Windows-1252?Q?Ya1Ryh5YuxmSgV3RMBg2Dl3o4/hdGiJy1TkdoiHmkP6PG1pRUIdUQA/S?= =?Windows-1252?Q?9zKoVSeKCZWhSWAyF7sqN+tioGQ4fY5AKFYe59kRq5oq51faGLip16ol?= =?Windows-1252?Q?G856NUj1KX482l4/g1ftL4Q3+gVlie/eMw2NQF3GoKqQ4OVqFlAz9jwU?= =?Windows-1252?Q?6yqsN5YcBfM5rUQxtTDFBW8PqHbat9sPEztOddn87efobj7qj7IAQCNc?= =?Windows-1252?Q?bns9r5Wun7aPNsXYemM1a6f/vNFEUntjwPGpQ6BUvNR+hHnsS7HxurC2?= =?Windows-1252?Q?/KG9Gk2rUGsGYC2TMCK4iEjMcCrnfAMpHbHp1H74dydTFW2yWug+mWey?= =?Windows-1252?Q?fzR8+sjDbLOwQ3TmyLXDvWfdDsWlr7TTRKy2yxLDt36tnrYN2BGbrVrv?= =?Windows-1252?Q?g/0EDXRQ+WHBu4y12zG0pmA0kMpitztJJ7Wji5CD3SbwvUcTQnMp2qgI?= =?Windows-1252?Q?t7WUCnYFzOluz4iFPo229FW74KZRnc81TnY8XYjdotGpHJu94VJBQXzc?= =?Windows-1252?Q?4yXpV+4dF59EQU5f2ajCg42wsgogTy2E6o7sb0ems3gE1dtl7Q5uDn3M?= =?Windows-1252?Q?QuXcFedrtpuyf8oF8EWAERukCctfWtX37iOC76H9KPltyZa/660LcSIe?= =?Windows-1252?Q?8F8H8bCLCqtlkNk+wYXkL0OBLlgXmpp/Ms2ItyWPYUgxtwp7PKC6EjNI?= =?Windows-1252?Q?xVBcW6X4j+0X3pc940a/9Xz3F6RI+NR6fH6QMpCCxLohKA/ln8oerymv?= =?Windows-1252?Q?zjP5nogod7+BxOXoxtOhRsX+DDbNDaOk3zuz8G1jaBRZALLYwqXTC/jl?= =?Windows-1252?Q?nkROfYNruaQimuHBsg7Jq4ptasqa8vMsZoZDtMxWYOlG7zrjwW7N4ZcP?= =?Windows-1252?Q?Z5Qh8GFX7eRoonKAe8DJ8d2ZCNLxiVNukIErVz92r49VsBwTh2k9r+G1?= =?Windows-1252?Q?jDStfONrGVd1l4VGIOg0CzmquRLqTspPe3zli7f5NyaXCWyPmmtMriQU?= =?Windows-1252?Q?sPh4Jlh7EoB8dSvlLFzepJnWrBFueX/uJ0Ef6pJ/ygxmBs9kKTIEN/Qm?= =?Windows-1252?Q?0qG2OndXWs/STfO9ACHjrJS3/d9OEJufWgzP+vQg=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB476; 6:4cadQ+4w8lcTf/+zbMhMEdTeQ4kMz2ZwedHHKO50UwJIQNnL/TAKJyxWgDyJqVtD6dGZm9Zic3R859BgI2I8Tn3WyWwbXooBZIqc/TSVtlpIgNEtw+vfmaY7e6iMUdZMlTBYSLvoNvuSWUOnoyOff+eLn7U+3skYFP8CV5TZImMgZ2OAU+kEcrq+B+xDh4DV3t5+HxY7eW0MBmDcrhN55XusDW9UkqCk3T0kkUcagXoET8ivcQeO7dAL1dCz/HDtcTgXba6ur1jUapGPqFl8ZEtbCdJFblnNpwXoIV9kq4soXOJT9eiXWozULjassLZg; 5:n9jYv3+J4Q4+nXDAKRjKX5Z1r0sdBGn5w/dUIS90yNLhJmsRQaqjD3Z17WzfSYDuN+/MymaWj1jyMPVX1FPYhCvgz5iBboWqIaBOvOswl/86MyzjLLDXAJVAVJC93OEZKf32AEzhF/29Uz8Y2Kn82rteBx986XuPHf2HxierW3e4IHa8CoT76IwS7lADWWNG; 24:+SSgasQyEn0IxMPTRFQq2NQlkYA19at8d7YXcw4/Np9KI2zcMwp/zHJBPX0U08gqNN7QvUD3LI1r1F8Ugs3lxc9CuY+8dBh9+dtbOeuYPU0= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB476; 7:/hSlNQbBUjsAV68O5727+C+/VjW7zZjKF34XYbS/ftPN4R5U5eE9IWsSdCnFU/uKL7ecGpyw4W8KvaV29riOyqdfqoqeLu2WUcGVcNjetJiwoZkfBmOUbMpIzsLse9gK9VcBCeEhnZ89RCn3f+sZFYxq/yJeJX7HJwCXQEOW6fXwqj1Wd0ze+CgYotpdnw4ymhBulj36hGzlq+c6Tubvy+TlurFhECZPfB850xqhdyZ3LlmcTjq+VIJU6YuRZkR/SP+FGe+aMi3IxZXlnz1Yd7RMnRIe/UG42O5BPGC7IEYaI7ViIYqj8FM/F6W8uPvHbpHJi1HQ6OfjF8GhsBxh07WjEyPKQLnRw1TcJdzrySs= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Oct 2016 13:51:50.1680 (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.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR03MB476 Subject: Re: [dpdk-dev] [PATCH v4 00/17] Introduce SoC device/driver framework for EAL X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Oct 2016 13:51:52 -0000 On Saturday 15 October 2016 07:14 PM, Shreyansh Jain wrote: [...] > > 4) Design considerations that are same as PCI: > - SoC initialization is being done through rte_eal_init(), just after PCI > initialization is done. > - As in case of PCI, probe is done after rte_eal_pci_probe() to link the > devices detected with the drivers registered. > - Device attach/detach functions are available and have been designed on > the lines of PCI framework. > - PMDs register using DRIVER_REGISTER_SOC, very similar to > DRIVER_REGISTER_PCI for PCI devices. > - Linked list of SoC driver and devices exists independent of the other > driver/device list, but inheriting rte_driver/rte_driver, these are > also part of a global list. > [...] Two points which I missed in the Cover letter: 1. DRIVER_REGISTER_* has been replaced with RTE_PMD_REGISTER_*. 2. This is an experimental series. Verification of this has been done using NXP's PMD (to be published on ML soon) without using default scan/match helpers. - Shreyansh