From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 9B050A0547; Mon, 27 Sep 2021 12:26:48 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2885040E3C; Mon, 27 Sep 2021 12:26:48 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id E5181406A3 for ; Mon, 27 Sep 2021 12:26:46 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10119"; a="204601631" X-IronPort-AV: E=Sophos;i="5.85,326,1624345200"; d="scan'208";a="204601631" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Sep 2021 03:26:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,326,1624345200"; d="scan'208";a="519998463" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orsmga001.jf.intel.com with ESMTP; 27 Sep 2021 03:26:45 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Mon, 27 Sep 2021 03:26:44 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Mon, 27 Sep 2021 03:26:44 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.174) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Mon, 27 Sep 2021 03:26:04 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n0kpCoXMC2bLy1zz5LbDFyEhNwLV+5UipkYVSNXqbLtNZdqZ6npvpSvy0xcwRH/rbcbIJIk5dbLy4kgUiPkRykAEYqCZ/QGk5iHDVA40aFomnSULmyaiwyZb7eqdgGI8WpTZtuHTLDvDwyOuqcIVMvmtJeb4yIW0O22CRaXmttNsljZlt1axHgYmGRaKiuD8LdqrOCMq+YKP8cFSY3JGzN7hds1MeWtbDAu4xSI1LfM9nZXe0sb26m5WL2e5oGP1MuBzOoj+xGCIoteBOdYD0aJV0F/My98SBrQ4NPsN5SccjLBqbFILcT87vi1ewiCsrplsvfjQClGFKF6ruMACVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=z/jVnlPyEOa6TLa5EtpxU8iTTcByWaO6CIUkgjQjaiY=; b=QFJ9u4M+j6Z6WI3Fvr4d86breTx6RLD6QY0nPkm0rdBVX6ZGuN15pfWb3vtMwSPycs96eStcepKT8twCHwF4VnjaihyShW3lhix8szBdtwU1X5ilpv0o5cLdPf6PE7cRq+Rd8UblzYRnCrxsCmIebCc3TPQdNqMNMwZg8LiMCZw/2jWk2T7cOyeGhn6Qx09GxUmvtrXqUatrjt0EKDyq5BrWIdcxiZyEtL9+Vo/eO2JOCbCyNWMuQhREL3UeZG7GBxXGFzj4XIiF5MsVtPHVjefWybIkUOdKUgHKZpaGptgflYXj81bOlWQz1LinazqtYGrCGwmPbtgFMRYEFrqVuA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=z/jVnlPyEOa6TLa5EtpxU8iTTcByWaO6CIUkgjQjaiY=; b=wja5lQUD2KqK2HrQPLUFPUCeRqVgsek2Uz7tHFFjkYIVfWUBEOYUEqb2Rc+F3oOwTgkJtIBOXjaFKjep+lztepBKov7FTWPE4lO4EQy0At7uKteMfo7n5YBvLcssRnS+5L6VfZD6tOtvjlocRLox91MSFcwpCjjXxA+qmf+FC1w= Authentication-Results: broadcom.com; dkim=none (message not signed) header.d=none;broadcom.com; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB4840.namprd11.prod.outlook.com (2603:10b6:510:43::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.13; Mon, 27 Sep 2021 10:26:03 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::747b:3a08:d1ec:31fc]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::747b:3a08:d1ec:31fc%5]) with mapi id 15.20.4544.021; Mon, 27 Sep 2021 10:26:03 +0000 To: Ajit Khaparde , CC: , Kishore Padmanabha , Farah Smith References: <29ca852a-c6cf-5aa2-6397-da61a2bbddd5@intel.com> <20210925142401.53868-1-ajit.khaparde@broadcom.com> From: Ferruh Yigit X-User: ferruhy Message-ID: <41db4db1-d8c2-d845-c36b-70904b4bd687@intel.com> Date: Mon, 27 Sep 2021 11:25:57 +0100 In-Reply-To: <20210925142401.53868-1-ajit.khaparde@broadcom.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DB6P192CA0015.EURP192.PROD.OUTLOOK.COM (2603:10a6:4:b8::25) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 Received: from [192.168.0.206] (37.228.236.146) by DB6P192CA0015.EURP192.PROD.OUTLOOK.COM (2603:10a6:4:b8::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.13 via Frontend Transport; Mon, 27 Sep 2021 10:26:02 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: eb3b50de-736e-47a5-1f36-08d981a1356c X-MS-TrafficTypeDiagnostic: PH0PR11MB4840: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:576; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Vzdi9Orh3RrUq/z+nkapb13GAT8HNvq3YIna1rfujNgvYz0WtYjiT4FvgUsKZaQA7Pzp7XHDNFCM62ydnWfh+KSWZqT3A6gdAymzlCHfiwxi4FObq5t+mpxqaF1L2o+SkO/38wGCsiT1ycU7pZk4a9rumjMSeZHfP8w7X0V/NgE6Fte9hws3uMVO0MrzpvVCWHv3Iqdi35g1kaL8wuxiLPih6PDpdlx2LhoZ4Sm+O+gDb/N2T1PocB5971qHTY/s8po5pc4Dx8C8gcOQcecIhPwd0Gef0UzQfrgbxZTW4cZN/V4azxOTZG73k1KFLqS4JrHZGpBHY45w1/YrYUDdxF/lGd9nki5yoQ8jwSJoTJDTmdE/0jpSkmunldMEs6BGw1+Pi+IIjD2MPbKXx2VyyhLCfcm/e4NR8UePQAIyq2ofJg9HnrPIWsu6azx7wkypldX8wu6LRwJS1PWIHWVBg6avZ9RqfY7V8PqbOTqVs8zlpx4CjPA73UjP/rsOe6D0beRM5sKhEBDNVCjbjFLrQIjFSDCloRHDZx87M+py40h++BX+ScNmTspg/T9aFaHm0MRP0HxtGi7ZwgJ1ZySMweh96U3p8u0Osa61NMI7Cp8bSafNElmVk+yIl7TdYW8Urwrd/0/hCHIC0hfUNuW6/a3oNmadYX25jBeNevX+i/uhPPrYaOPkp22K9ie6Hsd7eAVjkVzhxa3hfAbJOC8DpQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(316002)(38100700002)(31696002)(44832011)(4744005)(16576012)(2906002)(4326008)(5660300002)(66946007)(54906003)(36756003)(6666004)(66556008)(2616005)(8676002)(26005)(508600001)(31686004)(66476007)(956004)(6486002)(86362001)(53546011)(8936002)(186003)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?RVFYeWIvQVJrU3M1SDBPbG1UMnIvbklUc3NKZ3E5bVQ2RkdWdGRCK20rTk1W?= =?utf-8?B?QWhyWUhlZFVtWjkyamx4clJyWkxhZWkrTVd5d09WeUdEWUJFMXB0YjBtaHBj?= =?utf-8?B?Y1RXbGgyYVBtdmhxRjZZc3lzUndUM3ZKemU1MUFNckhIcWR5NFAzblJtcDNN?= =?utf-8?B?bU5nay9Xc0VEM0RwTVByMHhYWWhzOE04NkpnMnBxcWdFcGpWdzVYWUVDejVE?= =?utf-8?B?L29aRHBXcGl4Z3ZlQ1E0bzZhMmtrSFlVSzJ1TGdjVHRRbktleEdCQk51TkRO?= =?utf-8?B?L29RNjU1YytvK1E5d0dDNTcvcWZVcGdrVURoakdvZCtlaVFVK1FUR1R5UlA0?= =?utf-8?B?RlhjNmd0QUhBVHhYYnNCanFwRzBYaG9MOFBDVElydUZET3B6VnVwR1YzcmNl?= =?utf-8?B?LzUyNnluODBlSG9udmxEeDZTcTJ4VmRFT2ozZkxQNkN2NTFKSUVzRkxaM084?= =?utf-8?B?alphQW01MGJkaTVqQW5qY1dLTGxML1pES08xVUtZSGt6QUxPMHd3b0Z2eUxy?= =?utf-8?B?V0ZTVGRGeGNaV0V0QWFmb3RsK3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YZTh3MnpLN0wzRzNsN1Z4VlpiTm1PNTFHWHQvQUN3QlBKRDVUY1lHV2Vp?= =?utf-8?B?QWZ0Z1N5MjdUVXAyRzN4b21RSVlGSHVqcjZ0VW5ILzZHSHg1TWJnQ3VwcFZK?= =?utf-8?B?amZzQUxndHVmVHcvdk82Nk1BaVloTGRIdHk0UDdLdExvWnl2UHI2Z0V6OGEw?= =?utf-8?B?NWhidDh3VWhYK2xnMHljbG92dzF3RmxHcnp4MzROWjZ3eFRYeDZWYmQ1bDl3?= =?utf-8?B?ZDFzN1NRVmhaZUVjVjBUdU9QL0t1RGF4RzM4bzVlRXRKS2VpUytjNEhLK0ZX?= =?utf-8?Q?NYIYEXCv/oHTdgkNcjI9IL0D8ZpnB2HFacIGkJs?= X-MS-Exchange-CrossTenant-Network-Message-Id: eb3b50de-736e-47a5-1f36-08d981a1356c X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Sep 2021 10:26:03.6766 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Lb0+VOZ7sqBFRIbXKI7UhEiwGigrlaeNK8Q7/DXUoSK+Dk0BiPaJJToFJiUsMXmn0qA0znZQoP0geCVXjYpQLg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4840 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] net/bnxt: remove code to initialize SRAM slice node X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" On 9/25/2021 3:24 PM, Ajit Khaparde wrote: > From: Kishore Padmanabha > > Remove the code to initialize SRAM slice mode explicitly. The > code is redundanat as the memory allocated is initialized to > zero by the rte_zmalloc. This fixes the compilation issue for > uninitialized pointer when debug optimized configuration is used. > > Signed-off-by: Kishore Padmanabha > Reviewed-by: Farah Smith > Reviewed-by: Ajit Khaparde Squashed into relevant commit [1] in next-net, thanks. [1] net/bnxt: add SRAM manager model