From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0041.outbound.protection.outlook.com [104.47.36.41]) by dpdk.org (Postfix) with ESMTP id 595AC7CF6 for ; Fri, 30 Jun 2017 10:55:44 +0200 (CEST) Received: from MWHPR03CA0048.namprd03.prod.outlook.com (10.174.173.165) by BY2PR03MB475.namprd03.prod.outlook.com (10.141.141.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11; Fri, 30 Jun 2017 08:55:43 +0000 Received: from BL2FFO11FD032.protection.gbl (2a01:111:f400:7c09::113) by MWHPR03CA0048.outlook.office365.com (2603:10b6:301:3b::37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1178.14 via Frontend Transport; Fri, 30 Jun 2017 08:55:43 +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 BL2FFO11FD032.mail.protection.outlook.com (10.173.160.73) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1199.9 via Frontend Transport; Fri, 30 Jun 2017 08:55:42 +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 v5U8sfKC032271; Fri, 30 Jun 2017 01:55:39 -0700 From: Nipun Gupta To: CC: , , , , , , Nipun Gupta Date: Fri, 30 Jun 2017 14:24:32 +0530 Message-ID: <1498812875-6945-19-git-send-email-nipun.gupta@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1498812875-6945-1-git-send-email-nipun.gupta@nxp.com> References: <1495735361-4840-1-git-send-email-nipun.gupta@nxp.com> <1498812875-6945-1-git-send-email-nipun.gupta@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131432865427620919; (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)(39840400002)(39410400002)(39850400002)(39450400003)(39400400002)(39860400002)(39380400002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(9170700003)(4326008)(76176999)(50986999)(8656002)(106466001)(54906002)(105606002)(2351001)(36756003)(189998001)(2906002)(33646002)(47776003)(356003)(305945005)(5660300001)(498600001)(50466002)(48376002)(85426001)(6666003)(8936002)(38730400002)(110136004)(8676002)(81166006)(86362001)(2950100002)(6916009)(50226002)(53936002)(77096006)(5003940100001)(104016004); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR03MB475; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BL2FFO11FD032; 1:48+ZdR2Tufd6JgS+nxVuneHzbU6NXevoRuFFowAPVm?= =?us-ascii?Q?qr9DBt8qEiFTIWrZUe8mintsGeJmMR1J3heaY+uwaV3MoRjVWRMsmh6JC59z?= =?us-ascii?Q?N4+SXg4vow0pTIS5Dj630dnjJYQ3zLuYJwH80NWtODRAcKUp5XR8IjxvUdOQ?= =?us-ascii?Q?6JzjxpE+K86p4OmutqUhwYwJOZ7zOGbquT0m9i3bGAaluI8Kpn/ZBn174LUP?= =?us-ascii?Q?oeEw24JN17zGPIxSUvDWJfg2ENx2C3v1oVHg/5wE2EnUdKkqQg8B+EuTfIvh?= =?us-ascii?Q?AjF8Ya8qGOSbNkIbBPDCkysGYPvC1kQxWtPSOCDLKX9XZ7vz9Wsq34MwmnIl?= =?us-ascii?Q?JCY/xaQ+q9UzNSLxhfBcTeKXKIvv/HOVfcZsHAcZUefftwGq60EcE445w/K5?= =?us-ascii?Q?rj82+3/yjKhjM77MQSb5PJNU/psfBMZmXfETLMhOZ85qY3rqCH58/hKNuT0C?= =?us-ascii?Q?42WQmuzKscX5shjSJ95GiNNqkqleFGSL+OPmth60ydw351dvxAx5LnRMAXU/?= =?us-ascii?Q?944xYfuirEwibR1goIhEhjmYWEJsoFZvWZlpLPtRHQJGXa+5EzHH1FHKNXwk?= =?us-ascii?Q?xQTxAjAKsi0CD3hFSBP8hC4cFFCDvRzAy7P2QCMImDSw8tQ5eiZx3AV20QFZ?= =?us-ascii?Q?JsP8ZXfDDKXPMLxGWDLJDHeREcgtN35p69qMDQSYmXp7KSvrKgpdwKVhsihL?= =?us-ascii?Q?85oiDpuEPYqDHFjfpvjx/IlBgMqNalDwjI3w+1CB+s8QHB+x8HjcF1bXx/B7?= =?us-ascii?Q?PP+DqRhJWEDpBKrd+WRrpWXwepK/AlEDTq9ZE//B/IAvpl6QSHfRlCk2n2jf?= =?us-ascii?Q?uBdC91YJF+Uvz2O3oLKSXECj4vs0ZTrrXA1t2vwdqiWBYzwxh5xAftGlm3XV?= =?us-ascii?Q?JgjxhUmsDaUVntXUe/mW8XOgNIHh8/wQ3pupuDWOlIwN0POO5DMD9vpnalxI?= =?us-ascii?Q?yBW6OEGUHhwbA8DVvMqToJ/KIFo1QvgRxiIWupjMVhq6ukQldPmaAebY9IRN?= =?us-ascii?Q?TKOLu4+vRSrmcTR8MwnNsR3PdXwsbY0UI9lgNnE6o958R//D2N2NGhFljVG+?= =?us-ascii?Q?7iXACqFStoc/hZTMrd46egLXu0Caw7wJBHcCoTD1rIG9jdjw=3D=3D?= MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 554ed3e9-e0c7-451f-0437-08d4bf95ca17 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(2017052603031)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:BY2PR03MB475; X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB475; 3:KMXu82E0+0ozFNXXFbTvjrsabBpfAY3xnbyBHlDbNRkkpWtWeOrVFJ6DCzMLTJtl7lB0J7XyTsREnTsyXto4euNZ2K6A04awckMP7T2m3jJL72W+8/VHCIj2e6NpWuD/QauEMF9E7gMRffMeVPXTDgc+kcDE5nBNQpD/2vKQDifgHy3iaQ8gHSOxVathUu8Z5fW1CwyBaAmxBQMdgQCKlVS1ECDtx/FX+GQdPFA4opDgs6MyQZto7nuLHw5sBRHsNsErhOLI21JFWAgwgTVAa3/YgpSR3cX+DERs6DClm/6ZEFiFaUl6jJlWRICX+FomXdqnC4RBshQIJc3Zam9wfqYGTT79kxQcwFPjfvZOsk9nZ7Va/KToMqlqpCM9aGbRuwm7yEaWoc27TmPgwjqE4l1Fvfq52KEBIUo1lG6xhXnh6zF3vlrk7rJwm030XZBcy+CSEHQOh0XIiRFk5ckwheh29Ig+hXrTzGyyYYp/74ZEaId3Fo1FbGLR99e4Kks+XP5zJVE5t3Cv4RWShI31uZ4Fo0AZdRR/UybiLhtKd7JlvCN5NfkopDfLxNig2Uk8dwQ3gn4N1S/aSrkVXwAuMA5pw3QsMHIyjVUyD/EcY9c0Nnj2djlw2L8JEuMeox+4aVAEDY0SnkpomQDsJvw9kheaJMXwGHyPqlqCkW1Ux9PgIavqwuxd9dD7DMpMSeOaZONvzuxTB24Eqy4ApvpARCXKh4fnKHnET8bP/ygUpUw9R8IqL7W5JZgmRw3TK6Tay67OdT2MTTwDsUK4X1/CBZXhbKv7oOnY7TNliWwBqEjtNJx/cynq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dnQPY= X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB475; 31:I/SjXeBvX6KMHN61sBT8e29Ou5oRbcD8b9ZiS932uQsdaheRdHhTalFYCVkeg+ogkX/mxSReeir/uO4pMeR35U9oa/WnwfjPtegoj1cCnwuC/TywjszcOFhojzELlBXj2mLU5fiah4GIOo5RR6dfN+qybaooO9EiNNEeHlp/mBX4fI6Dmh/iM3ONxwkk6L0z+OP1mAK6afS85fQ/Jwt5dihB2nhJNuAOxSSbxCOMtbGX9CdXE40SgZz/Q3wrziWuYesQxz6RAiodmRFFMeUbg0CGcOcdWRKpjXRI4VWuWyZ5MDcjAqni/KrGr+f7wq4N1UNGJu7V6OvFnet+hJ7Btt4UvBmZxCafZnfqe0wjn6GCYDCSRT76M2KcOWb1vm3vSNAe6g0dL15auGrjROO52jfn3ipPPM9tgp4S2VAWolTLV0gvLsAhJNwEGvcPZZAtacQUHlKZEDWthb8rSlX7LfeBtCghodUWtUQaeW8vxDRGtECYHk2N7uQIqdqUA9ZCugqqnB4aSUI8WT7fqyaMtvWEUMuKtkxIUTnecPDrblTouqmRA+ZR0ntlvdmFf3iE62d28aw1bYt4cXP822hVUgQkrsGl8DOulvf90m3LU5SDAhSMZ33ABcffDTJqSD/EUMzsmvwT828nYkR2UB9KE8CpTHrFh7fuRmZ7G9lh1BMeGGz0cWUK+u/DpTbz4NY1 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(185117386973197)(167848164394848); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(13018025)(8121501046)(13016025)(5005006)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(3002001)(6055026)(6096035)(20161123563025)(20161123565025)(201703131430075)(201703131433075)(201703131448075)(201703161259150)(201703151042153)(20161123556025)(20161123561025)(20161123559100)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BY2PR03MB475; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BY2PR03MB475; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR03MB475; 4:0Z8uCq3l0/gGHPoqX14YlIB5TqMj1onApBG7u36ULnA?= =?us-ascii?Q?hGytAFNoYq/hYiWcc/7L1hQXghX29irpc3JqwRflbxjYxk0TGU6nBDdhCzyX?= =?us-ascii?Q?7+VwFl/WG0A81hUUJ7A5RRITfOcJkLqd0DTMU/hzcS/HaAMNL9IGlmkvxOzs?= =?us-ascii?Q?RlC2KD7NGeaTkNWrSBywLhzqOM/hRZJwfxteBTVlDC1M/g52vJ8Hrj+BOzoO?= =?us-ascii?Q?2mjJRx5w8GkNcFExsC6DcI+SvvdKwEGdUG8YNRkDztSUSc5mxQ7YflZw51mw?= =?us-ascii?Q?/TnOWVlp+k1lcVqinhC9imWD42mWkZNrWnVLR/3R5qYuMEu8gIvhMMs/Zzzr?= =?us-ascii?Q?iZ3T03YOPXmBub6fpwc4DNuOcdvFU1tw8FN4kxfG4uKLIptBzhlHeCj3dhmu?= =?us-ascii?Q?XPyC1jLBrmHyMA++NPWCx00wKdzAiYaOK7keipUPtSEhd+LePIULmmII6uKv?= =?us-ascii?Q?Aa12LFo1qc7deh5pTM96efM3WFdWW/pQDg+QQKrqoys4qUKIbRaYaGGAQys7?= =?us-ascii?Q?Hcs9jjLiu1GoWnHXsk7VNnc80X8c1Gpamy2n/FHU+UULhJ0tf7ghSl5i60hb?= =?us-ascii?Q?HCmweiw9f6ZtdOoiCGyG5oMs5Vc6lHap4Hl+wR426kiNhbYfEGTmPTreflho?= =?us-ascii?Q?eJJJtdwOM2OTFErScn67CmhkSAKIbDBZ+s1Ig0YWg0gG+TNU9oV35Mgi//yn?= =?us-ascii?Q?bTpoJwtn1H+bnPG0VfJlSUwswEifTXZsJb4SAeTdkPEtjAfr7y6SiS5lo/Oo?= =?us-ascii?Q?gqb4bk8Te+hLD9N9QZYCo9jaFhDNtD2P2G62ZW0P9F5WYxMm9a2mYdx4U0WN?= =?us-ascii?Q?PFKW3HFwZt0CN/NI4oO2oANnRue2IaGKAEmjxigdjSxV58Z9ONrdVNpw6wzu?= =?us-ascii?Q?YkKp2MvIssyYXhXFq3xoMtlz8A6Ctx7Ef1wMOWmisRpRGB53AmvnEyX1gO9U?= =?us-ascii?Q?v9HyB4RtJE6ZDFo24Mo8t74QDOKweTyD7DXY1naC0VYjjxNrs6wxnJkeNifV?= =?us-ascii?Q?JXO65CYmyTWGIN9pzRkzpjKeiqtE8SSr6iBC0z+8GepSf2E6X22iOJIqlyn9?= =?us-ascii?Q?GzIpof/rg2LDMLMMI9Zmb7xszDPjGvMncRse0TDQf6rcEA1sgxnM1gIVqcds?= =?us-ascii?Q?gup83rQKuT+lknUKvavdyHNsoS+DVeVUEmebuBKsmdBVN3JEqSJrUJLWPDNQ?= =?us-ascii?Q?/AghzEtatuX5YvKANqRnrMond8s83UxHWRcseG6wwK09mm2KcwYsRGhPV0pp?= =?us-ascii?Q?hWD72cHleYWP8OsRweR+f0GojUTkHAlmv7KZcq6YfO3bUtyZSU1Sv+o2Hybo?= =?us-ascii?Q?oF/CV7CAdoljSfXlbSnWJXY/QpG4wjbrtpQ+Qtegy?= X-Forefront-PRVS: 0354B4BED2 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR03MB475; 23:ngdbH+544JN2TjH7QBM+m6NMzUTRNL8da06CjpXzxR?= =?us-ascii?Q?4Hry4xi6/iYe1DQ0uPKPy8nVLbwTGYXlhD9fLPoAq6hShfDp2mrWZ+on9slY?= =?us-ascii?Q?q3Mj15bmsc2s3LJzgbwL8PeGh2RvwvlK4o2Qw0W6J9a+rZPvqfqTgI4GynIU?= =?us-ascii?Q?aAv5LFPguMzCf/Q+UoS3aJZadva3ArjGIaSoIjEIyK1+g1VPgt83lNR30HY8?=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o8zhfQzGN54gICg5WoJZGrvI2Aj?= =?us-ascii?Q?mMDT0dGMsNHJp+ZvRqvabuoNGZXScAvNymmyAhyFh3P99cDkExmAR6HykHSf?= =?us-ascii?Q?1RuAwxk5/QO6lYWGurujhTJRAtyuHePGPlmYoeZRBWWEfY6CuGwoSLP0t4W9?= =?us-ascii?Q?xCFoJ4G14DaDJ38hI=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR03MB475; 6:Pf37VQDOapSfvscUBNMQ9jTBcB7F6gMhLHWAp0Mm/I/?= =?us-ascii?Q?pnqs9NQ3+9n0h6E8UqcgAANKJIwLAxHk1/TpBQUK0XzAj849e/Mww0k2siYn?= =?us-ascii?Q?/e00QSMlGv2mwyx4im93Uv4JMdvWXUSiHWpDmTG1CEaJRv/f5+KC5CmXC9Ws?= =?us-ascii?Q?FD9krmBKhOStORh2qgC93SEA6xnHDUg8q3JYkO3b5QFgAdXw4HGa9TDishA2?= =?us-ascii?Q?oCxIo61T+zs3Netbtx6zy2EOl7jvd7mNWCNZUViouLiYGNBg7y9VyKbO6uCB?= =?us-ascii?Q?k7T3/+MuFOROvaIMselgU7+jAxYuNagxVEcY/0Q0GJ8q636sMnqIujdJBvIm?= =?us-ascii?Q?9zmN7kEewm6PcolCu7MfxjX2jKCWfDUvJIbthKXHAmx3OBhXelgegy9pzftw?= =?us-ascii?Q?OWBr/f2foQrXBLs/7UkPOF4Tsi9eEIdXvmUoq+kqoOeScOHLGatgtqB3H7hC?= =?us-ascii?Q?xJmsmbrDjL5FTb3col3HpCEU9z2Q3KdkUw9uYkBtXbIKWziHvT7g3/5z8D/h?= =?us-ascii?Q?PEqyUXhklTIsHD9Su0GQOlEndhFaVNjTO6O0zALltssDupWbq4E8HgEuc6oJ?= =?us-ascii?Q?q52KoDWDibvpA0bRdVbdPw4SrsAZZObgvtbEsn9WYBMyHZF7dMcIeEfaMKC6?= =?us-ascii?Q?VGqTN6t8gvr5w5cPFh+fYYQwrf0gCU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1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB475; 7:6GDHdJQ776gmhYrz8Zk8oYS8IxRbPP/fl6+4Z7FusiTnlEo6rTQTk5HbOjYa9BHquySHVe5kUeUwPlt5Z7KPRhIWaD5xPTeWgBfoYEDsZgarOBx19ywjTEmUIf1WvvQyZr0W5WAYVQthJPqowExaQoskmHYgMiJf04+JmB80+GjxZ5Eul+i2pguhDH7k0meVD9Nc+bQewJz6rXbo39OOOdL3aBpwEYYJ+s0SBXo9hyT2+vDtp2Y0MEVmK4u/ta+3qB8zVePNW1gQnillBKlfdFnCE3vypa8K7UvZE2RsmkA6qdwl0LklSzvfVx0hUnPvySMZU1xw7Aq0x2OR/qzymDq1mXvt0j5B/28Z8q04zk2L8LKv6jeGXPKNvFwt/PqDqj5tObI9pAtD1ozf2LcMRvnTf9BxqBSsdbTO+czQreLNubAoUVaJDRz+EWqc+ev6Yz6nbbjVfL7Z1cSTVsehcL1fRHZQNqcq31U8LHoR8ODlnB/ytVxcSLln/uJ5sun3CitKvkabNT8QyQaG1SXWOT/0FZ7qubE0rVtD9t5QIqD7gmehHt4KYNNtdlylRNNaSE4CUeY2nMVHY2GUanZesT4zf+ssXt6WFjq8IvTmpS8L7N2zRG6SFamUfg0GyHBw6LqxytFGqnPkKQ4Y/ZrS9qapHuhi+nmqGcXvuSRaFlKkC9yrhZCRu/Ky6b+GPXNywyvhsX14AVELd/JWzG0eNBQZxAkis7vqIGpEpkROfKPmCn69CMZlIfsZSR/bYXEMl/8HHdABg5PG6uvdwIvQr2QIfXW2qfaRELMuze359Ns= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jun 2017 08:55:42.5904 (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: BY2PR03MB475 Subject: [dpdk-dev] [PATCH 18/21 v5] bus/fslmc: add interrupt enabling routine 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: Fri, 30 Jun 2017 08:55:46 -0000 Signed-off-by: Nipun Gupta --- drivers/bus/fslmc/fslmc_vfio.c | 34 ++++++++++++++++++++++++++++++++++ drivers/bus/fslmc/fslmc_vfio.h | 3 +++ 2 files changed, 37 insertions(+) diff --git a/drivers/bus/fslmc/fslmc_vfio.c b/drivers/bus/fslmc/fslmc_vfio.c index 6ebf779..d8e3add 100644 --- a/drivers/bus/fslmc/fslmc_vfio.c +++ b/drivers/bus/fslmc/fslmc_vfio.c @@ -359,6 +359,40 @@ static int64_t vfio_map_mcp_obj(struct fslmc_vfio_group *group, char *mcp_obj) } } +#define IRQ_SET_BUF_LEN (sizeof(struct vfio_irq_set) + sizeof(int)) + +int rte_dpaa2_intr_enable(struct rte_intr_handle *intr_handle, + uint32_t index) +{ + struct vfio_irq_set *irq_set; + char irq_set_buf[IRQ_SET_BUF_LEN]; + int *fd_ptr, fd, ret; + + /* Prepare vfio_irq_set structure and SET the IRQ in VFIO */ + /* Give the eventfd to VFIO */ + fd = eventfd(0, 0); + irq_set = (struct vfio_irq_set *)irq_set_buf; + irq_set->argsz = sizeof(irq_set_buf); + irq_set->count = 1; + irq_set->flags = VFIO_IRQ_SET_DATA_EVENTFD | + VFIO_IRQ_SET_ACTION_TRIGGER; + irq_set->index = index; + irq_set->start = 0; + fd_ptr = (int *)&irq_set->data; + *fd_ptr = fd; + + ret = ioctl(intr_handle->vfio_dev_fd, VFIO_DEVICE_SET_IRQS, irq_set); + if (ret < 0) { + FSLMC_VFIO_LOG(ERR, "Unable to set IRQ in VFIO, ret: %d\n", + ret); + return -1; + } + + /* Set the FD and update the flags */ + intr_handle->fd = fd; + return 0; +} + /* Following function shall fetch total available list of MC devices * from VFIO container & populate private list of devices and other * data structures diff --git a/drivers/bus/fslmc/fslmc_vfio.h b/drivers/bus/fslmc/fslmc_vfio.h index 7c725f4..ebca2b0 100644 --- a/drivers/bus/fslmc/fslmc_vfio.h +++ b/drivers/bus/fslmc/fslmc_vfio.h @@ -90,6 +90,9 @@ int vfio_dmamap_mem_region( uint64_t iova, uint64_t size); +int rte_dpaa2_intr_enable(struct rte_intr_handle *intr_handle, + uint32_t index); + int fslmc_vfio_setup_group(void); int fslmc_vfio_process_group(void); int rte_fslmc_vfio_dmamap(void); -- 1.9.1