From patchwork Fri Aug 25 10:49:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 111001 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp813130qge; Fri, 25 Aug 2017 03:54:18 -0700 (PDT) X-Received: by 10.223.128.47 with SMTP id 44mr5544599wrk.175.1503658458352; Fri, 25 Aug 2017 03:54:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503658458; cv=none; d=google.com; s=arc-20160816; b=xYt/1MwZ9p+Yeh82StbaLTHOteQMJ4XEKUc/XZWXyyshmVu2Z/5q1gtHBNkOHsY8vb 9Kjd5IoJhp0rajyVyD5CucmcUIxoXO3yiYfBx4nBuum7MatO7ITe59aceo/y1wutJeJ/ HU9+r8O7yfV3GocCGuY9RpWUgcJww54a2Mjc25drEBo9tN7KroXZPnUMTuKgC47erru7 ExWdajSgnA8wKbW8ZZaTsomGSHHME91P8KhhQRxo3vDSRDhvPD0gMob54KJOKUwqqEDQ 6cmkOMVDEQ3JpWAV3JPVaENj6WHdwV4mOG2ktwmqQHI/Sb9HSxU+fKaFe/pJDKNAYlgB QVqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:cc:to:from:arc-authentication-results; bh=Gf3qrkTqcK9dn9IFFIUwsHEGXnk9Gycdn0Ji/rPNqTk=; b=CoY2SEENs57jTWnv13UutgTaAmDEp0YJynsk0YNAmkxOsrDn7WJUWvEl52ovFA4vvJ zsg6lCXruGCITTFsQcW/Q5nfR14attbLWSI9SI1AihyrEUBs0fbM5x4qJpforZ3DNIjH aicEeAEYFCDeTzKhFMyaZDsYKcVAijl9yNpZ2/FlPYALdunmtfPTow73qiOZq8VszvDz /Hs0fjp60qLP+7Z7u7WNnxZGYgTkGZo51ebw2c5/0o5aJZaTuL729pOIKOf5N0/07ZBw LrKBEXbjtks2Bnq6dZ9Ij48KpG2OuRPIK+yqagksDzz9LdrzSC6B5nALm1lIDK8F4hSI efZw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id 200si949350wmw.4.2017.08.25.03.54.18; Fri, 25 Aug 2017 03:54:18 -0700 (PDT) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 6E0799998; Fri, 25 Aug 2017 12:50:41 +0200 (CEST) Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0047.outbound.protection.outlook.com [104.47.34.47]) by dpdk.org (Postfix) with ESMTP id D0BFD9978 for ; Fri, 25 Aug 2017 12:50:36 +0200 (CEST) Received: from CY4PR03CA0093.namprd03.prod.outlook.com (10.171.242.162) by MWHPR03MB3328.namprd03.prod.outlook.com (10.174.249.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1385.9; Fri, 25 Aug 2017 10:50:35 +0000 Received: from BN1BFFO11FD009.protection.gbl (2a01:111:f400:7c10::1:116) by CY4PR03CA0093.outlook.office365.com (2603:10b6:910:4d::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1362.18 via Frontend Transport; Fri, 25 Aug 2017 10:50:35 +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 BN1BFFO11FD009.mail.protection.outlook.com (10.58.144.72) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1341.15 via Frontend Transport; Fri, 25 Aug 2017 10:50:34 +0000 Received: from bf-netperf1.ap.freescale.net (bf-netperf1.ap.freescale.net [10.232.134.28]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v7PAnw6M032070; Fri, 25 Aug 2017 03:50:33 -0700 From: Hemant Agrawal To: CC: , Date: Fri, 25 Aug 2017 16:19:34 +0530 Message-ID: <1503658183-4078-19-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1503658183-4078-1-git-send-email-hemant.agrawal@nxp.com> References: <1503658183-4078-1-git-send-email-hemant.agrawal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131481318351522502; (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)(39380400002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(356003)(305945005)(50466002)(104016004)(110136004)(53936002)(36756003)(48376002)(2906002)(189998001)(54906002)(85426001)(68736007)(8676002)(498600001)(77096006)(81166006)(86362001)(81156014)(76176999)(105606002)(106466001)(50986999)(5003940100001)(8656003)(8936002)(2950100002)(4326008)(97736004)(47776003)(626005)(33646002)(5660300001)(6916009)(2351001)(50226002); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR03MB3328; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD009; 1:uyV7iEp88mC3eWoMVRDRtQ1AqlDzUfhbI1J9BDjiVbUnb458vnREzEfBfp+dacrUy4NFMQ5Cq4M4E9h/Kwmg7Q6uZlCiDw+NVS+8JL12DqWzRsGvxCrIioZPeEelpIMx MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2369bcff-301a-4c1d-4ac6-08d4eba71d68 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(300000502095)(300135100095)(22001)(300000503095)(300135400095)(2017052603199)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:MWHPR03MB3328; X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB3328; 3:OeSiWnjlHnZUY0TpPRywf6MI5k4m9f2RDEZfdct02SLqNzXysfk6gJKpJEQ1sZLNYYgCHYEqpT0H7f8fQ3rE+L1eFFHgzR4rOF1ej3AEpTvdk0OIUIOtAUs7EkVa9vWqj0LibNlbSc96UTTttC6Is2OULVwgna8y1qkMY8LaeQw+eRAf6U3brWI7qAJr05ODhQt+ADpnVa6/GUUzfVxyJwy825dV6A7ZNe6u3djXxZwVnN+UE8UR86J4/7xbHRJn1crNJrZSUye9r+KlkVpDZLwb21z6tUPjBapsFG4YG7R7f/TG62wXXnphRlt7ewfPECjMF8dHuEbF8oCG0EQJHUBenJjB+TZw0X15QcBgcNY=; 25:pA92iydBL7M3g+KGuxeDv4/G9VOyWeOhLBnjoqt3UGhMLSaxBBKyOJgehe+Wed3OpRuy3uvNgTQHUHGeH3PTg3BDiSQ3sTeE+UJY0ksXUVoFr449C68k6yIAYDnCO2XcUbumfPKaJ4XAIRYb4f1K0c44IkBrVqHVTBVpYIbD2afhvVS0U7kSvsheRzPuZAUCsI7trAZ77lkeEtX7K+iXfriOg2vx6TSRmzyoAwT8ab7aWVsh48p+2DrhgFHZLu5q1WTAIfETa0Kyy/Bnz+L4+Gssze5L5oZp4VrAYgoSAlFMckZuqlFpfR7VZV2EAtk4z+OgaVPJxP9meoYpiQYhGA== X-MS-TrafficTypeDiagnostic: MWHPR03MB3328: X-Microsoft-Exchange-Diagnostics: 1; MWHPR03MB3328; 31:imEgnwqK2V2WupeZjkDbzf0AOQPl8P5i/KMKtA2rD31N9d7OWeU8xOwS1ymNQsG331INEkDvFBntEeSPioCbs48+Qfkh/vcXtBa4AlU6xjTARy6A/dclYx90ZklMwGswrnKhCMMmABvIsyVx73bnruhRcKyipEJypnSUDRjrsv/6mg3KV3j+f7UlLHDXektirr9Xu68Hv3gUENUzMXekyiQVUefRP7Rdu6jHOh3UXm8=; 4:25Lf1vzVGMK/9OCfQiMfCDxgxY21c21ukkl1WhrfFomFpZZkNEh05hQk/+Q4i60NeOEg+C0RJNDKIrjSuZiDlaKKsSmd9fleNbkCe1xLdID7JwY5GJjZgt5voWinxbdmjB7y+BRqR1/IUwogUX7Paz5Qa2OMNv95mRRz3nBJw27Co3gkG4ZN+UG+tsrFdStaQ0UAQSLjUTCS6eRrtxpSOU7e88QmOmPSk5OekEebY7W74tW0OPQmiluQUBEEJbb2B22SjG3lbhPNnXPCQ07OVQpZdfd9LuNDGh+grg/TdrU= X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(13018025)(8121501046)(13016025)(5005006)(3002001)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(6055026)(6096035)(20161123556025)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(201703161259150)(20161123561025)(20161123563025)(20161123559100)(20161123565025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:MWHPR03MB3328; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:MWHPR03MB3328; X-Forefront-PRVS: 041032FF37 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR03MB3328; 23:0XgCiQqk2J/FbUgxqBTdvg0+cnJn6VZoukdUggr13?= p5svWSnj1XmuTd2akp63yUBgWFjd2b91jFxtb9D4nBAeCdFg7AN9Xi0Vyxr9csMio1zsKh4FWZMbwKF1NDOIQwhIl7ufjNLv0AClJhdTtkUIZegBV6+faNw4bWF4JMErwmJZ2GC0prI1RHkJYZWmVW/bA25LOSGpGuw23FzY5BTmZo4ud42JQF4cqmhfIBIXLAAuyoZ+FUYt3gX4gK46DpY4J09vGaEOgN6lToMn5n1J5yEK7GHjdV7fa1RoGy8wuT+en37dtGDdigy2GVfWmHrjsqQFRSFVbup22fp6DKSgmj+bC5qeQG43zuCn1De70RTHwCZ5d+G/dath3HzeazFgXjF/RauAJd1pPfjvgiNZubIN7VL3OWIb5P/9bgAkIvkDLrDaM52XPdwlFt4qeNE76MwP0xWbnswqt040V7k5UF9Emy//nWbQVOC2iSBXN8H5npo1vv2EbT3sfXyVZCHJzPKmsLsgGvBiRYFqnELYb1GjdCchmxCQVVWrOfUaVlZjno43nbxeGY+t/8lWIM60SPKZo86IFb9I57Vo174cinoQTmrUvYYLhNeyNYh4ZPN5p5tdzOvZRMcRV6a9Yh79mRMDIurpl7NuYxv88PD4yN/5QJhAzgyMPIJPENa9leo1aVvc7OYoHA7m2eeZ7LQ9nCsbPt2mmQe5BfYLofIinMe2TIw5fRyPJ8BTTS/kJbzszlNiWITRiFke76FVrPcuyuIpww+8CZlIKGqFRISv3wj5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G01euLcchRJVa4zi9ZfwpEB+9kLpSwFaqs/QVUjpn1txVUzEUsGhhEzHGAga3d4iYmtnLewl1Cze3ZrBe1/W0HnZ40l94XU4VaATXMkJyzgcnM+3A3WaFfaUQKDCdrEhEwt9q+LdL3giK5K9aGAcOvlBO40R4hW/BXsOM= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Aug 2017 10:50:34.9650 (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: MWHPR03MB3328 Subject: [dpdk-dev] [PATCH 18/27] bus/fslmc: enable link status interrupt 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/fslmc_vfio.c | 4 ++++ 1 file changed, 4 insertions(+) -- 2.7.4 diff --git a/drivers/bus/fslmc/fslmc_vfio.c b/drivers/bus/fslmc/fslmc_vfio.c index ab1df36..81f0779 100644 --- a/drivers/bus/fslmc/fslmc_vfio.c +++ b/drivers/bus/fslmc/fslmc_vfio.c @@ -464,6 +464,10 @@ fslmc_process_iodevices(struct rte_dpaa2_device *dev) } switch (dev->dev_type) { + case DPAA2_ETH: + rte_dpaa2_vfio_setup_intr(&dev->intr_handle, dev_fd, + device_info.num_irqs); + break; case DPAA2_CON: case DPAA2_IO: case DPAA2_CI: