From patchwork Sat Sep 16 10:52:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 112797 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp1616570qgf; Sat, 16 Sep 2017 03:56:38 -0700 (PDT) X-Google-Smtp-Source: AOwi7QC+hD+3+8RlbiyrrffsC6wcKpSRKst0A1FWrfFZ4AaaocPrrbulTOYNXf486Hdj/VaQbX9M X-Received: by 10.28.39.71 with SMTP id n68mr5317963wmn.114.1505559398148; Sat, 16 Sep 2017 03:56:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505559398; cv=none; d=google.com; s=arc-20160816; b=JySIX0dDGJao7M+b7Pq2D4pAC8ikB42awBtNatj7rXVl7jxxWSKloNQHsM8yyF8QHu C9clJhhT5TTkEKIrD21sIWHg/60Bpik4ZGj+LbE2malsG+GUHXE86SbvCVQ7PrCB2hCU OnRMjz+tZfFAjJMPY5a2fyqs+yd+fnMt40inUVgtzLZ1GodmPjJgWzjODfRsq9NyT2hU NvpfWafTU+dy9xwjzSHzA7UXZ+qVBuzAQUYH4ZzxHzvkcUnapQOm9fpO0uo5XslDNACD 5X++MRxOun1e7eWCcL24N62M/hlBf+tpy2WG6XrvSjlWcpplW6UiBZaGVlrs252AcEJr g7YA== 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=KOU07J9B8xXgOCzWsFiiSO06ZnwDgYxtskL1uGMxenY=; b=Kk9TaaEowsKAw6+Cvo9/oH2BoEmZtID3XaFEMolsQ/Ew9b1Bra38J6BkYLULCWEdKW bgWaECg1ljK4p/xTM52qPAYPj82Kd3sGsuVQli11V83M9dcXExDJWzZYFXaQkZfPnSwn JiqhjwUnpsYATFKnDqPkHdAOrZZGl6x17WzB6YljwljDaUkY8Rd30ZccYHXRvIa8EyAd 1tdYaJqMtGQPDLzO3yCXnuJkxDPSzC566y/XY/V7xviSCJKz2ymssOHoDPuE75jVvD6j A3utYWemcm3dyUqXbHK2OFeBS27y/tJrD6og9cyE9o21JSO6y/l9C8xx4r3WwIwpEZLF 2IHw== 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 a187si2552799wmc.185.2017.09.16.03.56.37; Sat, 16 Sep 2017 03:56:38 -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 [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A32561B216; Sat, 16 Sep 2017 12:53:46 +0200 (CEST) Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0087.outbound.protection.outlook.com [104.47.33.87]) by dpdk.org (Postfix) with ESMTP id 827851B1C7 for ; Sat, 16 Sep 2017 12:53:38 +0200 (CEST) Received: from BN3PR03CA0057.namprd03.prod.outlook.com (10.167.1.145) by CY4PR03MB2693.namprd03.prod.outlook.com (10.173.43.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.56.11; Sat, 16 Sep 2017 10:53:37 +0000 Received: from BN1AFFO11FD009.protection.gbl (2a01:111:f400:7c10::115) by BN3PR03CA0057.outlook.office365.com (2a01:111:e400:7a4d::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.13.10 via Frontend Transport; Sat, 16 Sep 2017 10:53:37 +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 BN1AFFO11FD009.mail.protection.outlook.com (10.58.52.69) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.13.11 via Frontend Transport; Sat, 16 Sep 2017 10:53:36 +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 v8GAr6v2028328; Sat, 16 Sep 2017 03:53:34 -0700 From: Hemant Agrawal To: CC: , Date: Sat, 16 Sep 2017 16:22:29 +0530 Message-ID: <1505559161-29222-16-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1505559161-29222-1-git-send-email-hemant.agrawal@nxp.com> References: <1504860327-18451-1-git-send-email-hemant.agrawal@nxp.com> <1505559161-29222-1-git-send-email-hemant.agrawal@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131500328169957101; (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)(376002)(346002)(39380400002)(39860400002)(2980300002)(1109001)(1110001)(339900001)(189002)(199003)(105606002)(86362001)(85426001)(36756003)(48376002)(305945005)(5003940100001)(16586007)(5660300001)(2906002)(97736004)(8676002)(498600001)(8656003)(47776003)(104016004)(68736007)(50466002)(316002)(356003)(33646002)(189998001)(54906002)(81166006)(110136004)(81156014)(6666003)(77096006)(50986999)(76176999)(50226002)(4326008)(8936002)(2351001)(6916009)(106466001)(2950100002)(53936002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR03MB2693; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD009; 1:54LhaTAPsX2OSiivHRwUk2OPjeTK1K3LHbEXyHAxwZiL8nsaV95b0Vm7PbzTVf5oRc7nvVYJ1v3LU9XmbTk2pjd8aGKw4EmirICFy2dWDRltSNkrrN1If4q+xXP+en1/ MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 62fab6df-db7e-468d-e6ed-08d4fcf12ee1 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(2017052603199)(201703131430075)(201703131517081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:CY4PR03MB2693; X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2693; 3:vSlSs6MLuqI0iUF2mk81UMjWo2S8Q3eCkTHGNCmVftryh+zTqueJc8mQxurYTL4SLt1+GUHA5XFE7KiVpdBqt6z54wLu6kh5jqaluSjOgk6cV3znCO5ke9Xu5afFefb49hCMWRoFh2FeJ25Ga7DTu8ofA26kA0BsDoHY11/GpFOtUtnAfjYJzOyzZ/Nkkdeai213KEi576huw+Ak0arR0bhZ9ai+4JNL89WUqxHXG+mpapespwk/DnnSzAk9LDb8IR87b5CULa92HSWdjEZf2zH+xkPETwwaD8869s2ZDqj2X8MP+oM8NsjQqSKveRRuNfSZYCyraGNCdkSrmqzpCf/Azid359a2tkFj6extiJQ=; 25:fvw5Mysx3rqUUokKdluZ4pgvEhRdiZX0H8tF0CF8LPS9Ya2YEH4pI9JyiBxejYYuTc4kTahBB0kD7gUIkPQ2hpzm2WkZKnVzV7VPPrUoSHYEjQ3h4hylloR5bWDSAMJDmEWFQ2K35AHDIgDh7i0sb31ViYDTXPbJ6QsU+0YOye0zJ2Q9UAdi674I17i2PaAi+qMXE5XQLARXxD6gsSi9VMmu/HwOSSfG7yMG0a0R7jobzA9AxliupEjpyrWTECME9ns8xgni/SygC8mPZ2DEvFUUg+wEwddX/luI8oLwtaOLgL/VJwKn99mG7wpTT7r4uPCFP/vcSAfCa/l0oyhzdA== X-MS-TrafficTypeDiagnostic: CY4PR03MB2693: X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2693; 31:tLRFSD/kNT8/2v11DYRyUEX8LvSL5lfzrUNkgsk1y+u0wJTKvPbRImrwwkA5NAWAr7q5mkwNnVZTm1S0Tv1rAmwnZaVz/Ob7kOD2wsIgCztCgW5i6ZeE9vKYefbAmTLYNhmJU+fFZLAzQcUBgG9N6HkIXWUI+87DNw9BMJ3SPFsXIfiOn+skPgMOiEagHqHpUtYv1vFnJOYIYTccTy301zoFxTfwt0dA0tOoPvJQlB4=; 4:3p4a0oUSiT5n5yqTB2TyYXoaTe9dfsAWZ9xgaDs44CqzsKBny4CABZqciCshUQFgLFMjE5TsSxK1aTFhA8lXROefNDm45MqZkFbpdaXBGi19xV9Y6I2I7oHfC6GPJnWtafbxspaC3TJRJrukB1erdCzG+nFsi4h18z49QYpZn0MXV/+chXUVvg7ONExEKBVyZooCPtXcRzImNi95JMciCgXwdEJSff3kmyyiJWF/VfTB+EDyscNnJQEVL+DA7tiDsSKFkOVWaamPIKF+uv+IDb1Gwyj1qukciVzhX2sGZuc= 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)(2401047)(5005006)(8121501046)(3002001)(93006095)(93001095)(100000703101)(100105400095)(10201501046)(6055026)(6096035)(201703131430075)(201703131448075)(201703131433075)(201703161259150)(201703151042153)(20161123556025)(20161123561025)(20161123563025)(20161123559100)(20161123565025)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY4PR03MB2693; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY4PR03MB2693; X-Forefront-PRVS: 0432A04947 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR03MB2693; 23:iIbO9OqYy1Ghlakm/aiVRqZA5dDcVglOlueSYiSvq?= hJBxyhhMUv+o0V5yIiTPLUBLUl5HGoWuLZq5buyQjaW2mpOU3oJD4txeM2r7xLWl8pTSIFjdL92UOqrEECQEUIz04mBezVA+hoTFSoyuqGRLvZszezm0dnT6W5NQ0/gz6NfMmPzLV3k8sFABpybwYGcECVrag2SQqsHHKxl3eREdSBUDs5wC1BgcfyVdRX+jLJcZW0dmWJ6KY5sUCJJ5XN2mQ/2PPrXiQVoKo9J4Fmy3gxd9iAt3WJoyan58xetp2TWk2M1LzFpgk2fLeIFwQ0eT2llcjlY5ht3jlS/owjPXUPmjDQpkq5xNthZOAxOytq2h5aTpykKTEF3XrMCBUdyjGwYVX8M4Mgm4URb/H90QmuZQfPdutyhZaSjTkW6AUKetRKjH6RG/xnM4p1cD9bMC6Hf1XH5NcVMQRCKMJuqnsz1xazHp3F4iyQ5+sShOmoc2PxAFKKeYqQ07QKFX71jBk3XEYFmUpRLdgXn0s03RDgw0NYKS6Pqrr7MY7rywftI+MlRmujB3nKJ8DYI+8a5aKKB4eSBKBnaWoLlsctFgaf3vapsRbj0cVMIJGNYL1PvoA0XJ2CfKHLJB829owmNtqM8HCL75HvzeLvfM9Z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kUV6kS1maqccPCoOUlE=; 24:KIDjS07jg2dRXiBlztT/pdSycgXM6hnzdKfU/0be0KfYuBQym/OBf/YAOzMSpoqYQ4uw6uJIr0WseAovNKsxr5/4AWtdmJjXIfiDMNSi9L8=; 7:R8lw8E8SKGrBZwN0YWWzh6LJf98rAxa80kYYMg4sSh32mTPX4Q+a6Tj7n3MgGN3SEQWCiCWCbfwgz6oR9YGWq1vDLDHW4glst6bWjcV+WyVqzS3tf+QZpTfgsXf9ruqqee5PTwcXlbvbZBptODx/svIYE4IhD51/1LKcysLK37isq4AAxbQJm1tYz6GbYKZ3Hei/FnTTlvmVWj18gxMoDvQj+1v1oHN7ZE1qmweigqs= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Sep 2017 10:53:36.8241 (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: CY4PR03MB2693 Subject: [dpdk-dev] [PATCH v3 15/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 b2413c2..de08e1f 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: