Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751787AbdFFPCb (ORCPT ); Tue, 6 Jun 2017 11:02:31 -0400 Received: from mail-sn1nam01on0046.outbound.protection.outlook.com ([104.47.32.46]:3552 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751512AbdFFPA6 (ORCPT ); Tue, 6 Jun 2017 11:00:58 -0400 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; From: Ioana Radulescu To: CC: , , , , , , , , Subject: [PATCH 14/18] staging: fsl-dpaa2/eth: Only store bpid in priv struct Date: Tue, 6 Jun 2017 10:00:37 -0500 Message-ID: <20170606150041.10955-15-ruxandra.radulescu@nxp.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170606150041.10955-1-ruxandra.radulescu@nxp.com> References: <20170606150041.10955-1-ruxandra.radulescu@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131412348451462538;(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)(39410400002)(39400400002)(39380400002)(39850400002)(39860400002)(39840400002)(39450400003)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(9170700003)(81166006)(110136004)(85426001)(77096006)(8656002)(54906002)(53936002)(8676002)(39060400002)(86362001)(305945005)(2906002)(356003)(7416002)(5003940100001)(1076002)(38730400002)(4326008)(575784001)(47776003)(5660300001)(36756003)(106466001)(105606002)(189998001)(48376002)(498600001)(33646002)(8936002)(50466002)(76176999)(50986999)(2351001)(104016004)(6666003)(2950100002)(6916009)(50226002);DIR:OUT;SFP:1101;SCL:1;SRVR:BY2PR03MB175;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;MLV:ovrnspm;A:1;MX:1;PTR:InfoDomainNonexistent;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BN1AFFO11FD035;1:fLb83YLC0nr416Ydw/CJgkQBFUnOZboY+jCZCC4xFS1HDBYe/lbTcubEdF5jM+1gFxsBdd57/TwfBRg1YpgMfkJokwEhr/RlI4v09iJeZdJ8ZxgobFFAwpTd9srU/y/aoWxU57lP67LHjDLr/L5q7Y3l0KuEnYwVTliCw5BP+Q71FmNRNJzJ6ISq1Hcy7pw+lkVF7JyHzcdntkLiS/PPymqMosdjSk16YTYvz+Up0pltRDk0/OkaFCRE8B3K3ft1nUHBSR6N7tKqp6yFAuK6GjmSxPaOUXBWb6wdxN06+CvERbTP/eWB+kPkoSW7K7p3Lpk1V0isQLbdH1YmbBM/BlkzF8o6Kd2KX2jGnEME6A6H7rDXkZwffOq7EkHLQjtIMRVfaJi/hpFUdXdE6qs2PgxVT4FNGZ3bx3iFKkdsDoAIv494OYacGcofCYWQ5KOPtfgZAM7d8KAS94Hygjik9NDfijpwWb7Fqn/p5aiQP5RxtqUxzEhTPBmQEtBlsUEsfGIIUO7hvEMUztjFTX4h/oWtnYpsIo99qZHUM+sziA0FdtHOXOFRtLjM9nA/W663Jl6y+u62jb3oVgxNI7VjIvdlDeJt/4HB4GElLs3UJxMa5/CjspwG4Sxrd3O8zP96IBM6oPTl4UjC+1gh6ogrJVoufhwmkqEiFyq+/YxXTxvx+Q04dMPgXHJ4lHnIp5Z7 MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BY2PR03MB175: X-MS-Office365-Filtering-Correlation-Id: d64b8451-7e01-4abe-3c29-08d4aceccf01 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131430075)(201703131517081);SRVR:BY2PR03MB175; X-Microsoft-Exchange-Diagnostics: 1;BY2PR03MB175;3:6F56PWta5n4ScZP9TEp8xpp4pbHVnLhOv1OEzbI3cOgCZGi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fmbFJ6h7jHFFvt5JaFTcTtH9gvzDKjpgpg4oYC64TCe4om/NCOXlLmmBvPyM/rzkouIkJKEvike09jiC4ILqmlO85hEHQhfZqVb9s7XN//wxLhe/m1umULk5cPAphQN45hj097kuGiY24rEq0+wxc9OaFG6xe+aMMQQ= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(601004)(2401047)(13018025)(8121501046)(5005006)(13016025)(100000703101)(100105400095)(3002001)(10201501046)(93006095)(93001095)(6055026)(6096035)(20161123559100)(20161123565025)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(201703161259150)(20161123561025)(20161123563025)(20161123556025)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:BY2PR03MB175;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BY2PR03MB175; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BY2PR03MB175;4:pPRb/R3P0IlN6pqeznyaKmAJ7sNFMlYvAnMsI1omemB?= =?us-ascii?Q?AcmOXfayeLkyRIQF1ct/vbOFTMdshQrFXEkCU9Ux0k8ppu4NAdu0cDp6n6Wh?= =?us-ascii?Q?1T8OfccZf0ZZbqqOLAemMWnOu4TSjcJcxGT/Xm+P6NzwFzMc1SHJn3M+TAuD?= =?us-ascii?Q?kvTS36qGQhSWUNSL1ns5I+WhmzdZODFN7srYj/llE5RcMvrR9HclO99PVXU6?= =?us-ascii?Q?Z+dXPbMNXqC6DPdnzTuJCnkJ0JfJjRtRLvAbv2WpzFxvPHpseaNANdxzL2vP?= =?us-ascii?Q?eWKN4tRsN21Ig3ODG8ISKWdFXcTO+I6khbcq9px0d+BhA3yJGUGWWkgs0Hyl?= =?us-ascii?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uOYvFuso8bd1BZOStCpZQ4pPkI1zZMsFRApzYOGiHHL3Cwqqqhgq6fBtI6rsOq7EAlgoi+vmeCRUS9kepJWHwtM23ZJAZ9x8hMbuwmD59Lzf2vOvpHY4eikITRc1GIUoFdtIlMWxgKnBQ+joaWG105ZuRafzyQ038xjwA+S4xPkkPY4aVOYY+OV7EKdPuvj/NWLJ11Jv7QEmtMbo4Ci2v9904z2V0DUOoYXnabyDliw== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jun 2017 15:00:44.9590 (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: BY2PR03MB175 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3006 Lines: 86 We only need to know the buffer pool id, so save exactly that in the device's private structure, instead of the entire DPBP attributes struct. Signed-off-by: Ioana Radulescu --- drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c | 12 +++++++----- drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c index ee71e158b0a9..26f209c78ff9 100644 --- a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c +++ b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c @@ -798,7 +798,7 @@ static void drain_bufs(struct dpaa2_eth_priv *priv, int count) int ret, i; do { - ret = dpaa2_io_service_acquire(NULL, priv->dpbp_attrs.bpid, + ret = dpaa2_io_service_acquire(NULL, priv->bpid, buf_array, count); if (ret < 0) { netdev_err(priv->net_dev, "dpaa2_io_service_acquire() failed\n"); @@ -895,7 +895,7 @@ static int dpaa2_eth_poll(struct napi_struct *napi, int budget) break; /* Refill pool if appropriate */ - refill_pool(priv, ch, priv->dpbp_attrs.bpid); + refill_pool(priv, ch, priv->bpid); store_cleaned = consume_frames(ch); cleaned += store_cleaned; @@ -980,14 +980,14 @@ static int dpaa2_eth_open(struct net_device *net_dev) struct dpaa2_eth_priv *priv = netdev_priv(net_dev); int err; - err = seed_pool(priv, priv->dpbp_attrs.bpid); + err = seed_pool(priv, priv->bpid); if (err) { /* Not much to do; the buffer pool, though not filled up, * may still contain some buffers which would enable us * to limp on. */ netdev_err(net_dev, "Buffer seeding failed for DPBP %d (bpid=%d)\n", - priv->dpbp_dev->obj_desc.id, priv->dpbp_attrs.bpid); + priv->dpbp_dev->obj_desc.id, priv->bpid); } /* We'll only start the txqs when the link is actually ready; make sure @@ -1671,6 +1671,7 @@ static int setup_dpbp(struct dpaa2_eth_priv *priv) int err; struct fsl_mc_device *dpbp_dev; struct device *dev = priv->net_dev->dev.parent; + struct dpbp_attr dpbp_attrs; err = fsl_mc_object_allocate(to_fsl_mc_device(dev), FSL_MC_POOL_DPBP, &dpbp_dev); @@ -1701,11 +1702,12 @@ static int setup_dpbp(struct dpaa2_eth_priv *priv) } err = dpbp_get_attributes(priv->mc_io, 0, dpbp_dev->mc_handle, - &priv->dpbp_attrs); + &dpbp_attrs); if (err) { dev_err(dev, "dpbp_get_attributes() failed\n"); goto err_get_attr; } + priv->bpid = dpbp_attrs.bpid; return 0; diff --git a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h index 6697b508cf23..886a0681fee1 100644 --- a/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h +++ b/drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h @@ -301,7 +301,7 @@ struct dpaa2_eth_priv { u16 tx_data_offset; struct fsl_mc_device *dpbp_dev; - struct dpbp_attr dpbp_attrs; + u16 bpid; struct iommu_domain *iommu_domain; u16 tx_qdid; -- 2.11.0