From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0073.outbound.protection.outlook.com [104.47.41.73]) by dpdk.org (Postfix) with ESMTP id 7340C378E for ; Wed, 28 Jun 2017 17:18:19 +0200 (CEST) Received: from CY1PR03CA0010.namprd03.prod.outlook.com (10.174.128.20) by CY4PR03MB3157.namprd03.prod.outlook.com (10.171.245.162) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1199.15; Wed, 28 Jun 2017 15:18:09 +0000 Received: from BN1BFFO11FD001.protection.gbl (2a01:111:f400:7c10::1:187) by CY1PR03CA0010.outlook.office365.com (2603:10b6:600::20) 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; Wed, 28 Jun 2017 15:18: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 BN1BFFO11FD001.mail.protection.outlook.com (10.58.144.64) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1199.9 via Frontend Transport; Wed, 28 Jun 2017 15:18: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 v5SFGaQ2032734; Wed, 28 Jun 2017 08:18:06 -0700 From: Nipun Gupta To: CC: , , , , , , Nipun Gupta Date: Wed, 28 Jun 2017 20:46:01 +0530 Message-ID: <1498662964-11251-19-git-send-email-nipun.gupta@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1498662964-11251-1-git-send-email-nipun.gupta@nxp.com> References: <1495735361-4840-1-git-send-email-nipun.gupta@nxp.com> <1498662964-11251-1-git-send-email-nipun.gupta@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131431366896016198; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(979002)(6009001)(336005)(39400400002)(39450400003)(39840400002)(39380400002)(39860400002)(39410400002)(39850400002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(9170700003)(8936002)(81166006)(81156014)(36756003)(53936002)(110136004)(4326008)(85426001)(50986999)(76176999)(50466002)(8676002)(2906002)(86362001)(356003)(305945005)(189998001)(38730400002)(5003940100001)(48376002)(33646002)(498600001)(105606002)(106466001)(2351001)(2950100002)(104016004)(5660300001)(8656002)(6916009)(54906002)(6666003)(50226002)(47776003)(77096006)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR03MB3157; 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; BN1BFFO11FD001; 1:jPwSv9nbEmXt0W5dyuF/UGSC15hLYJ7Jch8mpNBAU?= =?us-ascii?Q?MH08DT364gqAEiRzZBBozcD2WuII5HxYAgisQEzlj+8Q4jDb7BVLrZOohjgq?= =?us-ascii?Q?4QIRx6x5F2L2ZUz0Wyt/nstHU03p1jT0+tvqtjY0lwdIrOmEnLT/S03M+qAO?= =?us-ascii?Q?QV7n5ZfLWS5JzO8ilomsIqvirPLbRvuCRmWmV3OKbEF8hkhVyxCtK2PiXfCz?= =?us-ascii?Q?ApeQRXPzuZkxBSE5hdqQ25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= MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7468e677-7cbc-4219-f9e6-08d4be38e2a2 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:CY4PR03MB3157; X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB3157; 3:vBI+8AykRSQKrgf+Ru7cSIWoCm6jrVVXKf2JteKOALDZgyZ65BxjDqBUk36Rz9oVN10pIj81CB/nrJm3UQumrotmf+hqfn7BsJdsQRoNSC0njtxUdsqbryXHdMh9GRx9edHKvAGxs/uCMkUPl82TEhEeTZpiZaecyhewhhfe2VkDVbs5Hbdb5iQEfZ+2dEHW/K39invviQrO1phk8AGVpKzLGfDPPHFVK6CWYtmIx6yjZOErWM4vOdS//kfacbeHWefYacep1/fd0zJpbusDfCNIx2cxznUcO5/oLANzcmHXwMpvYOxej4388R76EniJYYKAp5JSslLQrhOtvRNk86aS49gBvaXX0XqwIjrz9ptC2k7ZxiVkUhzXM8bmDlNji/p32JWGjFAd3P3Q5v2QabZihPeT0/pQ9xhpuYxYl+moac0JQmbDL4qXL28M8+/k6CPBdxddfA17KsDuXykeTYt7ezGP7nSkfdW2DM5iHKdKcEt0Jn3OhZt4nWTLfKrN1FIzP8GKIQVYj2jzAUMiEq+Z9QKf1XHl/AT+nkl/jbRJDM231UyIAgzKbwtpu3eB5NyCA4DlaGIIfU7OaAXS+LMWjYEJowLUtMS5XfS3ZHD5ZTHZDZX+ZdbVQeVTDXbGlZDsxdcgWJJoNtIX59rAJzKAzHYK7C/Fs/wq06PdMrQY09owESMWrRUNQorGjdSJJNLpqQb2TU9PDdtbORl+EeWV+NYejh/bNFCjcbDFL3ltHkAI0graTpYvuWWFg4UgoLBl0hTQSrNqa6qb2fuax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Microsoft-Exchange-Diagnostics: 1; CY4PR03MB3157; 31:Od2cxbkM29GeM3qFKXecZqzj3s9HOR08RlgN3gexnQMjHhO2NtzanX2+FUAUdIXcpjdXluthIWSekwP8U1Fx7Oc72ZJ8N/ae2smLT7giBEqyBnlqZwzdZeyR0FauWFtPOR+v1P9cyn92BtfR72D2JaVgXPepWrp/tGAm6rX/PAVVrkeRVJeJuR8rEgLJNjKESOupWEf6FSGcq9DXmjHIwxaNfvX1mkvNgMYxrCdUomKI9zNYA6TuJBh92yG+wSg+FkOOQRG6hplM4/HUUYJ63rlPmpBfvv3daYT4C97+2MgUMcD9jNV4M9xHINxfrcO7p0eUAmOfda8DDA0i4sMPujT/gztnuRw1gAcksiUJLvIZmbbG1Gn2Jrko7LLC6qWErtgrTKTvekdt/Hpixd9CaCaV3m0EiB61e6NpnT5b3g9DbqhJDChvNXRCOK95UJekBNYiOztaqYoHOJb1DCfKsSq5hf0mnGFkKV+UKtgQK6t71uKKvHkXqLcjlazohCrOIIa0wjdyUJ4a+rDCTgSbh18tRgJDQwzZ24owIdR81GclvtE32ymsMsflTzet4lhQU5L7mK3ZL6B2KqRHaRjaaw90BPINB1c+2SAR9Oy4LsZKhvkAZCkmBsRi8a1Pcu2/EkmWrZp/ThBi2WaWXXQM384nR+AmGKAYfpMQUf2xeqQQPRBSJslf6/AXcVsgfVvj 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)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(3002001)(6055026)(6096035)(20161123563025)(20161123561025)(20161123565025)(201703131430075)(201703131433075)(201703131441075)(201703131448075)(201703161259150)(20161123559100)(20161123556025)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY4PR03MB3157; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY4PR03MB3157; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR03MB3157; 4:vg8fZZW8IQh9m+2722B1KQSuWAlbnyVfxDZSPakQs+?= =?us-ascii?Q?WRtyWUhzJAc1YN4oSdMa7NVv8Lq1LVw10yQzcsz8Yoybo1BEy05LhEI9WgvC?= =?us-ascii?Q?Ec1u6ARFNf9cKNTMgaUV2POH8mulfWEGBt796E/3mRG8k+vcMQy8G4FokszW?= =?us-ascii?Q?Fustl3KSiRcV1jEGtsvneh4iYGLRBpJUnpUB+K/kDZkgR/Doe1BWSC3HrTB1?= =?us-ascii?Q?BtU1scEuLKXLe7q2KTLl2luEmxmtI49OxHGhRZdCC2j6Ae4mVA2mI7z0hBl1?= =?us-ascii?Q?EkST3MtzW+jYlZClWeb+nPZPqpweehNYjyTFjm+K7EJstxHiRTJO7Jw/sVx/?= =?us-ascii?Q?BJMiY56UI1T6bhyLIMs79Ym0QQJpi1eDPT8jhwxUlL+9Hof5rtP54PaUDADW?= =?us-ascii?Q?F1AAZn8nn0dpebZGHxEtIyAJ3eY+CvvxsgqpRPgzjHYuJFcgXaf5HAXGbSNZ?= =?us-ascii?Q?WjBsDaL29NHYSafSWTMCa4x/VspreFbIplfnGrtgV3fM4+2qY5zS9LHS9KF5?= =?us-ascii?Q?ZoRu7Smr9BWCP+tAkBlgLNtQLXLZGJmzjzatwedKCIrOvR37+3IhHUzMGTpQ?= =?us-ascii?Q?06FE/rADX6PkaB/hFytePE7A/g4m+75wWIOEK5+4GsqBHeAo/MXeqnQi8vFV?= =?us-ascii?Q?CSdm23EoJiVE8qTnEiaA7MDYn+O1UnY7Kc+35o2UQmEHlwhQ4OfSbWuWrtCF?= =?us-ascii?Q?1Ytnp5c1nIKGsLO+gzvX3MTITuPR7ObtRm0y9Be0+gU6ljz70zKErMMbmns1?= =?us-ascii?Q?yyfE1jjomZH7F0wOmlOSs6Tku5niTOwRTnZGd01DDVFfphdlaRWXJ4c54xW8?= =?us-ascii?Q?A0XABige1GizmlGJnguhW1ZXnHOQe12sgCogxr6TjUElkEt+L/5UGRApkSkY?= =?us-ascii?Q?bQgfVW5DICSEogXP3fs71ABMgdvytqI90ccr25mKHAIFltfCP/p2yo35VnmK?= =?us-ascii?Q?PdtXw0Q8CwkCN8gBUZWfqGRVegaioYOLmiPxBPYROQ/yjc6NPm7gH7M0j0c6?= =?us-ascii?Q?IU69iysugb3a3YlFO0ij9XNlnDCJmswGjm4k8wqwq6qhV+u3jC6zevHZkgUW?= =?us-ascii?Q?vE7MzXXTeJPjWgmREFC2lGxwvp5JNmuq0dkiF3HnxqrpbePPnJyaLDtJbp73?= =?us-ascii?Q?jke12SxFX2lgpkqnQKZ7uP+gBmDGEWHg6T9yMAE0nN/YJcUbIY6W35Eqnznd?= =?us-ascii?Q?IjpWw2zvZ1JMYxhB3xEhCqB3E/N0PdDN64xWwqy2kMHAmmi5qKu8wgVO3qJp?= =?us-ascii?Q?3a7xts0wRitOnOjgUMlQb03agg6EF4C0Gqcbfp8IvEJQAkVWyBA/4M3QhFqs?= =?us-ascii?Q?Pyaf+q2UT5Fwe7OuzW4ZsbWSF5nvSjFz+c+Eg0t3DS?= X-Forefront-PRVS: 03524FBD26 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR03MB3157; 23:u3W+GR5xLPoVQzltdc7SuJ0zxIyGoFhTAUsv1/WqB?= =?us-ascii?Q?vZidpN7qxtzsOV3hHYB0FgxlqamBlq03A6bMFnwiwdQpWzsNfQDboIFzdfHg?= =?us-ascii?Q?GH7+Y0bAndN+551VbA44mXtUCTDY9BckxcwlD1DvxJAKLZQvzH1EmECPsUAI?= =?us-ascii?Q?u6OGTvhgTZEtVBPjTHB0jEnb3EM2lUQf0JnEMaOaMU+BOAFE61XWNbVuBs3X?= =?us-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/+HrlYJfbHOtxpafjBsXTL+v126RhUY6sQ==; 24:QmU7XIzbDqpZY89l6LrhuL5Zay1oUk6nKsX95Yx6/Mql1ouw78xHbggWsAu66YtLirgNxsnhsuBmTTaq1K97DawjHMNjCXrx7iOQoWxm1v8= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB3157; 7:8oCzYiqRmmFwdVrrTtj6WgTbtDKa84TWYQjkSeX975CA9BjVlAYVHGGxxRW09sOegWimYw3Yvl38iSfaYCUD/viANQWoDUjea6QZExJ2be/cRjeraI3VN+9IdN/6cZyIVB8cgA066sepuAnPpiEXxLNgJ3Zd7XzvKjAQhVOUa5e6V13AWkq9yv4SN+4r+KWMmDu+n/ZsHMBPv2uvxglVztMnsXVdoRwDss3/ZsPVfUoOgYQX2xR07nC0bENmdg+PpTlrxBqpnGluvmnHBnnrtm6TDHFpgwfy5VJB7ZPADLZc1GACpzeQF6C7I45oD4LV61qV4A6gsBAbnOBUJKtE7siT27ep8vRLrupE8DzwvXpxxqWw7cj7N9yE+wXUqW7SJJcyoytwXfZv2p7o8CXh3gzmnx9TaknYF3xV0PfqwuZi2aHgdZMLkTbS1h46jaRrzhMOPAlnIdUQdf8BbqePuTBQk4NBOuv7qx92tktsX+WilxRU0eJIpQiW2UbxtT6r2M09pIUa2TvTUZ6zixxpP4xiI5jIWyDjMyGf7AyRxcCd6jaCzE/KovfvIp5xOGIkXgH6NJGoT2xQ3zbk0RLN923HmIsnjJrKeLTQNyidIsHfyoXbsI1ZW3qh31WoQJ3vWL31hhIS+H66mVTPJihL3B4btDjujdK1gmBoxo6+Adohifmj2CGGxxhyCBavNgVRC/YC1VBqWkzCz/1mnSw/lS6Kd/DwuTmTkolA1jsmWEEFTfRUKbZd3Nd0pODXyLGSyG0TRyArPED0c7w8MMy/+FdbvuXyGnrcI5MNQtVkYRM= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jun 2017 15:18:09.4144 (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: CY4PR03MB3157 Subject: [dpdk-dev] [PATCH 18/21 v3] 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: Wed, 28 Jun 2017 15:18:20 -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