From patchwork Fri Jan 11 11:58:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shreyansh Jain X-Patchwork-Id: 155336 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp489560jaa; Fri, 11 Jan 2019 04:00:13 -0800 (PST) X-Google-Smtp-Source: ALg8bN7bPKCOyVi/UEWIaGHrEeUBvW6PgIml2J6khcN6czE94xr9DnSKUubcpcAO9fgb46gjy330 X-Received: by 2002:adf:dcd0:: with SMTP id x16mr13052125wrm.143.1547208013414; Fri, 11 Jan 2019 04:00:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547208013; cv=none; d=google.com; s=arc-20160816; b=LQ2Z5Fy+S58NUlv8ibZXqDDIL+C+J4ueoiMELNAfq+0y2CtfmOIU/3a9nmC0eSvGm6 tHSMYR2jE01EQyQQ1LEJAGFmOQoCDBzzg5guyCdE6HL6qDb7PIOKdVp7AwjK2A+VFnRk AeffIt0zfgCo98X0JGREjhVMf5MsyYrAoGvvYezJbH7CwdG3D4uH8rU/IXKrcB8LE6bY baSKJ19pvg9Y+H+hzAWoI5ic39zhm7X43bTEV7BeFY1kOF8cOKVwIqNE0OZxm6mBNeq7 ehZG0at97S1dnMFoFyLBKcGbQOh/p93m0ubZRraoet3jT/nuL0iTZ7i3v/ZXB9cBEEoR iUMQ== 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=N4OuccJ2j/+6+tJ7AZpUh3xZeZodIaD02vL49MCevmg=; b=t8PBJui4+WdGPSremU9ZublqWgjRUg4HN9viud12FbJI9bEO+Nqg/ebTjsqCM532iL TH5NpWH9L+Pz57+J1r5zaMqgJsISSe6ILJ6dDe8q6SddGF+dbJIOugxeoU2d4auNId/c R5PWGdx3nmJ3EkgGPBthwpPc5IqUODd5vORdOl+zkG3mbTiF063+8PvSk1IonJV+6CNq Ze3jmVckY9UriitRmxgKiLQgMNkATSxF5013OfoUD+3+6pc0np/CiF9Sz1ZhfU0EiI08 Ig9H7pc6+KX6WCU7NvhlMhVpZi5SkmBTMLAO56DsdanYYMYcGe829a48QUly20S+MBIw eakw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b=gLXEi+pL; 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 o206si13558492wma.119.2019.01.11.04.00.12; Fri, 11 Jan 2019 04:00:13 -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=gLXEi+pL; 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 DBD331BAA7; Fri, 11 Jan 2019 12:58:33 +0100 (CET) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00085.outbound.protection.outlook.com [40.107.0.85]) by dpdk.org (Postfix) with ESMTP id 07ED41BAFD for ; Fri, 11 Jan 2019 12:58:32 +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=N4OuccJ2j/+6+tJ7AZpUh3xZeZodIaD02vL49MCevmg=; b=gLXEi+pLksI3acIjz8VLv2tz9ADzAjjHB99PW/VYpty8GCRd6ASHUdwhLPwz0dTxV4vMsYMU45llTiV5f9ilKkggeGAi5L/U3y4p6grmW6wvh0iSTWlBkB7Hsu9Ylufdz/r5yl2jwLLTZk/JEo1fy3maZ72kcBjHJpKGD1lebJI= Received: from VI1PR04MB4688.eurprd04.prod.outlook.com (20.177.56.80) by VI1PR04MB6173.eurprd04.prod.outlook.com (20.179.27.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1495.11; Fri, 11 Jan 2019 11:58:30 +0000 Received: from VI1PR04MB4688.eurprd04.prod.outlook.com ([fe80::b1eb:7e7e:7b90:7b4]) by VI1PR04MB4688.eurprd04.prod.outlook.com ([fe80::b1eb:7e7e:7b90:7b4%4]) with mapi id 15.20.1516.016; Fri, 11 Jan 2019 11:58:30 +0000 From: Shreyansh Jain To: "dev@dpdk.org" CC: "ferruh.yigit@intel.com" , Hemant Agrawal Thread-Topic: [PATCH v2 12/20] bus/fslmc: make portal func static Thread-Index: AQHUqaT4eZfthleLwki1LCEczeKzJA== Date: Fri, 11 Jan 2019 11:58:30 +0000 Message-ID: <20190111115712.6482-13-shreyansh.jain@nxp.com> References: <20181227062233.30781-1-hemant.agrawal@nxp.com> <20190111115712.6482-1-shreyansh.jain@nxp.com> In-Reply-To: <20190111115712.6482-1-shreyansh.jain@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [14.143.254.130] x-mailer: git-send-email 2.17.1 x-clientproxiedby: TY2PR01CA0030.jpnprd01.prod.outlook.com (2603:1096:404:ce::18) To VI1PR04MB4688.eurprd04.prod.outlook.com (2603:10a6:803:71::16) authentication-results: spf=none (sender IP is ) smtp.mailfrom=shreyansh.jain@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR04MB6173; 6:caNt4eWlRRdEvvSGVovfzfhPytBmNdBceT5v+DaY3eQalBbVWB0spzllplxXPEsh5cquT5+eKWQkaioKn9gWLyn1ChYD7Qzo8XxXL6h5zhzcsR9Tx58kXoL1W4udUtH5egbF8rmEp1c9FQAtHvSxnO41SMbaTJm4tCklN8r6NObl3zmfAKg0qsYYJF6qw8aj1OSjmkCeu3cFLsNQczzio8EmVp12AmGIqQn8Y9e8ikZnEf8kyEbnJ96N9OKjKcR+6zSDhLUIdkalY9QbHgmDSVJbCXX4gQoOVs+WxVgCkMsbJq9sGWKBAAOHSq+evI04F1JngCAs5k4HGyIqrfgCszWAHEiUtsz6KBAV2cnl83Pdxk9AXL2jPms1IcVR7T30gIjhRxBQIS7bgw1t7FsZHUM4jqR3fj+BjjCl83fZ06hwIDoh9rI3CgxR8rhh0tQa6DOMmH2J9T6IzqJfbpF1Pg==; 5:8wRFb+FtYjQc/Jo/QCpS9/6CgvpU3ZZGC0Taq2pxJv13pMwpoBQzsrBgVx5O1YBSOW8c2N+fwGQZs8rN5+DTFWHOlNFjjNuqFh9X/BqvZEIKnBUEApEnxLc/ePy+91xPR8hLoZNF5r9mDX1ClB6p0scF5XjRO3VKpTaT1cmHvgWjNlLRtCwN+CU5ciEITBl95W6y6pV8l2giE4ROo8f1UA==; 7:ao0Jxqg9dml9rJFJuY9dI8yJ0rLMP3R8PnoJt+GBuQDz1/WuQVI3ebnyhXBCEiIaBtvl+0tA+HPcK3e0Z9LsJm3fDF2GMefi7CHwdgiCRkLHli3UxvT8KRulnVajHP5MZ9uajwCD43snUHWtXrbIeg== x-ms-office365-filtering-correlation-id: 91645286-56bc-43c9-b49d-08d677bc1a80 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB6173; x-ms-traffictypediagnostic: VI1PR04MB6173: x-microsoft-antispam-prvs: x-forefront-prvs: 09144DB0F7 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(346002)(366004)(136003)(39860400002)(396003)(199004)(189003)(6512007)(25786009)(1076003)(26005)(68736007)(3846002)(66066001)(6116002)(11346002)(6916009)(6486002)(486006)(54906003)(5660300001)(6436002)(2906002)(53936002)(36756003)(44832011)(316002)(14454004)(256004)(106356001)(446003)(105586002)(97736004)(102836004)(476003)(2351001)(2616005)(6506007)(50226002)(386003)(99286004)(86362001)(478600001)(52116002)(76176011)(55236004)(71200400001)(71190400001)(78486014)(81166006)(186003)(2501003)(8676002)(1730700003)(8936002)(4326008)(5640700003)(81156014)(7736002)(305945005); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB6173; H:VI1PR04MB4688.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: FkvIqDDQ2/mkfeSnmFYZXfxI9mMlHeYTHdj8Y3FKfN1UkRXEYPNDPbDVsaVri9hDoIUOFXy0EmX7G2bz41RkzDQGqo5o0HVMhbQT5abT1rGQkSu7mquBXsD8hKASYITKgDBnnP1iBsYCxFB6d+y2rCjpocy75JekrRkexcq0hDCCqYQ0GpMkmS8apOroD4URpWdcf50vWf3D87WZaKT7SwJEoLrcVbx1LYJkPKOHmxA5npD54CHsTVpFYFOvJymrZri7r9mupjr4Jv0CnYe4+6rEBhUnvT1AgMr5qCqPp2X2eQiFdBoS6VeVoBMGNgT2KVFroVAQ+ONNk1DVU/fsEqYevI1IWAtH3qJVn9UJo5wAZ67bK51NDi9u05L2Z0cmV3rvqq2fnpOov0Ll+FDZYUIGwxZKuXClGXYHzgtAYSM= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 91645286-56bc-43c9-b49d-08d677bc1a80 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Jan 2019 11:58:27.8677 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6173 Subject: [dpdk-dev] [PATCH v2 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" From: Hemant Agrawal Change QBMAN portal function to static as it is not exposed outside this file context. 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);