From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0085.outbound.protection.outlook.com [104.47.32.85]) by dpdk.org (Postfix) with ESMTP id C1D289B6F for ; Thu, 25 May 2017 20:10:13 +0200 (CEST) Received: from BN6PR03CA0067.namprd03.prod.outlook.com (10.173.137.29) by CY1PR0301MB0907.namprd03.prod.outlook.com (10.160.165.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1101.14; Thu, 25 May 2017 18:10:09 +0000 Received: from BN1BFFO11FD038.protection.gbl (2a01:111:f400:7c10::1:114) by BN6PR03CA0067.outlook.office365.com (2603:10b6:404:4c::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1124.9 via Frontend Transport; Thu, 25 May 2017 18:10:09 +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 BN1BFFO11FD038.mail.protection.outlook.com (10.58.144.101) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1075.5 via Frontend Transport; Thu, 25 May 2017 18:10:09 +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 v4PI84WS022340; Thu, 25 May 2017 11:10:05 -0700 From: Nipun Gupta To: CC: , , , , , , Nipun Gupta Date: Thu, 25 May 2017 23:37:48 +0530 Message-ID: <1495735671-4917-18-git-send-email-nipun.gupta@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1495735671-4917-1-git-send-email-nipun.gupta@nxp.com> References: <1495735671-4917-1-git-send-email-nipun.gupta@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131402094094521515; (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)(39410400002)(39450400003)(39400400002)(39840400002)(39850400002)(39380400002)(39860400002)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(9170700003)(47776003)(5003940100001)(50466002)(4326008)(106466001)(48376002)(36756003)(104016004)(2351001)(50986999)(76176999)(8936002)(33646002)(86362001)(105606002)(498600001)(8656002)(6916009)(2950100002)(6666003)(53936002)(305945005)(356003)(5660300001)(54906002)(8676002)(38730400002)(50226002)(110136004)(77096006)(2906002)(189998001)(81166006)(85426001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0301MB0907; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; MLV:ovrnspm; MX:1; A:1; PTR:InfoDomainNonexistent; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD038; 1:j6AL0k7g7tCdQoejbjia30Ai9Z0QBBil6T0gtOF8B2hIDsYKb6xdsub3tZH1mcEghndNBo95rPQshFDu70qYsn3jUkQUy8J66nt6gEnBANMmyb8OCK+4OBcTGZiXCqKbEocxgScqFqtsNFaQwz7TY2bWjjOn5RrFm51W9rrjq2Rnt9MYDcnFgyrN799QifgD5VQopqCHaAY8bGPyThs/jvVF3UG6YOa2kHt2M2msZn004fQNTyJ/43znc5JXCEABrUxLqDm5knF2jSgOawOuFO6TaBAtfA6MMO68XlaekIhvPkj9aLmxLZ2rbR900PC+qv1IStQtHIgTKKThihmGEkTXMbQbUJR/k6ypLId0rtmHxHPOc3vYtoWZWnAce1jDOvIwx10yxkx5TSm5UafZ5mp1D7xu0/LZwl7XkcL9+qepC82NGRpjZVRhePNeGww8h523Re2O+pz+5hBJ61RJUboMY7u7GVpa2aMgQYPJvw97JKdkduwWkX0uaoIg1jQ4ttUJh9SaJG7U9F2oQZSt+s/NFj+/y2u2LbneyIKWOEVmDFpg/TpDrD+pqo2Kp6SOfzJrIUZYUxjHYyg8vCGc4XSAZlIQTzerNpZ23aCYggfbxZI/M1XDuEfL9t2H14GOwAw6+1p/O/jB2LR22h3Ki2udTQBKMLDr/NfQKZ4buEal5PHoqZR6ZM/9M/ZkcLlW0a/6m3U+FQ2CZQRWDvH9PX27zI9TGwnDjFD6tDux0mFinHdV4TRULGjfKG39/sQ55I7ZpXFwXyRMR4JoWrZ0TA== MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY1PR0301MB0907: X-MS-Office365-Filtering-Correlation-Id: 7f8f363e-3e6e-49b6-14ab-08d4a39947b6 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131430075)(201703131517081); SRVR:CY1PR0301MB0907; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0907; 3:Ty+o/OLxbnVxgx1MackKX/Gs6f8HPTR1TB3/K11885GXcrn4GYFMTH4eRz54pQeuDu57kvpOuBf+VYox+YzcasbWbQwScY1vlz8CEaPIgTEfkpjC/S8E3z7U6sam4Rg/S7D3YCnJjRoKTH/8y1pUnsmPJ7VSg5AS1Ifwl85McpMaNRh3lZaBkBzA8E4ojhQx57FzW54Q3sXHCgPNgB2d3qXbBN35IkkPRpNZ51wBEoZGkTDwWAaDA+ra2pHySfpOk67Afb+YfCyf4O0y5+SmlyU+tS93oWnzRqQgwjp4714TqdjmhV2syoQUvu5dsPE4E7LBvpmFXLbGxBS8j0Fkz7OwN/w9z4l1ivudJZyxtVXGV8aGaRYySFI4PqqGI7AoSDPdU9v3GFta2+49yEw+xLXQEQ9EiS/+HA3sS+T+n1E23jDobJwyTa/z9MIPozey; 25:s+WNIRwgPEVatidR0oekeo4lSAIiEVFnJVJMVpne2bSwXL90EGmwaPjidym7oOWis3YptNfXbIhpIOk/cfkvGshMeMqE/Y7/NIhssX5wqKELQSqokg3GTfHTMt4M7gHQySr4jZiQXTzfBkoxBjoGPkdAZmVo562zE1Ok8JChe0qaOAoDmEI5PhAKezBLa4VCLwaRJP87KwaA+WnsSSjHdBUuUwftbaFsLsA41j+ejWEyeKq0qe+YRL5uuaDt6FrbGLxsDbzeBsqErbSbnxvmlQePfoU81TmN5y72kbNZ1xKIFIPW81OxG/4l2/OqzzjvVDa19bg48/r1fhfjn5BOFKvppHxaj9/Nxp1agQ9nlp1B1qC/nI7+djVmBvZ46+6j0mYEtt4HPMByQ/sqP9G4KHWH/I7V56G+eOqbV7qX5XU5igx7fUDplUQUFPx79psrAUP5vb2QK3DQUMpUlql9c/BLo1XlAc9atv8sbdkviQw= X-Microsoft-Exchange-Diagnostics: 1; CY1PR0301MB0907; 31:ExP0ok9zvMBuCFi77WjkS79o6PxaLUXCH5yNgs+XJ/Ha/x1IUKnzyPhCBSFeZdhOKJd+jeMo8aMyhqYSekNdMP8SrlpYZi41nZ3dNQqp5P8CuNiVwEl+xZZv1aEuMfDjrlznuUG0lRwlHbOHWw82KtnG5Yd2v+bkwTNEdresxmNBrYB1v1o1IZ2tAQLOld8YtfAupiS1st9mdVnSSuAeNb0ESEIMMOFgr1Xvolr4qLpYAxWJNcqbawpZEF4hscN7 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700054)(100105000095)(100000701054)(100105300095)(100000702054)(100105100095)(6095135)(601004)(2401047)(5005006)(13015025)(13017025)(8121501046)(13023025)(13018025)(13024025)(3002001)(10201501046)(100000703054)(100105400095)(93006095)(93001095)(6055026)(6096035)(20161123563025)(20161123561025)(20161123556025)(20161123565025)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(20161123559100)(100000704054)(100105200095)(100000705054)(100105500095); SRVR:CY1PR0301MB0907; BCL:0; PCL:0; RULEID:(100000800054)(100110000095)(100000801054)(100110300095)(100000802054)(100110100095)(100000803054)(100110400095)(400006)(100000804054)(100110200095); SRVR:CY1PR0301MB0907; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0301MB0907; 4:D+W7ySgw0dmDxV8w3k0XemR30UpLqWRwb+dtND2k?= =?us-ascii?Q?QWu27yv3zt8Hed5jkG7ZkoS1wHSHnTFQuaVP0w5LotGPtPID7pAuHT4A3t+u?= =?us-ascii?Q?8376RlGXQ2fhvCCgL/c/WZM+HpgLeMuQ0hNu/Q6pxKcle6mfeegCUZ7FmvHv?= =?us-ascii?Q?2HH3o2Xbs5VUfAS1Hf25uAxqV924etFT7vts8KjwKLOlopXt5CxWsQZZRI+b?= =?us-ascii?Q?BYsM+azUEmnG1SnHWZavScXMyqizxoFrovsS+qmTx7G3sk9+iCyWoV3mAYfS?= =?us-ascii?Q?lkv+XR/jD+qqLiHdoJbaAWlEt9ReZzYD0iO9S2g/HPNtDMfIePg+sA6/Nifr?= =?us-ascii?Q?it9YPPQZQFTgpYblCF3BDhiNxAK348zUy/T97Cvu9gI2Sj9Emopj2zdSpgS1?= =?us-ascii?Q?Ks+MBW2q34UzR5gbWU3c81QSAtK0R5sexGZtBMTQG04bqTslr+4Ky9+RscBE?= =?us-ascii?Q?zS4qJ6Cs0H9SO2B8BmprjWqaMU2LcQvwZU29xjS7GWZGuK5Sge0RK+FdZLYx?= =?us-ascii?Q?z2dgxOWJZXVC+wLZKCZNv6ImtCU7afA9MM4bAxOrlnVs4gmXPZlCZQcPu1yM?= =?us-ascii?Q?8Wu643Bb1Sgb3/u2fhg5tvDgfaLMl9UaGy9cyEf1JlqHmaRdyEbF4P7hnkT+?= =?us-ascii?Q?mLdG24798B835pUBwu2fF02P0pVDtgLcl3adU5goJR/cE/Ac8P7YLeRToJJs?= =?us-ascii?Q?VW7Hm1G5VDOoC1TDuO1PJRqFDpMHmGkZOdEiOKlpQ7HV1HDLp6pqqQDVa3uF?= =?us-ascii?Q?jI/18aAZ9oKI0KtdNkds1TWSiNezxtkbO7yEwnafTy054Bi4psh+H1ZjcMFu?= =?us-ascii?Q?62tbTtoo7lMDVAbDX+CRHuGQQlLeaoKaoefVTXRYNvHlgDYESCPC9ZB6/hfl?= =?us-ascii?Q?UlOb2VLZoqQEHM+4rO+8zGLm/LUBCR++IHadyMzRs8Q78FtM4RXMk+zaFRsn?= =?us-ascii?Q?0WcluizQf4pnQoTAUQjqmE9s5LZ7glJzDCweglZ2JnCHdrgu0KhjoDGQIP8S?= =?us-ascii?Q?w+kElZvR9fcEZG89mtAu4f1davPs+ALjR/9ga4DY9Yn9SzxUIJo+F1fet2cR?= =?us-ascii?Q?BvM52jiBXFXODZVry9VTS6u00MEIHRyNfQSdBgrrl3N/OH+4HgAZEh+y0g/L?= =?us-ascii?Q?ctXktTBRukN9Kw1TWICAt2IGBoyQX10r7KWbvhpKG673bkFAkqSUsMAvA9gN?= =?us-ascii?Q?ZN32U5QkkEyfgQXRe9jxJmBJojAHzP8WI2rHxQRhdhvefSXChAkQmJV9NsSx?= =?us-ascii?Q?wrHOQuFjqRnOzYfzLv/V8EwagArkxBAs0UNxv1IYGLju7Y8zzvCLgPsmzyfR?= =?us-ascii?Q?6wb7RSMDPiTrbviA9WW8s2s=3D?= X-Forefront-PRVS: 0318501FAE X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0301MB0907; 23:g9DmHeMH3c0sVDZA+h18x7Da3jCdU7peeULer+v?= =?us-ascii?Q?fu2Ot0wJcd+5ERL2HOfUdSnyv/vWHo6ppp10jdehM40ti+i/lHi7SvWTjm6y?= =?us-ascii?Q?US7n3l5KdoRurPvms/vUTkIS21tz1dY+INnTJjmV9/dv93qAJhUTAQ5G+oN7?= =?us-ascii?Q?+Q9HRQPUDL1MQu8y0Iftwo4aDoBU0V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x9OwOe9BI/cHVOh1qFgxevRfY6La0kdLZj0phk6Bru9+1e0aI2aCcMEgxD2j61cMH/t8H6tlMPR84Fl39fgGySsEsBMTvYjzLM2BYlFj9vgvCU+lTV0VFqyGxkCXPenp5TtnMRb0x0Pv3v4iNAZ9xT+SZjdWfuUQVuIGZF8E4JvXbii6hxXNBADJm/CitMCRF31P4IooI/38qB04qZzW9uiTADf48kQ==; 24:cXnk2JSITyZV3pOZGO+zSCqMaYrjuljRaomQ0UKa/E8xJ3X6peKZvZ6EkomsnueNdV4+0GQUj+xdYaDykreBg4e3p8roVHEkSS3QYrhOcis=; 7:08uJ2S9SXvXvexZPtXau+KFPKZ1MpcvYyjlPpDtcPyKekebN34zYidzxiOuADNdmQtSvzhkhDyych06xpxLt7ANX5JB1TyPQHWhto1mhIlJ2PKrf+GII7m1joYTwvvq8ukqH8YsRcOQs4t0s57/Gcj6Zv127B6qvlXNZa8WDq5UzykJoJS+7PXhYcU507FKsN86sWvdq8FvKkU7eZ01x3kAPFw7BuabRTW/kb4Xdt6motGWhHFCxLmyMvTJ0YfBpTo0bduGak1McwuK2985p8ygJMO8KxzVZX1ZrggINSwKntmd/JETkstOlthAgNqT+QC8pgcmTepYauXro3T9dUg== SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 May 2017 18:10:09.2649 (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: CY1PR0301MB0907 Subject: [dpdk-dev] [PATCH 17/20] 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, 25 May 2017 18:10:14 -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