From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0089.outbound.protection.outlook.com [104.47.41.89]) by dpdk.org (Postfix) with ESMTP id 6762F2C2A for ; Thu, 29 Jun 2017 12:29:32 +0200 (CEST) Received: from BN6PR03CA0048.namprd03.prod.outlook.com (10.175.124.34) by DM5PR03MB3275.namprd03.prod.outlook.com (10.174.241.34) 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:30 +0000 Received: from BY2FFO11FD039.protection.gbl (2a01:111:f400:7c0c::147) by BN6PR03CA0048.outlook.office365.com (2603:10b6:404:10c::34) 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:30 +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 BY2FFO11FD039.mail.protection.outlook.com (10.1.14.224) 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:29 +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 v5TASSbU002766; Thu, 29 Jun 2017 03:29:26 -0700 From: Nipun Gupta To: CC: , , , , , , Nipun Gupta Date: Thu, 29 Jun 2017 15:58:02 +0530 Message-ID: <1498732085-18449-19-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: 131432057697817307; (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)(39850400002)(39450400003)(39400400002)(39860400002)(39840400002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(9170700003)(106466001)(38730400002)(110136004)(53936002)(105606002)(54906002)(76176999)(50986999)(305945005)(47776003)(356003)(2906002)(50466002)(48376002)(77096006)(2351001)(8676002)(50226002)(104016004)(33646002)(8936002)(6916009)(2950100002)(81166006)(6666003)(4326008)(498600001)(86362001)(8656002)(5660300001)(5003940100001)(97736004)(36756003)(189998001)(85426001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR03MB3275; 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; BY2FFO11FD039; 1:zUsv4rGevLldY+PZsB1PdIcKb2GryM4PDVJCv6nVLe?= =?us-ascii?Q?xNCAuwqolf7WPCycs2vNUQnTpdo2o/1TTcUe9WfYM7m210cvMeOAojVSHxjQ?= =?us-ascii?Q?t4xlrRtyeI8m94vf5wuWwQ+IbEYgPySd2Eu0pGl8ChZQ94hGdvxtvJRw9p7Q?= =?us-ascii?Q?XN5UYkJSoLkefYfNw6YPIgUwpc4bkGbqpjl8WMrbN6oBLm11iXKK37RfDCzB?= =?us-ascii?Q?xhyyoDiAkkWCTAPpZn3SilFWX/WV1G98MVQaKpSjXCZqBCJW2fR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icTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 482221bf-5c91-47bb-47d3-08d4bed9b991 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:DM5PR03MB3275; X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB3275; 3:MesTZ8081BlWVJ/2QVpjQShq0C1d+xO+beA+DrHV9pkfuZ7SDOqlcQI/3zS9r0Oj+nbLM5Sz4NYSoI2Mf12LlJGFo4sz6djOX3JxX/IraQwlj1gYvhPSnfZw2kqKWOF/LxL1h3OV3pB8twyA14x+aYkJRdcUGRn7t+NxV3ADIj7zCwZFzX7E8HNsvuH56agaWDCqT3YWVvlHzj9Hpc1W5Qo/B0Pnl8YdAg1zD9854ti5nTqmKA7WHWhe5LdEIjQu0uC3hqSsJMvpQ18v7HenDB7E4G7hxLaRQpGmoFUbzbliq6Wu7yGkb8PyOwwlhe72+LnEu4nTGvSM0qxhjEtVlCWP0l8bI0f2EC7G3Q7iIMw/31G6bjTH9Y92ozKQL74wntqURSLQkwXs2DM5duAE3cXpC2b2ZFYYd9SbTyM/npTHJfffb8tho2gKMuwIThuro5eR8WRU1MC8QAeybzgcPg9NOAwoGtxWgbsPIKW9KMlmPNDR6+PqIal7uqh6FSPHEyrP1cTKJWOmx0ifSk4pRQgmAiZMduTA3eBl7yO9AKRFiXeH4q/GVbgdkPfJMNiXLB4b6pZUOhyjGxvJ6iwZjQOCJJ0cWBAppy0fTPKnexkhS0gBOCStE3rvj3/72rUMrVRzfbSgB17e7tcB+1d1VDhfI0y5i/rwmxZfNfDi0XO46VjBrrzFwhaYKB3Fhq0k/J7jb2Mgk3CU7JrNjmnVLLm5/HhjLHmR1xeHgRLLeExEmydXd+t4rOyMTQdFEHnhgeyjL2QQc7cHGZUKmm7+dUHoiblk2O+HTF0LLoxzCE5RAfo1DJgyE6jO1xMankfbzCgsS67rgisTtA79/TqokA== X-MS-TrafficTypeDiagnostic: DM5PR03MB3275: X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB3275; 25:9ITTr2XqL6oQMof+2VnaP1EvRA9pS6XJ4Eci2mgkzguWEZveEflgJb+/bCl/mNbREULSLTfWowrRzR90cDK8GR1xAH8u0LWtb4uGi1KyQ8diJmiVz/HsYzmjXdO7QraNmksj1NbXS2cgzGq8UBs9Wvg7T9ZE1tUbOV8zwQ3wqmzFErrg2YJPEkzUegL8vBoj+ugmN/0uBaU4R3REUH5LGmq8ckFuXWt+GH3DCMuGlKvPCaIueGQsY4grWxk05/tYMIWRcvo3B5dVBw4mvXAOSy9jYsvQbz6q2u93lUxhAgMXBlCVk4xCtcn+0phXMRuDk9Yn4MdxOYBnr9b3i8lNch3HcAHGJkTtgyl93NgttnxwJX47ry5yfT1WBx36BrE82uvm4gJ77rFstURyasomtH1dQG90Sr3bkl8nlFIh765jezIBKey8KSinHdWI3OifdPPvjjYfuNltNWIwOCmN2T0NLrrV2/mZqhLt//3vrZPOBTzhh5MR14MwOYyOYVSYDuGyZnWjzMu+XnBkuqM1PX7gxAbdi0dsoZLB89jkhgMc48J0vZMcdShXSd+5ZWU2kxwbciRm6eKB07dwU+g78xYNPPGmgu2s+z07xlVLGxi8FY8s0q0opaNd+0T8i9cGRvDAwIOCgbpDwCNCmQRJuVZDQDdgwd2lsliS50CXU3tdwA2MXsE7IJSY0yt3705WUsqPX4RWfbyKiw+ziU02//lKA3GcPq5xbeSMXrozCfMuOarTrQ/UBZLVDXhHiFS0EToRtaxZShv7KScF0oJ5qFa3f/3rgVCQ9p0xt23kploh1lhMEzFJ5dXuy7+oa73BvVAUo1ocjkoAv7qExGlQl/8m/BUitS1I3IFJh6mvCisSh/GjyyAUBZWTWbvLnB0sbkhyW5bEWvXl+2wKSk8/rnQgi4D8FByHI8i5RHOhnOE= X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB3275; 31:AVNGlVFQcwCZkjkeqfMr+IEus5IY/LclOZcBy8g5c6hEErP+WZCpVArp4HfeaBR5Tpk/p744BvBYAteE3CzCqzCxnmjDiOIpqOhbHsSAHQH0qVAeKTgiv7Rp6R8yBhtfqXPuAZQIswt9AYaq99w9nJHfL8qsOOFfzYwZ5Z2L4RlIzYiE1bMjVXEiSw27AevvVajxpNs08qQdTDyAcRXYedP8cMvb3Dx9ReXhVUh7FlfIDUWxYH+Shh/+aiS/CK/GhwKI54XGO0l+7ZXKlqu0i8qXE01xvAvxqK4NbyeWiNCtQ1fIiPm+eYJIKdHP5muH4xg+gvlIt1oOzNTN14rGt4CWxkKHpfvPIfcdt4jDIEbbNdhbdBqdpCzRkFL3ADUQJi4r2tcuG142w+OK1owuh6K0FEDbBMKWYo605T17lm06rQzoXSWdQzevJeU84XPZh648ijBZlMw7ACWWTrDc/QgU9ME+GdBsrmIkthNCkuaFrYDyKIkOjzGMs5aXRo4mHJKBgncxxtWYBXveqfP52VgevfcMzL5ttJQmXwtieaRG2xvKJfr3q3i+R6ybljIMORyRPUYqpDO8ji3Qr8QTG1KukEi5oPG78xhCWWtju1zfMyhcxbbYIenSXJEB2eYar8VP83563wrAPuMv0g0Z1bLGWmpaZdld3lg02Xs74fWUCfA9Y8Fw3DWSMPr7Ycp5 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)(8121501046)(5005006)(13016025)(13018025)(93006095)(93001095)(3002001)(10201501046)(100000703101)(100105400095)(6055026)(6096035)(20161123563025)(20161123561025)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(201703161259150)(20161123556025)(20161123565025)(20161123559100)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DM5PR03MB3275; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DM5PR03MB3275; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR03MB3275; 4:9FGmeRnpFOd65mr+k9ILon4JytxF8KfvaQCsDtJkkh?= =?us-ascii?Q?+t/mYFB4VCFAhvlDefeyTEgyKmvO0IiOx5Egzz9jVh44FFaTJpVCnTpd6aZk?= =?us-ascii?Q?lJItHOoTOS3BlMxTJ1gTOCZaH3EpQbl45Da6e2AlssVvqxSkzIarR9TSbgwm?= =?us-ascii?Q?rs5dfCRM+ld4E8B3ZZmv6suURErjxI9a+VPVMX8Y4flc41k4HrR8B31RvaYT?= =?us-ascii?Q?t+mDSNwxD4uLliCRd3Ej1FSJvKwpTNvt5xcP7gXEHB5frSe36KyjZIhd2D2y?= =?us-ascii?Q?K1fYxcgq1p/+F8F90kg9CsE15gL6BlEZyTHepj0XjLBFyNvx0s6ioV95H78b?= =?us-ascii?Q?HqxZshYZrFX0zYO17uLRwXaotogjbUfZGr7ASSLn/BM4RsiC+c11/HoXEf4+?= =?us-ascii?Q?js8j4nh+vu+aNfAkL0B6iIOXba5PqxqggCCddGT29rgIXcXRq4F6DuelihUk?= =?us-ascii?Q?EodZZtnjVXv+5JWqeOBt1rFGE8wi2wmN2bkaKhP1ZJqgbTQuAcDKFsmLYqI5?= =?us-ascii?Q?KDUXgaqTZoQIOmxqKE9ayh6N843PhrCJ4xNtGAUuL07TF+D78QzCvgnw7Swb?= =?us-ascii?Q?NOuUAyt/Z4bXEnu7g4qAkmMFyJSe0a1XEZZmEF6hh+1N6swGvwhOQMAGUaVX?= =?us-ascii?Q?Gqg72Omwzlt8vLy/erT70cYFO69wVGwTjCA539pmK9e0lEFKfnO6OUMBuIAD?= =?us-ascii?Q?HLZRnoXXoXAz/8F1++36l81+Qno0QSFRSTl/XjKPts1z90NcmD5u7cepIAKN?= =?us-ascii?Q?nzpkgzq+dxQ9DXKxSvzAJ0T1sapjxIEhoIhqtTO6oA2wJUGznnomMKCYNZUo?= =?us-ascii?Q?djHzgtY4AF57BJ1zlKoSV7wTtxpdVVAdNH88g/F0y2SExn8Eo2KA0v8mkN1L?= =?us-ascii?Q?egYbRsLhcMCD0fIaPggoJi2qYJdjyt24NT+WanYI3TjnIUhIlAW1alGEw7UH?= =?us-ascii?Q?zrgdscWue6vki9RgVISW0U9IxLXmgPjBPPrRmQv9TVVlN6h1h41bvAVdiIrk?= =?us-ascii?Q?l+V8P3brTfG37ygj2aAir4sC7qhTnwwj7y5bVPXDa5vykzh1FWzHlCBZItDc?= =?us-ascii?Q?DOmUV2N1+fzj6Yh1L7TqW2WsJx7XvnkbtbRHXlxPOqkI2RWnAtxbjsFSp/wN?= =?us-ascii?Q?swtxyAoG1YMT0wRUzKrYjQdYdtU0qpRe82Mm/i0EAKIShJBa2FEtFoV1NsvM?= =?us-ascii?Q?lEiDvIuUx90gIMd6Dd+vFz/i2wq+lPdJKlHATj0hRl25py1ACSpWAu4C2QR9?= =?us-ascii?Q?r6fwi693Q6LxdZOv8GwsOLQFu1fgy+HjIu9WIV8rRBocydWAhtRhJQ2du+oY?= =?us-ascii?Q?7ow9OFrWOjRcvlI9CvgpkGScZDNJwPqxWW6mgUCUse?= X-Forefront-PRVS: 0353563E2B X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR03MB3275; 23:XfwYGqzOq/2DRWmwpYRa/P/xZHQ3x/Ae6vwE9un1C?= =?us-ascii?Q?KlDpTwphKRy3XkKCQ0ddiWWb8LDHaNf7/Doqn2ViXbDnG9jFYsvFDzgSnIVE?= =?us-ascii?Q?p07xDLKxNNC9Qf0JB3wJIScrK+F8mcVr7+iLLCsmrpONd2CM4cYWUuU+LsJe?= =?us-ascii?Q?K7HTDscILv+h3XH3Tc0TKzNh4xs9qcqzJz5bPS0LQK055pNGecpuCdxcRwBy?= =?us-ascii?Q?kin4s0IvTtGq1L32liZx412NopR1QRn+w13GsYnzoDa/8S0cv6Rf0E5HwE4Z?= =?us-ascii?Q?afSBlPspFN69hEKimjhlJxh01/pOewP1CxHlGpG5EEl6arPr78twSQ7YaYpZ?= =?us-ascii?Q?2lh4jPDxbdZ5SLgUo1etfez563jxJjVym28DdmeIy1ca5mX5aClR4dytLwI+?= =?us-ascii?Q?2q3AD4VAfzPCu2HOtbyJFeIS/rs2/aEzTdgwZiRM6Hf3eKYkaJSjaden+vYo?= =?us-ascii?Q?uIpLqEdLAV37QKlT9izzyQ6yobt/Z96iSwt0I85HjO9wI+v8QgxtpFEIsdPz?= =?us-ascii?Q?VLORAbpw9LuIhK32LeqnjVOnd+LLgjTbTtssw4EeOzpUeGegXBVC27iLuSA0?= =?us-ascii?Q?H/gka8504cLBdOpOZ1X8gNpyuha1j71k54TMg6klyKHT+JZQKI22ohPZVNHy?= =?us-ascii?Q?S5/++TGB51a8YZc2GX2Csy23e4LgigjfyiX0tOD3iEB07IjRKE7QIV3POWky?= =?us-ascii?Q?Izgc10S+QLGUWGIMM6+gywNi+cPULKRrL3ENwLgYyij7mIe73GPONWjIm3SU?= =?us-ascii?Q?1d7FHoqtts605S3Z9YzruivCQEXb4AmHn4Kl5DOmnQMURufEUYfYypgJgEbn?= =?us-ascii?Q?0xxHYVK7jg420y790UL0DcoIO7IVd2Dvs6wOuIPy+NVJonEq7pYyA1wQ43bC?= =?us-ascii?Q?A7eXlYgYb+vnEsdHyPr4kN8kf9pq+TIkLQz1zLfybddpHugKLLgSIAkxrsca?= =?us-ascii?Q?PgezFT79yagw+qN+xrcxkJk61Jgtw7h0JGs9ixZLkyyWgImAdwKx8Lii+JYz?= =?us-ascii?Q?FtLpBFU7EzsWKTquu7RDA1Z2zA9U/fkeSSO1YOKqY1evhnUNTkF+l+ahu39z?= =?us-ascii?Q?lW1tRxTUkNmIDlgXpXqiywVPFs1DCTk7e00vHnGxUPTshy4dO1ZsXxnnrb7o?= =?us-ascii?Q?hXJAb5aBev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ticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB3275; 7:Id/1GFe4OXEpZv/VWmlGrQgBDGRXNVkGof6TrlmXxA2UTzb90ikGX3CfVqvo8TlT70su4WHGNvaoSb9QJ5dsQwYINRmuXOAiDI5KlVRLwXRaMT5VwxrMqxia3OM709Oa6o+TVcyLFLgTjVaxH3YPLQKEtLxbPWveEx2U0qTi81dC3ikSMAFxmvfnIo8bbf7eSa4juFIvuTm39zRHbp6g1pKaDY+6LJdKjUK1Y/fqCZZVj9sCE1V/VI6ecnD8v4fm8Y8jV+llysvF3YUHYOcJOjiXJxTpq0Ur7BzMfUSp2AAdz3h2JwtK3UiLbu9Rlqzqg/3ORARw6QV14RnHSqUVa4ZQYMquqxSLSncEV18saj3gk8ybv+6Karj8FMW0YRXR6+1mw4Js4WoJWvMAISUIo1h2WZHKrlGEVe80sfcvaZSpwzDSofR5RLUJef/e6fYLiY+ykVc1QKOjhMV2QGepsYjkNmBm73yxnVMINHXX/NvUVfPtZnjeR6k2FJ1SFBw9uwgOPXYGEPE5FLaDEegYKHwcv5/gtjsw5dG2trerHtIjrsb5wO/VbYgQofVV7P+q9QNK98AItSj1EqQcEsdtIpdJ3Dd9PWaJ2y1VI04EX3IUC9dclScvyCtNfED+LJk3rtucxZNki0GdwQsFK/Kdy7fnBq0M/IgyiGGwJgc0C4lxpjQnovFhjGS2yK1mVS/p0f7U6rZdD15tEn8Yk1SwexIcVyUKaUAVnqXnWifMmnVCTLuNalZefm7n/OYQ4QCFSHH9fMpiNsMU0qLO8o+dLY9x8VrK2vCVm6e7KajQEt8= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jun 2017 10:29:29.4697 (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: DM5PR03MB3275 Subject: [dpdk-dev] [PATCH 18/21 v4] fslmc/bus: 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: Thu, 29 Jun 2017 10:29:33 -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