From patchwork Fri Jan 11 12:24:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shreyansh Jain X-Patchwork-Id: 155345 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp517243jaa; Fri, 11 Jan 2019 04:26:24 -0800 (PST) X-Google-Smtp-Source: ALg8bN6IA6SMVsvgBnW++48lxZ7KxIsvTpwTO6gEpwgzQVd7NWllDW+2XV1Cd/0C/D2VQ85j5OfV X-Received: by 2002:adf:e6ce:: with SMTP id y14mr13868406wrm.239.1547209584251; Fri, 11 Jan 2019 04:26:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547209584; cv=none; d=google.com; s=arc-20160816; b=httdS84XYlE1Y1iDhnqokk6RV8+Y3kVc1YfcBIauTzV3fW1EHphFiePXeYDkdsy3G9 UoYc4h5b8HC+ruiq9SCE+qzltepBPGSHHXCP6bXLlHZtH57j8xL9DeawksRAYF04G6s8 w131brWMC92iFNksON6B4kbinyczivDMbvn7C7Xp/qbkdLa9LQQ33uQHniGF+PTxphpJ 38cb2DM6NhLZvfkSiskRAmAePsPM+WM239tE6SLARZleiIkyOtFe/VUBhmw0GSLi7Iz+ i49I1myGVIKpj+qe208r73D9lCatm5Pz3lsefbARaiRd8J2vXIdWKSaakxExF3upmvdW xm7w== 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=VVS+Y1ERVQv3Y4ed5/3u6TKEbZtaQ4SNDJAgmfbSdGy9AKL/4b4Fnd/At8cL5I0ELY txoOSf79y+ddOP5Ae99p02WMbdHjYNAxwHmCO4IbSQLp1ZrdTtsYL+ge0NKgWJF6ToO/ M6N0ZWSe1cyTDZTRVIe6EG5af7fAcWyT6W1Y/gNU50tOZeBL/78zKSbd4uW/EnsQOIOy TB4Pq2uLSJUMwBDOdIEOhaHO5QpkCZ/H8qAPEC5muZgfaFGvAdL88aiSA6620UEEyfUd sHXZAZREvlobHyTvnhL97wrTZuS1XMQQHlbYVuiMOlUen7TdbAWn0q0NjC0+NeCVUCya 1Yxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b=p97nqJto; 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 s11si13111573wms.3.2019.01.11.04.26.24; Fri, 11 Jan 2019 04:26:24 -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=p97nqJto; 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 8FAA21BC02; Fri, 11 Jan 2019 13:24:48 +0100 (CET) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-eopbgr130052.outbound.protection.outlook.com [40.107.13.52]) by dpdk.org (Postfix) with ESMTP id DED601BB7F for ; Fri, 11 Jan 2019 13:24:46 +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=p97nqJto/QcXzaHsCs133B8GA4drdrI8IA3caEqM5G2GuFmK5B2XE9ZQpLLhByFivEm73YyqBNQsoIbzOmItIK3g/AGKpN7hZathSyTwglxeGqdyuhDTSUJk9hdrIhYMxy5H48YToSbA8AUoevBc/0n4em1X3AFBHLtgh4KKzps= Received: from VI1PR04MB4688.eurprd04.prod.outlook.com (20.177.56.80) by VI1PR04MB5455.eurprd04.prod.outlook.com (20.178.121.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1516.14; Fri, 11 Jan 2019 12:24:45 +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 12:24:45 +0000 From: Shreyansh Jain To: "dev@dpdk.org" CC: "ferruh.yigit@intel.com" , Hemant Agrawal Thread-Topic: [PATCH v3 12/19] bus/fslmc: make portal func static Thread-Index: AQHUqaij+FKBK5ifHU+OY28B1aHdwQ== Date: Fri, 11 Jan 2019 12:24:45 +0000 Message-ID: <20190111122305.7133-13-shreyansh.jain@nxp.com> References: <20190111115712.6482-1-shreyansh.jain@nxp.com> <20190111122305.7133-1-shreyansh.jain@nxp.com> In-Reply-To: <20190111122305.7133-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: TY2PR01CA0017.jpnprd01.prod.outlook.com (2603:1096:404:a::29) 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; VI1PR04MB5455; 6:yDeXl1hfzvKLAS2CZdv8hEx+z97RyFtmv9WB1AVyVsh/1PQmJL2qdqEVC3AQStuHTExlxjZria2XNRM7G17kb2c2jzZJ5k4e0TLYDYJzNuseDqrTtR6DaF2iefa3P9bVnAuIWOr3L3CX0W7r9L8yfcpl3Ntc2Suqx+9p+JmnDGhjmTEt46gqstF4ZuUU/+3M+74RALGYkyosBt8T+tMoZdfSaTcDLKzZ/0aFNXMLCqm+37TsDGt1og5d+SYTMfNxW5gOZZG17tfM1e+IazMwHjftkCi6a6NXlRiwUvxTRwHkCnad/V58slDCHk1piPyKdW/intRn8A/FHXoCwxT6nVZly+juFxE/DQhxtFKg7x2eutKM27SOqgkm1wx/bdcuS/oseVbBMw2aRoGBOQ5UfTcC/klXT7HaVV9DtHF1DfCpsGW8D54IJVAZ3eHjrg9Us1YyDkGcbyxSQu9VFE5gVw==; 5:JXndDts0CbEeLqA3SHWufNESCaulSqNbI7+ICWFAR4/kaimIyXUXh4pWeP/CgEp9bea+HWp2x7TRmBZqCAwbdXbKqYd3o/P2AltSsjsBj695B0qIr0GzKE/TGJlKU4DRmPHDMkbtym6SmJqIs+jzRhzRjKrCBWysahYxN4baAp6coOgZetnhIVkWs9YRp57UWvIfSvvSrmskNo8wt9PHVQ==; 7:d6b9KHfDtPDgtsu+mlF4YV5GwtqZxCGH9heXKwQujl2vA/5sxcfq5COdW8zKXOcsbln6ZleNTiJlYqs/HQQjGrKuJB2IPqtIZ0o+z2OAa9hara5AW1pjJ0n3HC/3h5CrKJToSCOH343TGXHFZ8E/9A== x-ms-office365-filtering-correlation-id: 1346133a-95cd-4611-bc61-08d677bfc537 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:VI1PR04MB5455; x-ms-traffictypediagnostic: VI1PR04MB5455: x-microsoft-antispam-prvs: x-forefront-prvs: 09144DB0F7 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(366004)(376002)(39860400002)(396003)(346002)(189003)(199004)(66066001)(186003)(86362001)(71200400001)(2351001)(71190400001)(55236004)(386003)(36756003)(6506007)(26005)(99286004)(105586002)(6116002)(106356001)(102836004)(2906002)(54906003)(5660300001)(3846002)(256004)(8936002)(97736004)(78486014)(50226002)(2501003)(6486002)(305945005)(6436002)(14454004)(7736002)(8676002)(316002)(1730700003)(81166006)(81156014)(5640700003)(4326008)(2616005)(446003)(6916009)(478600001)(1076003)(52116002)(6512007)(44832011)(486006)(76176011)(53936002)(11346002)(68736007)(476003)(25786009); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB5455; H:VI1PR04MB4688.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: yrkLCqR2WeruNEHcrWw3OFDr7Mw72Q+2UQJDp7/iNi2feoixRQccG3Kz1QuW6PcRbBtCSZzmG3Q+dpmRJEnzOu6D/r+ZAy+lh806vNYDeQ6alRKzru5olKHd1FoPm2Zai+4ffirC4KmVpdphfnUgFhd01CzuNrnIEAMXzUbDNiLxKkktBrAAqyOxCEeOf11efh8nTtUqj7iRjG1ObRBXGqEN0Kf42raCLVrwHebkgrP7FJdFyDuG/8EDh5L2J4hYJVHas7VCy51wp3FHqkwrf8LlrIl13zCF/pjzWFU1X0+9fq2kW3p84cDVi42eTgk8xWourcW2uaG28CjK34hrAEZE6An0EMxLBeqe4GtK65ubVn71mfN3wUBcRFCZIMN7SLBQMOROFWPmNnNTSZYlvDM7k3dQ8wbV9vJene37Ou0= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1346133a-95cd-4611-bc61-08d677bfc537 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Jan 2019 12:24:42.7180 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5455 Subject: [dpdk-dev] [PATCH v3 12/19] 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);