From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0076.outbound.protection.outlook.com [104.47.41.76]) by dpdk.org (Postfix) with ESMTP id 7C6AC7CCF for ; Thu, 29 Jun 2017 12:29:34 +0200 (CEST) Received: from CY1PR03CA0014.namprd03.prod.outlook.com (10.174.128.24) by MWHPR03MB3167.namprd03.prod.outlook.com (10.174.174.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1199.15; Thu, 29 Jun 2017 10:29:32 +0000 Received: from BY2FFO11FD046.protection.gbl (2a01:111:f400:7c0c::119) by CY1PR03CA0014.outlook.office365.com (2603:10b6:600::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11 via Frontend Transport; Thu, 29 Jun 2017 10:29:32 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; 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 BY2FFO11FD046.mail.protection.outlook.com (10.1.15.170) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1199.9 via Frontend Transport; Thu, 29 Jun 2017 10:29:32 +0000 Received: from b27504-OptiPlex-790.ap.freescale.net (b27504-OptiPlex-790.ap.freescale.net [10.232.132.60]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v5TASSbV002766; Thu, 29 Jun 2017 03:29:29 -0700 From: Nipun Gupta To: CC: , , , , , , Nipun Gupta Date: Thu, 29 Jun 2017 15:58:03 +0530 Message-ID: <1498732085-18449-20-git-send-email-nipun.gupta@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1498732085-18449-1-git-send-email-nipun.gupta@nxp.com> References: <1495735361-4840-1-git-send-email-nipun.gupta@nxp.com> <1498732085-18449-1-git-send-email-nipun.gupta@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131432057726276043; (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)(336005)(39380400002)(39410400002)(39840400002)(39860400002)(39450400003)(39400400002)(39850400002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(9170700003)(33646002)(50226002)(104016004)(2950100002)(50466002)(6916009)(5660300001)(5003940100001)(305945005)(97736004)(189998001)(6666003)(8936002)(2906002)(105606002)(106466001)(4326008)(86362001)(2351001)(54906002)(81166006)(76176999)(50986999)(8676002)(53936002)(48376002)(551934003)(36756003)(85426001)(38730400002)(8656002)(110136004)(47776003)(77096006)(356003)(498600001); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR03MB3167; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; A:1; MX:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2FFO11FD046; 1:Wyc7hmXtwYioS1elLIWx62gbyQQU4OQA2HXsSbOsYC?= =?us-ascii?Q?5OxqhmdB/DmKtvCwI1BJktvVJK11xIVKjNQVHnzzFcUjBOOzgwi1xHuWG5lw?= =?us-ascii?Q?7ZrWRe1WLxMOnGN2AZTyLYADDAtqOa9P+nAUfKnX9sr7RYqFo4QRQd2eqa7e?= =?us-ascii?Q?GoKCJlo73gWv8d67tAQeiUqAg8Pd8a/zKnTNnj6umyzMupuGKUfCRjyZmEFm?= =?us-ascii?Q?7uMlLKgDJ08MHUGi5yvfS/KavF91dUBAHy5oXt11gSu+3TMG4tRRFKVfrx4C?= =?us-ascii?Q?IMletr7qD9UWe7q8MG5BLZCCK/MWW9RiXtGPYwwBCCyCJVUP/WEVC11cA4rF?= =?us-ascii?Q?N/u+WEoJPYXB0nsJxXbbFcY4IuOwjmeOD+BSu8iJ78DXqjW8Q9rrPpiqgXLf?= =?us-ascii?Q?p+rAcEldGpKza3IzgnQjeB9Aj7h0J7nGULTuTQ25nyktb8T8b6L7bS0fg1ci?= =?us-ascii?Q?pjhsNhwrZI9eZpWW2Z6yrPOU5gK/dlveCPGmJ9HZb1F4G2FhTiJ4himmz5s9?= =?us-ascii?Q?cNGOEoZw20vZ0YF1/lCdr8WsIE+ykm3pElHIkaNBNdTxfRUP4srWDvZkUcpH?= =?us-ascii?Q?N2y4FfMJGSuYQReDvwhysWaw0BXBnu3fcYd6/pq+GCWp+ShUOThITW9S6nEY?= =?us-ascii?Q?XB29lRgb82hz6c4CrE7FBStryZZpJ81885OHq+PDHCoznxUw158jH18Ij5vk?= =?us-ascii?Q?6X8y7dbztiubN3lWoSRKmZZvqsu9BtJjUIG9OE5b9s2k/J6rl8D/Mapxl9HK?= =?us-ascii?Q?4NcxGLlmOASlKz3Chas/kTje182eax8pICfbHQH01xO7ITXMUw6ayQ8kCvPp?= =?us-ascii?Q?0Omj9cB24mg1F1+RbO4rNP63nIgp7aSsipZdRUBchp03i6MS1II5coAFANJf?= =?us-ascii?Q?uKDWi3gU3nV12uNOAVa5LoEERZWjQK7uKh9ykHayUEuc0qFSlRgLhXozGfe+?= =?us-ascii?Q?2wmAq+6xwHMyzER4Awezrtqt2piAzQef4sGVjr4GaC6266c3R4Jmregcw85l?= =?us-ascii?Q?kdalJnfzHI+5DSiBh9H5n1zwyIaci0akfeV6S8b3JyPYCN9mv9u/OcANc+d8?= =?us-ascii?Q?i01ClcFSaqz8tBbwhBDr35jVpQ7VFuWHQ0N33gTcOhF0YVmg=3D=3D?= MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 864b34b9-c126-4f76-91cb-08d4bed9bb56 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:MWHPR03MB3167; X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB3167; 3:Aa8zpoyWFba3vf8Hrmso23MYqKX+1Wt6ugrvl+LE1WbvWHaEBrXY1eqW1IFvlMhfePQ4ZQ900ltCuz/iWHEgl19F/xqp7h81BYtcFkr725TgkDTcJOJa1F8FCOrrU2hkylJH+XI9YUircyFNliUuuABNMwSdQyq2meAXL9D5OyF2ZJnDYBbvQvwLrXjGqb+GTKuqhYT71TMKfXMC5ta0Wc87HGkM0poUC2DR7/R2pgXdOZ1QyfEZRK00/wIII3LESiQZuKgA8VP1TwCyv17s7o1RSXFke/hgvpCm1u6Guve4W0sF2NtaYfgC7XruN78SrJHTb/bB79PdgXImd2G1dzGXjFpdcbSbsFWlG5oSzFrV+B2SYnLYAZNDEEq259Cj/EVjt6hJXu8gzXjg991FmCW/geJHgpme1vt590EQL4zxueFQ9qmfLwbfiJloyGPgLfh1ygu0MSfi10yTn1D/7pV/B4lZRsrM+SuxmiqPOLedCMhOHZFg8JdSWXBz/ujhfWIL8UUniBxVbeZjO+wvgsZ8vWqE5wgVYOxgDTiqwd4gyy8/aHWiKDR/6Am76cbkU3miW6ilFYQrU8co5r64ZjMICkUcLxexw5q65vi9l2yTKSrFMGotapRVF754+Ul2WFSw66YTTPcYe/KTakz5yIC1uWwUdH3Gc3jl33VH5q0OLRXISCqfKU3pfhVjxuUQCTVoDvhUEgQynIrdR/ZdRtH+oik3H8sXbBiJXFSP5MiZ+u17TZxrVj66N9srx3NPAhRMFXaXeLVq8NR/fyrgo4vIUBstp8ryy7KXYSozX10CrSipPcJjzbmYfM6URiac91UYAeJbIQO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yNMtwjeGq4KCRpM85CuSCsHJvdfhuabAAdoXf7v+/bI43cmUoRQtD122fBYkAww8IyGICxCqPbbDh1MCq1ylG7cXyknjmzAzKI5f8p97TQwxJUxsKo+zuE5v61vkg5j7HueJiWgnnd9DluCtidSC9tT54HQmxWDPcNi0ueBcazwtASdMw6c/KWUXe7eRytBH6r8Qzjj6fJlozEBrAr6Bev8N2CFG4MHgybnBYZ3/HUoNLNnaxw9tucmYOgPlDlgmwDtB9UKVON6dcQOhLMGKiJHh4r+ZyR+4Ajf8aNZzHuIL81sxYFeEcdzyK6pdivhxr1hEtrbBdvxBp81D4FjSxz7dc1F/PENUFBQFs6r9bn48vUSSnn5hd6zo0rHXMrFgAfLkDknaMNg7jTxkuYKG8duOkbwCi10t5Gu02NfcWRnaDSO/vMOwZU9cBP410wVwaYTkPd9slSoinYdKX5T2bZOPg/84EweRmYAgBGQG71sqHcAgn7zSm54O2uK75+ykK2zFQLtaIGI3XRV4u5oFXTIxmt9BPKzA9HNwaU+q6PNfs1DoOpxumHWzbH96uHX865jCqhr9eVnezQ5LFZs8RIWOUFE4A8fAARrW6BhvAjk4hpeyPQR5TrniWQ8L35wWtCl6CMrrii7JQAF4tooU1h/KIYSI/GIc73kSjlMcLxQEE/yOqG3J/9mpX4ECbqG5UKjx11A== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(185117386973197)(275809806118684); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(8121501046)(13016025)(13018025)(5005006)(100000703101)(100105400095)(10201501046)(3002001)(93006095)(93001095)(6055026)(6096035)(20161123559100)(20161123561025)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(20161123563025)(20161123565025)(20161123556025)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:MWHPR03MB3167; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:MWHPR03MB3167; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR03MB3167; 4:4Wf1YOD78grvPTOqjMQx0gzcsEueDJKeG7XjWWgq38?= =?us-ascii?Q?cUxt7cVvj24y63UDf798IPBJvQaYF0TbsQF1m77KKRBM5jF928LFovkv5AP6?= =?us-ascii?Q?+LS9fAUmpfEmAog8HE1+IJ6Vj0i04Pmoi/iyXoKctlW1Dmz+Xfte0YvFbwPp?= =?us-ascii?Q?97bQoZsBgpswnrVvFAevJ++yi+3vBAbWKX8hTfh00VdzRrgSEoSCmN84GR5a?= =?us-ascii?Q?vODdActZFp5n8QH2kJzhq2uaROn70UuGeGB1bRsISRYgPfeRCCeWX+wKH8uq?= =?us-ascii?Q?pY0r4wI7fyMKQap1wG7jwF3WD4MN7gCQOa7SHV7ZxdqQfmeXXm9eUpAdmEz4?= =?us-ascii?Q?irhT631CP3h/Xa0Mg4GsA4JGWGxP2STPRviX3YAjTA9grZGGvTyOG1cgb+xf?= =?us-ascii?Q?fsaIfp/Gx3D63t7AyatbVmLUXQgYSG+eBJMvVSrko2e/8cw2bjvkMHvNlbBI?= =?us-ascii?Q?Y+jytUZFiPRAK5EKtKyCbkgZvNb/J7ka98EJAo6ny1DXcKrHacHNZe9ZB1jK?= =?us-ascii?Q?dndWHzYBLDioZToshXHVY86CvrbrE7JTjM2QFdtZiw0jHCtQFr/gtclDnqqV?= =?us-ascii?Q?OXK/Ijf8ZEAMugDYMmSI/78daDrwu9JR3sKZfQUfc499/HhQp6RTRrFxsTqe?= =?us-ascii?Q?VVK3DFwx476U43bfUXHsWUYd9Txwa6lyydEo20lVsUofhK6k70GFNEMLnSWW?= =?us-ascii?Q?O98eJ2GqWLD45S+t8PYBW3dnJm6xNKNRjYj2GpfUqy0vPsw8iPqhTrJWIKBY?= =?us-ascii?Q?ztgTycNZ0rGtD40KUl9S+rk29mh3dIE3F0TIuk17iCHf3HIjCDVevGhkkdGq?= =?us-ascii?Q?2YgkI12Hfpq56YOhuID5FyGAc2wDqQ1aEUgFEj1aVJT9FHiicBSxQdDc3y8M?= =?us-ascii?Q?MC3lKalZhYFbM1fsrhyqzscUUAqHhk6pNANV1EU8EBPWXbjHr+RIsd9K+Dpr?= =?us-ascii?Q?3bcsmLV1FstiBU3Alje9IrOum6spDSC6GTLXqKn6E3Kj0GNsC8oMlp5QCaa7?= =?us-ascii?Q?xc0gFYUzS749xK4UgtCca9NDrGESQDykOfQ6xoshaKDZYh47rbPP7+FxfCiW?= =?us-ascii?Q?/s3Fm5PUDVTWFLtYGgtGi7nqPIoO93ijj5XPHHL7eBdSNXwZZX+bYTwP4eYK?= =?us-ascii?Q?+MA/2HnuXjth2ko/aNtj0hiYxvStOTU4qbfjdsuvWZ1nb4JxEFSOVfXbnMtd?= =?us-ascii?Q?3ymqX7l0vgyOHn+O0gg6m4FV9goPOt5eea0AEfZV/qJXNP9i5SYKs7PQ3ON+?= =?us-ascii?Q?wU3okQgTBROM3v6sQF9xidBJ8V+0+2xjTztnCmQ7WOGZTZ/i3OG/AeMfeUXM?= =?us-ascii?Q?bIUs3HN2af/QRqvNDy7lnhKPdBgbjzSffFLM+JfZEt?= X-Forefront-PRVS: 0353563E2B X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR03MB3167; 23:AlNPOMyMGATXc6yz8k5j6B41ExpDGCyk6BXJ4ke0D?= =?us-ascii?Q?e8ofzHKBDhcbXJgsuU2wIuVvRs+4ULdDezSIWcjuRisAE38cu9XTJrqZwA8j?= =?us-ascii?Q?lygx0P1+3EgyxUdbPgYlG/F/iiRxtQREOek5Qds8GZST22mcZ9j0lTHoXSLa?= =?us-ascii?Q?EoA2Jb297FmSUVz3Z9hk4GarNrNJ/miFATp3UXJtyJ+Of3xDZ1cQMnuov2A6?= =?us-ascii?Q?29eEFY4wqCKsZuRyeSROk8mYMoAacRb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ascii?Q?gt+olE5DFKiEhrMo6zJtduQo2DGpP0kMp9CMzCfCMWTxajGfnRRtfUc1b6sw?= =?us-ascii?Q?cvt4n2lFuVT3VLJrYtklb9tLGbi1TWKOCqWhEqe+L+du+oWN1+aMCvMv/RS7?= =?us-ascii?Q?GB5zx+uTOO83BXnUgVZWytHd7FJB0RfUVZDg6naL6ppxbjxSfbibmopEROfh?= =?us-ascii?B?UT09?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR03MB3167; 6:bBN7nOc6noNqGz3V90bP+yhKcAISxaOxizaZOrMieJ?= =?us-ascii?Q?BMneECh3/8vFkPtzNchme7bMj3OWwkKYorlzRExMiRyhw9+b00gZZsfXboma?= =?us-ascii?Q?iKi1obaq/7ZR0/HOGLWUFswwytgNv1YMCPo9EDwRDZK0H51Gnl9hejZ3/d2O?= =?us-ascii?Q?dxHHxg0PT6NTafEtWGLi+UYYgoZUD4ld7dQM8wyNVz/iFMWROCWvtVpwbSyP?= =?us-ascii?Q?wP+9ZcKdmeOirxUqjmuNEUJOelvjBUnVQmjsJhbIbRn7GlTl5YTalxc3tffl?= =?us-ascii?Q?ve5b+hDQK7ABvWNmN1gjC3LSKHZDyE6QKOgC2UYU8ybvj9mvtYepyYhft9m/?= =?us-ascii?Q?t59DIfavkfJQURITOmusea6BHQ6R4dkA/vhubVcnRK+gZIW4kM69NuHfpoT+?= =?us-ascii?Q?gWwj+tkT+WUPu6vlHnsT4zqehdAvGHLvW7AeuozZyfzQPrfKcH2K3rB50vuu?= =?us-ascii?Q?eTfAnZQIlQwYVkEYxaJl5kaGNJcNDozfFaOv2Z6rTYQQqqJBEpM97fCz0sQ7?= =?us-ascii?Q?rXfoGTQOWcJmavjKC/i9IWPJQ9nIQ7PAjsEbRsDEq5EwfJT0fPyYaTMmBTKu?= =?us-ascii?Q?GZS5CocSpoPslrwTVvk5GeQrU9Zj99yoqt6NWgDCpZO21cJg+UYwm7ensK/H?= =?us-ascii?Q?YcVzTKE6l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FAhVLDd427d+lPAbpOF9w= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB3167; 7:Q+brrLmnb2Tb28SDLsBux4BMuxW5vnKeayEJrD0TSlg1459em3L5+M0nMF0Ji0LLQrGsRSpzkweq2xxE/pUH4sSstDS2NFgN19Y33pCopK31LJd2HrwH8C3OY37a+REnm8KWVGoCOQDxBEGXeS5FCpeNCkbg6qUsebVAdS1RD68Ee00COHvj177g1ktb/SopZhbd1iuza7hNlkNAcIuTYMrx0yDvi3Ccw0ir+EoG+UtICt8ctVCD2FnzKzxfIJ8wsg+3ZmJCWeM7gQ5xuGkl2gwoEmWrDLSczEBh4icTBm8ROqEBny7OVAHOyW/sjsxqM7nFm+MMf+Dd3N9Ge4VKdqYuCAx8kZ/uHT0mGuEu1YVvbSjt6RWKHoyTalJ2Xfvau1ZJINcmOcWboqnCWe/PZPLXbtZ80HWkRd9qnqolE5g08LnsWX53jZb83SGK7PqI4RwjtdwedOwrmSM2hQzNzIgooZAcwClqOTtzD/dShmfF4LUjVR7fuKedFRHfXS3batApocIGHQXKONblAbtc+K2jz+28++iQEgzVTE7vac4bwCCIqoqGzbnC9/qhLW4YSwEo1UpX7RNyvjc0/qg8sOxTdOTi1SmNh1c0i4WZlxJtidLRbdgoeYktNXotTNB/TDE/cH7Etb1rwZwBAUaIhax99giJs8cRQwdhz/+D+ECpijd2i0EX9qe5RKTpnWdWT/t+YhfNZLI2fkM0Sz957yBVorW8kdRecfcyOHOZ9QO/x8oglShXvFsF4GHzMM1JOIJsNJEbduINOcqrRe5K+GgcHTeNXk8kBwfYeXs8fZg= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jun 2017 10:29:32.4404 (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: MWHPR03MB3167 Subject: [dpdk-dev] [PATCH 19/21 v4] bus/fslmc: enable portal interrupt handling 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, 29 Jun 2017 10:29:35 -0000 Eventdev requires portal interrupts to handle timeout in the event dequeue. This patch provides mechanism to enable the portal interrupts. Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 108 ++++++++++++++++++++- drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 3 +- drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h | 30 ++++++ drivers/bus/fslmc/qbman/qbman_portal.c | 22 +++++ drivers/bus/fslmc/rte_bus_fslmc_version.map | 1 + 5 files changed, 158 insertions(+), 6 deletions(-) diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_dpio.c b/drivers/bus/fslmc/portal/dpaa2_hw_dpio.c index 63378f0..5d53342 100644 --- a/drivers/bus/fslmc/portal/dpaa2_hw_dpio.c +++ b/drivers/bus/fslmc/portal/dpaa2_hw_dpio.c @@ -46,6 +46,8 @@ #include #include #include +#include +#include #include #include @@ -106,6 +108,95 @@ return dpaa2_core_cluster_base + x; } +static void dpaa2_affine_dpio_intr_to_respective_core(int32_t dpio_id) +{ +#define STRING_LEN 28 +#define COMMAND_LEN 50 + uint32_t cpu_mask = 1; + int ret; + size_t len = 0; + char *temp = NULL, *token = NULL; + char string[STRING_LEN], command[COMMAND_LEN]; + FILE *file; + + snprintf(string, STRING_LEN, "dpio.%d", dpio_id); + file = fopen("/proc/interrupts", "r"); + if (!file) { + PMD_DRV_LOG(WARN, "Failed to open /proc/interrupts file\n"); + return; + } + while (getline(&temp, &len, file) != -1) { + if ((strstr(temp, string)) != NULL) { + token = strtok(temp, ":"); + break; + } + } + + if (!token) { + PMD_DRV_LOG(WARN, "Failed to get interrupt id for dpio.%d\n", + dpio_id); + if (temp) + free(temp); + fclose(file); + return; + } + + cpu_mask = cpu_mask << rte_lcore_id(); + snprintf(command, COMMAND_LEN, "echo %X > /proc/irq/%s/smp_affinity", + cpu_mask, token); + ret = system(command); + if (ret < 0) + PMD_DRV_LOG(WARN, + "Failed to affine interrupts on respective core\n"); + else + PMD_DRV_LOG(WARN, " %s command is executed\n", command); + + free(temp); + fclose(file); +} + +static int dpaa2_dpio_intr_init(struct dpaa2_dpio_dev *dpio_dev) +{ + struct epoll_event epoll_ev; + int eventfd, dpio_epoll_fd, ret; + int threshold = 0x3, timeout = 0xFF; + + dpio_epoll_fd = epoll_create(1); + ret = rte_dpaa2_intr_enable(&dpio_dev->intr_handle, 0); + if (ret) { + PMD_DRV_LOG(ERR, "Interrupt registeration failed\n"); + return -1; + } + + if (getenv("DPAA2_PORTAL_INTR_THRESHOLD")) + threshold = atoi(getenv("DPAA2_PORTAL_INTR_THRESHOLD")); + + if (getenv("DPAA2_PORTAL_INTR_TIMEOUT")) + sscanf(getenv("DPAA2_PORTAL_INTR_TIMEOUT"), "%x", &timeout); + + qbman_swp_interrupt_set_trigger(dpio_dev->sw_portal, + QBMAN_SWP_INTERRUPT_DQRI); + qbman_swp_interrupt_clear_status(dpio_dev->sw_portal, 0xffffffff); + qbman_swp_interrupt_set_inhibit(dpio_dev->sw_portal, 0); + qbman_swp_dqrr_thrshld_write(dpio_dev->sw_portal, threshold); + qbman_swp_intr_timeout_write(dpio_dev->sw_portal, timeout); + + eventfd = dpio_dev->intr_handle.fd; + epoll_ev.events = EPOLLIN | EPOLLPRI | EPOLLET; + epoll_ev.data.fd = eventfd; + + ret = epoll_ctl(dpio_epoll_fd, EPOLL_CTL_ADD, eventfd, &epoll_ev); + if (ret < 0) { + PMD_DRV_LOG(ERR, "epoll_ctl failed\n"); + return -1; + } + dpio_dev->epoll_fd = dpio_epoll_fd; + + dpaa2_affine_dpio_intr_to_respective_core(dpio_dev->hw_id); + + return 0; +} + static int configure_dpio_qbman_swp(struct dpaa2_dpio_dev *dpio_dev) { @@ -215,6 +306,11 @@ return -1; } + if (dpaa2_dpio_intr_init(dpio_dev)) { + PMD_DRV_LOG(ERR, "Interrupt registration failed for dpio\n"); + return -1; + } + return 0; } @@ -339,6 +435,7 @@ struct dpaa2_dpio_dev *dpaa2_get_qbman_swp(int cpu_id) { struct dpaa2_dpio_dev *dpio_dev; struct vfio_region_info reg_info = { .argsz = sizeof(reg_info)}; + int vfio_dev_fd; if (obj_info->num_regions < NUM_DPIO_REGIONS) { PMD_INIT_LOG(ERR, "ERROR, Not sufficient number " @@ -355,13 +452,14 @@ struct dpaa2_dpio_dev *dpaa2_get_qbman_swp(int cpu_id) dpio_dev->dpio = NULL; dpio_dev->hw_id = object_id; - dpio_dev->vfio_fd = vdev->fd; + dpio_dev->intr_handle.vfio_dev_fd = vdev->fd; rte_atomic16_init(&dpio_dev->ref_count); /* Using single portal for all devices */ dpio_dev->mc_portal = rte_mcp_ptr_list[MC_PORTAL_INDEX]; reg_info.index = 0; - if (ioctl(dpio_dev->vfio_fd, VFIO_DEVICE_GET_REGION_INFO, ®_info)) { + vfio_dev_fd = dpio_dev->intr_handle.vfio_dev_fd; + if (ioctl(vfio_dev_fd, VFIO_DEVICE_GET_REGION_INFO, ®_info)) { PMD_INIT_LOG(ERR, "vfio: error getting region info\n"); rte_free(dpio_dev); return -1; @@ -370,7 +468,7 @@ struct dpaa2_dpio_dev *dpaa2_get_qbman_swp(int cpu_id) dpio_dev->ce_size = reg_info.size; dpio_dev->qbman_portal_ce_paddr = (uint64_t)mmap(NULL, reg_info.size, PROT_WRITE | PROT_READ, MAP_SHARED, - dpio_dev->vfio_fd, reg_info.offset); + vfio_dev_fd, reg_info.offset); /* Create Mapping for QBMan Cache Enabled area. This is a fix for * SMMU fault for DQRR statshing transaction. @@ -383,7 +481,7 @@ struct dpaa2_dpio_dev *dpaa2_get_qbman_swp(int cpu_id) } reg_info.index = 1; - if (ioctl(dpio_dev->vfio_fd, VFIO_DEVICE_GET_REGION_INFO, ®_info)) { + if (ioctl(vfio_dev_fd, VFIO_DEVICE_GET_REGION_INFO, ®_info)) { PMD_INIT_LOG(ERR, "vfio: error getting region info\n"); rte_free(dpio_dev); return -1; @@ -392,7 +490,7 @@ struct dpaa2_dpio_dev *dpaa2_get_qbman_swp(int cpu_id) dpio_dev->ci_size = reg_info.size; dpio_dev->qbman_portal_ci_paddr = (uint64_t)mmap(NULL, reg_info.size, PROT_WRITE | PROT_READ, MAP_SHARED, - dpio_dev->vfio_fd, reg_info.offset); + vfio_dev_fd, reg_info.offset); if (configure_dpio_qbman_swp(dpio_dev)) { PMD_INIT_LOG(ERR, diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h index 975e431..f5644b9 100644 --- a/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h +++ b/drivers/bus/fslmc/portal/dpaa2_hw_pvt.h @@ -101,7 +101,8 @@ struct dpaa2_dpio_dev { uintptr_t qbman_portal_ci_paddr; /**< Physical address of Cache Inhibit Area */ uintptr_t ci_size; /**< Size of the CI region */ - int32_t vfio_fd; /**< File descriptor received via VFIO */ + struct rte_intr_handle intr_handle; /* Interrupt related info */ + int32_t epoll_fd; /**< File descriptor created for interrupt polling */ int32_t hw_id; /**< An unique ID of this DPIO device instance */ uint64_t dqrr_held; uint8_t dqrr_size; diff --git a/drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h b/drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h index 06bd063..9e9047e 100644 --- a/drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h +++ b/drivers/bus/fslmc/qbman/include/fsl_qbman_portal.h @@ -124,6 +124,36 @@ void qbman_swp_interrupt_clear_status(struct qbman_swp *p, uint32_t mask); /** + * qbman_swp_dqrr_thrshld_read_status() - Get the data in software portal + * DQRR interrupt threshold register. + * @p: the given software portal object. + */ +uint32_t qbman_swp_dqrr_thrshld_read_status(struct qbman_swp *p); + +/** + * qbman_swp_dqrr_thrshld_write() - Set the data in software portal + * DQRR interrupt threshold register. + * @p: the given software portal object. + * @mask: The value to set in SWP_DQRR_ITR register. + */ +void qbman_swp_dqrr_thrshld_write(struct qbman_swp *p, uint32_t mask); + +/** + * qbman_swp_intr_timeout_read_status() - Get the data in software portal + * Interrupt Time-Out period register. + * @p: the given software portal object. + */ +uint32_t qbman_swp_intr_timeout_read_status(struct qbman_swp *p); + +/** + * qbman_swp_intr_timeout_write() - Set the data in software portal + * Interrupt Time-Out period register. + * @p: the given software portal object. + * @mask: The value to set in SWP_ITPR register. + */ +void qbman_swp_intr_timeout_write(struct qbman_swp *p, uint32_t mask); + +/** * qbman_swp_interrupt_get_trigger() - Get the data in software portal * interrupt enable register. * @p: the given software portal object. diff --git a/drivers/bus/fslmc/qbman/qbman_portal.c b/drivers/bus/fslmc/qbman/qbman_portal.c index 8002690..dd62e9a 100644 --- a/drivers/bus/fslmc/qbman/qbman_portal.c +++ b/drivers/bus/fslmc/qbman/qbman_portal.c @@ -44,6 +44,8 @@ #define QBMAN_CINH_SWP_IER 0xe40 #define QBMAN_CINH_SWP_ISDR 0xe80 #define QBMAN_CINH_SWP_IIR 0xec0 +#define QBMAN_CINH_SWP_DQRR_ITR 0xa80 +#define QBMAN_CINH_SWP_ITPR 0xf40 /* CENA register offsets */ #define QBMAN_CENA_SWP_EQCR(n) (0x000 + ((uint32_t)(n) << 6)) @@ -218,6 +220,26 @@ void qbman_swp_interrupt_clear_status(struct qbman_swp *p, uint32_t mask) qbman_cinh_write(&p->sys, QBMAN_CINH_SWP_ISR, mask); } +uint32_t qbman_swp_dqrr_thrshld_read_status(struct qbman_swp *p) +{ + return qbman_cinh_read(&p->sys, QBMAN_CINH_SWP_DQRR_ITR); +} + +void qbman_swp_dqrr_thrshld_write(struct qbman_swp *p, uint32_t mask) +{ + qbman_cinh_write(&p->sys, QBMAN_CINH_SWP_DQRR_ITR, mask); +} + +uint32_t qbman_swp_intr_timeout_read_status(struct qbman_swp *p) +{ + return qbman_cinh_read(&p->sys, QBMAN_CINH_SWP_ITPR); +} + +void qbman_swp_intr_timeout_write(struct qbman_swp *p, uint32_t mask) +{ + qbman_cinh_write(&p->sys, QBMAN_CINH_SWP_ITPR, mask); +} + uint32_t qbman_swp_interrupt_get_trigger(struct qbman_swp *p) { return qbman_cinh_read(&p->sys, QBMAN_CINH_SWP_IER); diff --git a/drivers/bus/fslmc/rte_bus_fslmc_version.map b/drivers/bus/fslmc/rte_bus_fslmc_version.map index 9950557..3cdf14e 100644 --- a/drivers/bus/fslmc/rte_bus_fslmc_version.map +++ b/drivers/bus/fslmc/rte_bus_fslmc_version.map @@ -70,6 +70,7 @@ DPDK_17.08 { qbman_swp_dqrr_consume; qbman_swp_dqrr_next; qbman_swp_enqueue_multiple_eqdesc; + qbman_swp_interrupt_clear_status; qbman_swp_push_set; rte_dpaa2_alloc_dpci_dev; rte_fslmc_object_register; -- 1.9.1