From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60065.outbound.protection.outlook.com [40.107.6.65]) by dpdk.org (Postfix) with ESMTP id 0D82E235; Tue, 31 Jul 2018 15:52:35 +0200 (CEST) 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=z+ZofpPEwvqfaYlSzgpFg8NA1D/Qy5CPmxRQCNXqtP8=; b=HHTQ/BjmS5Vl1V69uuZsy7HW6gUCwgDCYrE6ses78LORRHQz7Ud4zj4CgiGElo0Dlp6nvHe31qGSOXfFzscCxZPEuYI54HlOeaURKLPHrxUh/FD2YD6S2xn04k2DE7AZLAynaZijn8oQ0y6LK5NITdejiavkYXuglrUFExF/7B4= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=shreyansh.jain@nxp.com; Received: from [192.168.1.9] (122.177.171.11) by VI1PR04MB4687.eurprd04.prod.outlook.com (2603:10a6:803:71::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.995.18; Tue, 31 Jul 2018 13:52:32 +0000 To: Gavin Hu , dev@dpdk.org Cc: stable@dpdk.org References: <20180731075137.15413-1-gavin.hu@arm.com> From: Shreyansh Jain Message-ID: <3b620acf-238c-1bf3-e31e-fefc3207b8c4@nxp.com> Date: Tue, 31 Jul 2018 19:22:02 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180731075137.15413-1-gavin.hu@arm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [122.177.171.11] X-ClientProxiedBy: PN1PR01CA0102.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00::18) To VI1PR04MB4687.eurprd04.prod.outlook.com (2603:10a6:803:71::15) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: eddbb426-f3e6-428a-dc34-08d5f6ecddec X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600074)(711020)(4618075)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB4687; X-Microsoft-Exchange-Diagnostics: 1; VI1PR04MB4687; 3:a41dZFWp60qjXi1CkS/bAwwqIooY2DnYdYcTKyPxh5cy9A0OKJ8hoZibHFDEBMwGdfD6Q8UAsxkoU933pSPFHDoz++n9TIZ97xqSE7onEQbpqaVRbD4AydOmVfKYaLzBF/HZ+6o/KXuBOSikxMwDm4Tz+Qls5vXBXeUse4fsAf4PxUnLIPz5BuRDz3+ufBcAFK1P8PkQS/O3xMPZ3BZpDbFP/k/LIEDL+wED6Zr92AQF1+eN4JpczMp98V6ZNId3; 25:vmlMgunY34LOrZcipeERn0x7W+GqphGc8G6q41+LqaP8L8Xz5JPg95M/h8t1xJlciNHNg3LP5a9Z1PRcW8zQc5Bv4BzcWon/+LU+wpi+4keFoqQxrddeun09kLK0bmf2X2Q219YOQVjFPyGbQvpUFiExgZg4unHIjtcBikaKCgWJdv4uxGeGW829en2JI5pF2gH2G3QPBKIRtToGS8M8YRbqC6KtCRAPBjzYgyPTj9Wayqisgr8cTIZxi4N9q02yJA1u6QduJxAaNK8jE3eHShNRp1XOLMJ8dDsc2gH/BMKCihuiS7j2u+6oF38OPBXxNxrveMlWn7k1sCOZh34iWA==; 31:RSCFWvBUCWX1fnt0QniIxAqxz/g8EOCRfnpWi0VtC/HBUuSWONah12nxy00hDeTeI4O4zWhROD01kdeWUbl+ZNNFznz5dGHSCbU9Omu8vWfsHUtCwXwf2IzXArBd8hT/++SZ3bVSPJ6r+n0vpRmDG/ZcnxAUIXFDGyf/RM4fnwQ3fqBos7Ix/15Yh6x/TmG6gsjjTlaOBaZJ7bJ0n8Vnn0Q43yh9njRNIv2rTlBzgxo= X-MS-TrafficTypeDiagnostic: VI1PR04MB4687: X-Microsoft-Exchange-Diagnostics: 1; VI1PR04MB4687; 20:78ePXG6ifijRPZiV2vqYNDqN4LIO9xj64HxvPWelridqmE+PZTQMNA76LLxhSz2KJzzzmZwRjLZ4H7rg4A03Ya6m5Wo8iPOl7m91MIfozn0K4pVykrCkJgPBgRKN8MKBFPgMEd3E9y/bEOu0OLva/ppMC4cF7lwHk95NoTvaA/C3bBFE5bZLT2iLGMypH85Qmb/Eu/fCNuU29LFKPtdnUqhQvNJjwO8QhMnjl6vWEfjeqZzVAV+YPb0Bb1cEyRxZPW5z80BQ21SINpQXqwH95FIj3Sig/Po7xLj5PjCw/fcP7Px0i2iw0LVRverHbnsW4+tUOS7dBADShuKU6A66k5mUZiaAIuzSq0XB18GkMjvfJ3s64zvLU3pOpFI/NHEOnK8vSpetBjbsCKLjUqIAeM0FdEtzPKC8diXE8rmMzjKsdhFWwPSfFsL8jN+hErcjdE24U8Zowcvl+bm9CbcLse+rgErlJh1BIW2WhA+qS4ZQ2C+213r4jaxIkALkaL6m; 4:7j4kW4dXa4MEILrWaxIhD/f8oHg7P302IwqlVCPksG7Wj60/d5auQac92zlzCGGX814VoJi6qINCVq3MGOoWeg5dGabMkHxEartdrnPvMXKQ7cwSY7D4zftTYyxlfzHxTWX7kgaOkyMijZHFGsGRWihFsjTfDHbQ6MPWUYZDFBJfOcy9/ukiXBXRNr90lOWiPSo/fRbOrFUB1critllUVIcF16otoTmG8GUb71P6OZM81uNsg8ck77oSlvJ5mb1NchOektdUSrsA80zJatbWWRQmqk4Vxo52LBOrC/zCkBYE0N+GCFvVBv761Ye2SVsV7TdgO9NttmM+VwZV+qQkY17ajTTHbg/RtHyiIklYy3w= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(180628864354917)(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(3231311)(944501410)(52105095)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(20161123558120)(20161123562045)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016); SRVR:VI1PR04MB4687; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB4687; X-Forefront-PRVS: 0750463DC9 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6049001)(136003)(376002)(346002)(39860400002)(366004)(396003)(199004)(189003)(47776003)(52116002)(2486003)(55236004)(31696002)(65956001)(53546011)(68736007)(36756003)(64126003)(66066001)(52146003)(76176011)(6666003)(65806001)(2906002)(5660300001)(106356001)(53936002)(6486002)(65826007)(386003)(31686004)(23676004)(229853002)(8676002)(11346002)(117156002)(105586002)(230700001)(7736002)(8936002)(6246003)(81166006)(316002)(3260700006)(25786009)(4326008)(305945005)(14444005)(50466002)(81156014)(476003)(446003)(77096007)(3846002)(486006)(26005)(6116002)(97736004)(86362001)(956004)(16576012)(67846002)(58126008)(2616005)(16526019)(44832011)(478600001)(186003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB4687; H:[192.168.1.9]; 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-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtWSTFQUjA0TUI0Njg3OzIzOkxka2ZISWltVGlzME1GbDM3OHFKdkxxdS9w?= =?utf-8?B?RC9GMkFEcTB3NzZpNTFXQ1BmQmFzODI5V3lSWElKZEZKK2pSVDZPQTlqYTdJ?= =?utf-8?B?WXB6dGlMV0tvRTYyb2FveHRRTmFXbzBFK2NKeDdHS25ZV3c4d29Nc1RnQ3ZY?= =?utf-8?B?czZuV2tlanBJSUQ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BOa7p9i5pY/YWpvNKbkJ3+NoUW0kzSH80BynhOU5Gye++Tz3CJML67ogM++mQpWPZ8FM4dqa71JH0=; 7:qFbzIq06l5szm3rBjb4xU/LtOLcvdFXgg7YPiM2dbG3WHTakyc2MjGxp2jeKIPgJUaMP7K09H5cV+MPTEme+tySTq8OI5WYWwugjVAnq7liygF6OrMHlERcfnc8MPwyZ2AQbnHFfgS3mrEBJ4Iz56XfeXqb1U3sPTg92+ZNmupmgnllGkRWc0zAmlw7gAJnK458dKrdfu4r7OEwZLY4pddUBYqvlH1oR3d4U51Em177i8XPD4ph7Msb3cl789sAW SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jul 2018 13:52:32.9438 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: eddbb426-f3e6-428a-dc34-08d5f6ecddec X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4687 Subject: Re: [dpdk-dev] [PATCH] net/dpaa2: remove unnecessary loop for unused pool entries 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: , X-List-Received-Date: Tue, 31 Jul 2018 13:52:35 -0000 On 7/31/2018 1:21 PM, Gavin Hu wrote: > Currently only one buffer pool is configured and in use, > looping for up to maxmum 8 times is unnecessary and might > be buggy as assigned uninititalized values. > > The fix is to loop for the configured times with initialize > with valid values. > > Fixes: 16bbc98a3e ("bus/fslmc: update MC to 10.3.x") > Cc: stable@dpdk.org > > Signed-off-by: Gavin Hu > Reviewed-by: Honnappa Nagarahalli > --- Acked-by: Shreyansh Jain