From patchwork Thu Dec 27 06:23:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 154557 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp6605473ljp; Wed, 26 Dec 2018 22:25:08 -0800 (PST) X-Google-Smtp-Source: ALg8bN4XhQo9E4zXz6pj6d+sxFFPZ3wUa8gNwRYeZIT5c2ee6Px1f3Wo4Xy8KAiM+7JuxNFU/JLF X-Received: by 2002:a1c:8095:: with SMTP id b143mr19678661wmd.63.1545891908196; Wed, 26 Dec 2018 22:25:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545891908; cv=none; d=google.com; s=arc-20160816; b=gHCE8cquSeyKEOJv74OneNcn4pDJrxT5So4XTAPRCZuvpiQ15G2/tp1SPw3AH8Tz6P fKgh7987VkygJeU7s6le4gR22rG1rhPtNdJb5xc28ofaQXgsgNcQRc4WOgCc9ogS65Wu uxbPxH23Lj7QU4/fbwAWebbHEOg97uIqQ9x5aPz54hw7LSrxQiZoDUoV5KYp9Y55Ik/u LtyvD0/L2A5Tb14QEp2K5wSDLkRpcdt7dTartisxPS9ZfZBjr9bEvLUBfwDQwy6HmLnD lx89Cx6pRpJmsVHySKawJx+FowJv8aDmdJeYRoMPjG7K+OWpr/8T87ASLCDWafk5tpcr ZcuQ== 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:mime-version :content-transfer-encoding:spamdiagnosticmetadata :spamdiagnosticoutput:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:cc:to:from :dkim-signature; bh=qIpIdTbBy9kpF7gRxPLaL3KP79vSjeOnA+1mEQ3eNUE=; b=KhmSBJUW2VL6TmSaKr9AMFSEDzFq4cBCWVEB1QWC5xVR9y0WvYECb00GbreV5a2oO1 P/IBFZHMG6+qa8Yj2os8mPHw/VDKgr/KnH++J9ZaHfaHIhL8ECca8CC/wDMUfaEl8Owm 0tr7fLUQsNfyxoZTs5xGmAIe6kj1n8IkKg80Lz4Q+Ar/UWZmWKq5/5qaGpkDpg/HmblB M9l4AFOd5Pz/7JHQXgioY7ffvAR4S9g74XUgrmQvdrJQxnLGWnAVZXA5GbtnOCvrw9B/ XokY8diIhjUV0d8WXhdAKD3PsIz8zPSC10hN5rCypAXQ923vSELVAoaRBaJBkVtYPv/T 20iQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b=ZMcLLs4k; 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 d5si18368983wro.232.2018.12.26.22.25.08; Wed, 26 Dec 2018 22:25:08 -0800 (PST) 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; dkim=fail header.i=@nxp.com header.s=selector1 header.b=ZMcLLs4k; 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 0DF5F5F14; Thu, 27 Dec 2018 07:23:22 +0100 (CET) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140044.outbound.protection.outlook.com [40.107.14.44]) by dpdk.org (Postfix) with ESMTP id C55D358CB for ; Thu, 27 Dec 2018 07:23:10 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qIpIdTbBy9kpF7gRxPLaL3KP79vSjeOnA+1mEQ3eNUE=; b=ZMcLLs4kYEUqo5SJjqs3Nan5dLP900aoOm3cAcwSVnvXukPzUqJJM7e12mvhDoAuivVX98fKofKcL8g8i41GB0SxXqrZ8zZ0yn7Of9cT3jAjGg9sXpojyFmF/HAgt3I8s4M+mWMJ6WskTt6Vox/oaYcal8r0x+N5fx9bkXRnZU8= Received: from VI1PR0401MB2541.eurprd04.prod.outlook.com (10.168.65.19) by VI1PR0401MB2382.eurprd04.prod.outlook.com (10.169.134.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1471.20; Thu, 27 Dec 2018 06:23:09 +0000 Received: from VI1PR0401MB2541.eurprd04.prod.outlook.com ([fe80::555e:164:f8f0:dbb4]) by VI1PR0401MB2541.eurprd04.prod.outlook.com ([fe80::555e:164:f8f0:dbb4%2]) with mapi id 15.20.1471.019; Thu, 27 Dec 2018 06:23:09 +0000 From: Hemant Agrawal To: "dev@dpdk.org" CC: "ferruh.yigit@intel.com" , Shreyansh Jain Thread-Topic: [PATCH 12/20] bus/fslmc: make portal func static Thread-Index: AQHUnayjTzhV+pa3ikeTd8quRQxjww== Date: Thu, 27 Dec 2018 06:23:09 +0000 Message-ID: <20181227062233.30781-13-hemant.agrawal@nxp.com> References: <20181227062233.30781-1-hemant.agrawal@nxp.com> In-Reply-To: <20181227062233.30781-1-hemant.agrawal@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [14.143.30.134] x-mailer: git-send-email 2.17.1 x-clientproxiedby: BM1PR01CA0120.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:40::14) To VI1PR0401MB2541.eurprd04.prod.outlook.com (2603:10a6:800:56::19) authentication-results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR0401MB2382; 6:VgofEWTBl+Le4Pb3nhiMZWQ33WjHtkD8tJt4cXldCKcHxgC4DzWtwuVzU58q03yAI+nUctiKyUaDuDsVwmiRSQYoTXngS8CgJ44cx0EZETCgW13eFXwdG+GtGWLqFpQa1G72IuZ9AgDjyVENHAWu5+DGeMzyOeaqkHhUdQxjJ9wapQTONsm/3ERxxuZncaV5aPpY/qtT4fnOPapEmC4BdkNOYiKeARC8q3lKbL8MQvNbQVuNCq9CfTdtt1tClnTmr+Ve8Q2StBzm7mq3rdh7QIXNuEN1U0pvEAessloxyvp30RcFi4dkSm/6GMZ8di9yeuzjcOUtNi0HgpJIQ6dBHj4zrcNny/9HgacRwCJmKHtHWk+DaeBz56ywqGUwWLJJhUPJPgGoiAnnjYnTr9CdvhZjbkPHg2EO3VRYAWt9ZUoHdRALqUvfnQ4u3b8uovAMSWHANejMSsu3QzeFz4Cqzg==; 5:eCTqDiAf5qDWAI4e1W9L2a/3Fdly2TPEscx3PPhJLZrIwPeG+MgfzacsdhmFWqEHtWBEOlJ0sT3awS3o/9P3wn12vEbgem3uwP0TvVOCzC1kvI2SNA5V9tbtCvLhmhJRAV1tY4Sja5t6CEUyGYKuk0g0MFp6UFO8d6wPxTvzkmw=; 7:QCvNDWphNrhYx+YL1g24PCVN90JSJHw7Reh9KO9cahyumPu0vBPZildRO9WZDNGG8zoNHBZCp/8LbKz8Y/RN4771pVazewxTAAfczzdZdyJQo9MIBKHHlMMSiZC9JY1/Z4zyYQV9TBTPn/j9tiVsvQ== x-ms-office365-filtering-correlation-id: fa46ac09-a7cc-4667-eb9a-08d66bc3c557 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR0401MB2382; x-ms-traffictypediagnostic: VI1PR0401MB2382: x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(3230021)(908002)(999002)(5005026)(6040522)(2401047)(8121501046)(10201501046)(3002001)(93006095)(93001095)(3231475)(944501520)(52105112)(6055026)(6041310)(20161123560045)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(201708071742011)(7699051)(76991095); SRVR:VI1PR0401MB2382; BCL:0; PCL:0; RULEID:; SRVR:VI1PR0401MB2382; x-forefront-prvs: 0899B47777 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(396003)(366004)(376002)(39860400002)(346002)(199004)(189003)(5660300001)(1076003)(26005)(76176011)(186003)(71200400001)(256004)(25786009)(105586002)(4326008)(6436002)(305945005)(11346002)(106356001)(446003)(44832011)(476003)(7736002)(55236004)(102836004)(78486014)(486006)(386003)(68736007)(52116002)(86362001)(6506007)(2616005)(71190400001)(66066001)(316002)(54906003)(6116002)(3846002)(2906002)(14454004)(36756003)(99286004)(50226002)(8936002)(1730700003)(81156014)(81166006)(8676002)(6512007)(53936002)(478600001)(97736004)(6486002)(6916009)(5640700003)(2351001)(2501003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0401MB2382; H:VI1PR0401MB2541.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: ePwxCbFr8wSAbPg1IZGARsOSktxtrpBM0he4QbkvP3akssj86D5EmfR9fWGxf78YfSE+U9TI37c1Y9uEEfIkXn6pefJK+j7SCj9egFfrA2AR1hoJx4svtFvI5J+vuPw6yjt5vXBnblAlqARGCuY1nUObf6RKddrHwoKHwf2YJKnkW/DU3MiPvPmfllxOutz2elPKKENMY+3c91J66NmwDBcwteEA1zLyY6zBfdaDRM4O+6a7r/aBd7T+dVEb8Mgpm9gp8IACXv9Z5h3JPRSBTyegzxaBDEyD97bWcuQdMD8GRkxCK2mzXzmxnLW57QX4 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: fa46ac09-a7cc-4667-eb9a-08d66bc3c557 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Dec 2018 06:23:09.8015 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0401MB2382 Subject: [dpdk-dev] [PATCH 12/20] bus/fslmc: make portal func static 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" It was not required to be a function. Signed-off-by: Hemant Agrawal --- drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 2 +- drivers/bus/fslmc/portal/dpaa2_hw_dpio.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) -- 2.17.1 diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_dpio.c b/drivers/bus/fslmc/portal/dpaa2_hw_dpio.c index 37723a094..cd28441f3 100644 --- a/drivers/bus/fslmc/portal/dpaa2_hw_dpio.c +++ b/drivers/bus/fslmc/portal/dpaa2_hw_dpio.c @@ -229,7 +229,7 @@ dpaa2_configure_stashing(struct dpaa2_dpio_dev *dpio_dev, int lcoreid) return 0; } -struct dpaa2_dpio_dev *dpaa2_get_qbman_swp(int lcoreid) +static struct dpaa2_dpio_dev *dpaa2_get_qbman_swp(int lcoreid) { struct dpaa2_dpio_dev *dpio_dev = NULL; int ret; diff --git a/drivers/bus/fslmc/portal/dpaa2_hw_dpio.h b/drivers/bus/fslmc/portal/dpaa2_hw_dpio.h index 462501a2e..4354c76de 100644 --- a/drivers/bus/fslmc/portal/dpaa2_hw_dpio.h +++ b/drivers/bus/fslmc/portal/dpaa2_hw_dpio.h @@ -37,8 +37,6 @@ extern uint8_t dpaa2_eqcr_size; extern struct dpaa2_io_portal_t dpaa2_io_portal[RTE_MAX_LCORE]; -struct dpaa2_dpio_dev *dpaa2_get_qbman_swp(int cpu_id); - /* Affine a DPIO portal to current processing thread */ int dpaa2_affine_qbman_swp(void);