From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0079.outbound.protection.outlook.com [104.47.37.79]) by dpdk.org (Postfix) with ESMTP id 307F42C00 for ; Thu, 15 Jun 2017 11:00:52 +0200 (CEST) Received: from BN3PR03CA0061.namprd03.prod.outlook.com (10.167.1.149) by BY1PR0301MB1192.namprd03.prod.outlook.com (10.160.195.150) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1157.12; Thu, 15 Jun 2017 09:00:51 +0000 Received: from BN1BFFO11FD042.protection.gbl (2a01:111:f400:7c10::1:143) by BN3PR03CA0061.outlook.office365.com (2a01:111:e400:7a4d::21) 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; Thu, 15 Jun 2017 09:00:50 +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 BN1BFFO11FD042.mail.protection.outlook.com (10.58.144.105) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1157.12 via Frontend Transport; Thu, 15 Jun 2017 09:00:50 +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 v5F8xWSl012830; Thu, 15 Jun 2017 02:00:47 -0700 From: Nipun Gupta To: CC: , , , , , , Nipun Gupta Date: Thu, 15 Jun 2017 14:28:53 +0530 Message-ID: <1497517136-11824-18-git-send-email-nipun.gupta@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1497517136-11824-1-git-send-email-nipun.gupta@nxp.com> References: <1495735361-4840-1-git-send-email-nipun.gupta@nxp.com> <1497517136-11824-1-git-send-email-nipun.gupta@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131419908507750368; (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)(39860400002)(39450400003)(39840400002)(39400400002)(39410400002)(39850400002)(39380400002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(9170700003)(81166006)(4326008)(76176999)(8676002)(77096006)(50986999)(110136004)(50466002)(48376002)(38730400002)(50226002)(498600001)(5003940100001)(305945005)(85426001)(8936002)(189998001)(2351001)(54906002)(36756003)(8656002)(86362001)(53936002)(106466001)(6916009)(2950100002)(2906002)(105606002)(356003)(6666003)(33646002)(104016004)(47776003)(5660300001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR0301MB1192; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; A:1; MX:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD042; 1:aKphOQsYKOewIBhhwAQt5NeqsghUdJ916iLDSQOoTpdcglnkBJEoz9vzc0//SU4gXdZJFna1jCsAdw56+Z7QYNKqvin44hK+k7RS+utzciXgYp7uk9UC8uM2b51peOpJesGCu2kW9zIQ3b7PBpsKCAvs3YgBuAaJzjE3SSy//7GQ9gZ26/nQdNK/RmzwK+/PPDx3LgA5X+vZDhkzC43tMVanHHGo7JnnQS61MRfvs11QGJ4G8AoBqqdm9OYmpkbjThE4fBa5L57YlQKeK9R1GXAjd0u78rqbwC/nMcsQFAbHLHDLkgj8wJCV4ddNXWmW6jLW2kCo+QB6bNUpVum8K1d7mprzoFpxfDiu0v09rS1ojTFv9eOVDT0q8e2hB2jzFJhcmrkF2PA+sf2U1u/cESgmY/VT2wwTbHzvTa/VpPV827JxWcFX8wA1ogLJVCvU1j7yD/wxMpAYJRUejUCUILO1zTYz85RYNOF9G97nP07UDah9aPJ8pH0fEef+7AKMnIPYXdE5iTTN0oH6CUHDZVKKYSn8zA3rZPgYhZVzo7thlxnV7O6JetNydwDuwu5VD3LWIXcVK0fgVON8alWkVeCeWGI6KnxyuFlmRdHbQwf4egwld+RsR0dPEQiVvTj39Qz1+2Eemd7DlvIXR1+9sSoX63igasiO92heWTuS6HQRt+0jKYNKdFFDiXGJooXsJwIovSVbhLUVEJmhBH8Gjk8zhAi8an4W4WT0HIhFgO8= MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY1PR0301MB1192: X-MS-Office365-Filtering-Correlation-Id: 8b1afdd9-6c72-43b8-6e7e-08d4b3cd0579 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131430075)(201703131517081); SRVR:BY1PR0301MB1192; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0301MB1192; 3:iHj1Z97n4nOy1I8OzhL6JJ3LQfVsrFpkkOqu3npipGUnZd9tkXoloaGKJf7EOXpvKJODh7FmpFygFaxM083saCLilnjRlqH6FyH/eV2WkC18aHcYKb+F0QwNq7S/ocSTnpabmZof/JAfEd0xzXKucIg5awJmUeaIZpyORn24+wse7syIT/SdBKPKJhD4bkRk/rd+ULctR6X9jBg0694maEnD9KDKCW1sZvdHELfpLy2cEFQlXu4T5mnqWJdE1tMG08+aayy2BeN1jwM+lQDQ7kZjxCy3AR/o8HlCu5g3WcFvSKWMlF37UZOmaQmewC1PiMN7ayIfIJTQ3OL9X0E0kr40OhW6k13ilYUbHfazNnE+6V5uhPJUmj3pWOcQpcfNDIgIDt3qJSrAKx7zeIZ2hs9SfJVDweudmQhC2j/Q3yMEJJ6b2pvc9gPio+iKoldu; 25:paRXi2g2PHuu4p8vgo5V3jhD80NbZVxkFC3J4mMR+Dv2EheeUkzjhIEj/DsvR8JuBGtSvYKL5VGCP4z5EX8afosQiHkQu+Bzob7Ct95H838k1pDO358xJae6UuRZ+PxJ6cFqcO8VY6f3F9B4HBJEHfrigoS9mfc4Ya5PG60eHZkQ4BMPFi0Lkz2mplAWhn7UOIP2NyM3Vs1WFDk4igxQkbzScwNIbBDmmYE4OVBVaOFyFykmrBBwtgmmUF6vXN/kuxUNQZ39cQ38VJzQEuJqAjj0m4gjCMdXNR/2AayEmy4cnhD2Dexzbl5NSMYxkvIQwHRcrdyyE3Vg1BLlPR3daKjZBA4apj39dvjez5B97Gd02y9ZYoAEbNRQieNQgCzfc81oqCeb6W3wyrBLqHohsDC8H2xJs1h9dX8kFMLf6BV0DDo647/APThHX8ekXOhger8vexDKWq+0yUn7HmnmIV6wK5vkThvEfg14s7mG/80= X-Microsoft-Exchange-Diagnostics: 1; BY1PR0301MB1192; 31:+1qATlwwo8LpPN0JUI6GMI/qJH5yDzmD4apvq24UBBtiGV+znHNjGiuLVthpqt3iAx1m2TaRnecLY6QIgJ9dZ1rYF4nmvmvoPzXDZgHATUKgScdtjNTpG6DfzezTj1/tg7x0Qc9FMLCeQY/BnMvnYrC5n62iU+jB1/jmFdxnmjzWFdDqzyKRXCtax+hmcOdRY66mK6fVQlGZO8dw14F+YuChN9wa76Vb6K+gW6x4REOjVtOb01/94Emi+su9lb5b X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(8121501046)(5005006)(13016025)(13018025)(10201501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(6055026)(6096035)(20161123565025)(20161123563025)(20161123559100)(20161123556025)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(201703161259150)(20161123561025)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BY1PR0301MB1192; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BY1PR0301MB1192; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR0301MB1192; 4:djcmLzY3J4opauEUV6MNo29ix+6lty34Wltd1YBU?= =?us-ascii?Q?1n7DiJ9wJQ3kqYtOt3ZvsL9fhHEyYZwkVRDQmnNumNqpLO2qiI+3WXewN5z4?= =?us-ascii?Q?NAB8qz34/X9jg+sTMYO34WFxwxXr+CLDPjaXiWw/Xya2haSCas0+OaO9wUeE?= =?us-ascii?Q?MmNDsOqyLHcLwiKCRASMpAQpDE9QIVC2Xx3jyD/9/TlTiGUgkzIy18GxKd7R?= =?us-ascii?Q?Amp00j5xT6vziBFf1Mxtgvg7kYvS7Rkw9jMXZDFQAUir0BaPVsqoPIV9rn25?= =?us-ascii?Q?maVkGpNTezLASPYd0ahaBGnTlJsuFCk26sWgqHkFcdwrUIZvVlHQHr8rxKTh?= =?us-ascii?Q?LjvvzJlhE6VZy42RIjYFOgqf4uTxVO/GwI06PFIACbceZ0JzhUedd9m1EeQe?= =?us-ascii?Q?01z+j4PVPqZGJFc7BlipjezZEmJA8hSyct2GRLNBIOQcJ2lBXImTU/3k/g3S?= =?us-ascii?Q?HpHPPOoJ4DwzKHDd2ypXsotqIHSfU3aawO+U/QhHR8RfmlY6NjmoYuHGHhcm?= =?us-ascii?Q?AD+wv2/mq1iJr48/rKdDpsBtNy56pTC9k/TdfPv1cM60H2YoUYQuukuNkXOB?= =?us-ascii?Q?TrAnQIDCxBeKvf/ws5meH+1ii6UNFaQTV6e5r/jinU6/7xxxy0U6LdThrJBp?= =?us-ascii?Q?sTNJM+5vEA0ko+NdMTRQikEP4lLsXSyWVtJ/kTkYEnIqcfQnMszIgKIJO6FA?= =?us-ascii?Q?f9shYcM9dptHMCEygyqD73ze/70SYREeTBjj1CPHBh2N/GbKRJeugb4UJvGG?= =?us-ascii?Q?ELAR4Kc4Y+/Nk3aKYLxE+V6W2veVk/Z8SPeTqhr3Z7RftT7uCgiq3Ir6xdYc?= =?us-ascii?Q?q18nfQkJwvguuVjm99DQMqvT9ChyVA274GjPo4w8kXySDyKB6zvMisoB8xdb?= =?us-ascii?Q?u3Kbog+b5W9F1g7Z1zKnS6BwVJyKPkjAtgfqJZkiaxXUx+NfuRFRsN9RcRvN?= =?us-ascii?Q?bFuybZwHid3C3lmF/LIEimJDrLoPB3wsuR2Nit9l2FlVDknavdQelpRQk5ED?= =?us-ascii?Q?Zq1B4oFqPXdTUT5hcMnFwPHdYzuXe6ZTduuf1Un3bR5+tEy5UkEcxr3hpcKg?= =?us-ascii?Q?68wAvnOASB2EUxzPSqwU2ZyNOFzrmvf3SKCfG0geFG3D5JK4cUoZi69cFoaV?= =?us-ascii?Q?+ZvqVAadv2Aeqbh25syzDHx8wujo2XHiXrJ4qXqRIOiReGobpfuo1gDrbiKR?= =?us-ascii?Q?VjeubFyQGrWZ7w1kXQm6YQ/LTZeeUXnqJUdJct8ots88XNOQ3RD4g5bMeq/w?= =?us-ascii?Q?WhptHUgGfYAxAV6OA7DgABHtoCx0ZbtBtjuRXdV4?= X-Forefront-PRVS: 0339F89554 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR0301MB1192; 23:ejmzpnC53H19ziGPS1VDXE5MrOkzsq4AD6IZZxC?= =?us-ascii?Q?6edzHxkHziX3nmDNctGwDO6A5B71o5VSBrci4NwFQvxprw5cjCk2uUCSFXhU?= =?us-ascii?Q?NVSNHuFgVQ+HYquS8XjzJs9dv64Q+fXhkBVBeSTIX0103Htc/PljBsz4FBJW?= =?us-ascii?Q?Bo/90IdfmBe9cOh0bzR2gv66swlLz5MQooexyL08oJd7iVSIrPrWSpueIli0?= =?us-ascii?Q?04PrXYXPdvGGQKjgKtrNY+b+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ascii?Q?mjE1BjiRT/Df6vK8ugPtzyJ0CxKsNhwB8yKby3tV5bwq6YXt6E+goIX+rgNV?= =?us-ascii?Q?4Gj2OGiqxAdUqs/9u7LQIiF8O2k8CW0I/wew8s/gU/YdpjIuoVVLy0BLtwfr?= =?us-ascii?Q?nUKdGcw5P2PyX8X8txT0=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR0301MB1192; 6:L+5AElEME+YEtvrYQiwHUKiHM5RrOGtr+dSQLmvT?= =?us-ascii?Q?OfchbnW07ugJbG5EebDVZV2VBeMbyQ89Ec3KLwggZmODW0j4yDv3sND0NuNl?= =?us-ascii?Q?CwomF7rc77AVAFFEe5lkD269xr+VhethdTZYijE8xVDjehTo/5lTmlxsY/6j?= =?us-ascii?Q?f8nA4dT+/IHkhEjE3VSezj91OKWXcP56wd/RQBAOJ1AehTHzW/+UTU7D3yJK?= =?us-ascii?Q?6kKgntmLFKo5PDMeg0PDFMUJNMV/KDsAupIDz/SzUQmMtxqKZyHMQ1Horiap?= =?us-ascii?Q?T7o+jzB4ubMutoPBCVxYooHeH8QJiII3yrtmm7gMnalrBYWmBKNp0nBzGC1/?= =?us-ascii?Q?ozbgtcVyiD3ZglRxbmbFr2KhNhtVr+twXWxl9LdNlM68Is9bFQHetnI1Nb+/?= =?us-ascii?Q?PoXRs8om654i9EldqdqarpNzZK4Ac6xULcdmt5mnCSNzok1qMe1bl9y4uRhd?= =?us-ascii?Q?wV6HggJkl9yOTWcOuC2M8OwhddAgO57IycgA0Q/WaGO0XZE6Bw3yPu25zhRo?= =?us-ascii?Q?UkcpDsPq7DagRnBPfFZltOY0ZFZ46yZMtsGhwS9llhlH9Avkv2prxfwI/XVk?= =?us-ascii?Q?8AMO7/qPyryx9Gg0Ca5mgyLo0EqggeezbA6x+qIeqf6RYNxpz4pyAtq3sY5L?= =?us-ascii?Q?AbkFyvkYFR+MpXbZv06k17zqzVAf5gFkjqKD6EPWkwOjsqouehZ3kd1g0NW0?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adata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY1PR0301MB1192; 7:7/lRKLFX1dr4Ck4vY+XFfGBD5LBwNRfPMOCE8355+T6+Qlj8TzooNAbUassGmijSQK6rzwaLdZxS8ysOBF5CcJNn5Nhy6NqcoI/N7sKxamDy2GCn7yZxaq3noZfb6DUf9hmve8VT12jaSo815hTtyZdoXsMywLHr8vgZ1CX7JmU0OjSsSYmv1vpZEXxvfJP0N/WX2abN0qmHG1pcy8ORk01zHkVRcpjwSMbBNyoYw22JpwDvyOcmRWu8mRDEgjNJj6T4HLs+Rq9bzS+AQTbtw9YXG0cjjKeoFsQXMGnmocUZ9nDF1FScU+kGgV4sehtoHtTnKEt2zMamOcX5z77+pHsRxtD6WhEkJA7txzxJQJlnwVqzzuRuQ642n6hC8TJHaBgKy6eT0cuTqxkQDrUJ+LlNJF7rvkWhle9H6uNMHtBHYtfdRQoBOcgGzJffO61xtu0I1IVCicDdfQ4fM2Qo7Rb7kFldI+pTXs6zqQBqLk/HDr4M/i/lMSEVZw0L7r5VQMjVPySDMa/rSebHa5OtuWomBHL3rRDZ7qveXUCbGqczcnGyZQTtsCp1hMC09MAc6Q+XieTidFJzuxc7YaWe7ESGHuzSvSUvjSQKrZ4G9lYhft2Dm6g29sWGjSlyNQDAVy8hWm8nfi3DCogQ7Bqrr6cQcpf4xEwhkmvhkK8rWvYujX2pjMC2xQbM4Jsbe2W+xYNB+dDuFp9JIkWfI2yhzLepIO+radUmiSa51Gag+RvamLH2U3uACMXv/F6fpu1ShaGphi47XforhFd6ziBcK1hhRRQHc6MkEDrrbfXbHi8= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jun 2017 09:00:50.5722 (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: BY1PR0301MB1192 Subject: [dpdk-dev] [PATCH 17/20 v2] 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, 15 Jun 2017 09:00:53 -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 07a9278..88cac20 100644 --- a/drivers/bus/fslmc/fslmc_vfio.c +++ b/drivers/bus/fslmc/fslmc_vfio.c @@ -362,6 +362,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