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 D902A439D0; Fri, 26 Jan 2024 11:12:28 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9021642E12; Fri, 26 Jan 2024 11:12:28 +0100 (CET) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2073.outbound.protection.outlook.com [40.107.244.73]) by mails.dpdk.org (Postfix) with ESMTP id 653344021D; Fri, 26 Jan 2024 11:12:26 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=elBiEDpCrBJDsBeowwHHnhd9pq42Y4xFsY1ixN9g5edWXXmCxFZkTRjsLCb4IV8vE4HvmW/hmUH1s+XTPe9vvrIHUoWIW3wXKVZvsQaQl+u78OtYUbKp5ovXJS4oGAZxpMuoKdy57R1dwmJetq05a37JntN6CuOG8+h8s1cbcp98eR47j8Xq2Q0P6qDKjQDzvMM8SmZQ3GyEchaZEM+IbNjWLXQEDSdvzbaXIUKrFkDQHw7grvyJq3QUUAqahK0Y4EhAIaFP+bHQEWePLHrw/+tpEskTBmXkMt7zN5abqB7tjsdkC14rqO9YhAf72uaOZm2oSXEwslVGNWGAaFHWYQ== 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:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Soca59D3krdkEoDoFasDxgJWCriNb2xazQ2MSwsF8bs=; b=W4AHSVnHAEqbCYvK1cypyHbA499T1b7AumBCjAy7WRIiQB81wBnyhotxPxqG8xS4u6RCTU1BhQQl4ILkYw7ot+yva2oXYpfgAvE8+C/DTewyI9KKQ6rPvQgJkKPpdCJfmBlafKbKP49Gxll/PeAfDKZX0E+W45nesjXg2wF2kDaBIK8sHoSjpL4eQksNsHMgt0Ytu6eutI9pUlSYS2O/0v0o6O23uThIMLkywmkdtSdRAVgyMKrOQOxD7JWXBMIwBtP4IOIAoqWS5PpVUi5HP9onrMcPlF0lUN7VG+kaeqprz39p3xwTdhLGfQ5VnwJ6gFiMBcCkKcIilA+lYxVihg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Soca59D3krdkEoDoFasDxgJWCriNb2xazQ2MSwsF8bs=; b=qhKUX6Nd2qP/hl+WiWi3EoVFgY70Aw7GUYW2eFiLASO1vr89v4Ggo65WUUnE4+qt9PylfPJU7sZsqQh61LzpxGsQOlNih3fk8cdb6ybGm10prVAWwoz76slw8f/XLqwDH9vyMEciTLMxGz99moxfD20nCcBDdScg3JV877Tgsrgyk7n3aetjoZ8VS5z5UrT2VJawH+Pf+vTqzARf4DVfKZE38qeqcG0AeqtCv99Nt+oVw5K20JVBOyT6I3jNhmK/bHKkttR/fEX25vxYLVaqxDAg77NgxZWPivekfsHvyyb4OIM+IbZ1BvFTqnLK8s0admQ9krT9014gRhg/YlXZVQ== Received: from IA1PR12MB8311.namprd12.prod.outlook.com (2603:10b6:208:3fa::12) by DM4PR12MB6326.namprd12.prod.outlook.com (2603:10b6:8:a3::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.22; Fri, 26 Jan 2024 10:12:23 +0000 Received: from IA1PR12MB8311.namprd12.prod.outlook.com ([fe80::708b:e498:d9c4:94]) by IA1PR12MB8311.namprd12.prod.outlook.com ([fe80::708b:e498:d9c4:94%4]) with mapi id 15.20.7228.027; Fri, 26 Jan 2024 10:12:23 +0000 From: Dariusz Sosnowski To: =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= , Ferruh Yigit , Slava Ovsiienko , Ori Kam , Suanming Mou , Matan Azrad , Dmitry Kozlyuk CC: "dev@dpdk.org" , "stable@dpdk.org" , "dkozlyuk@nvidia.com" Subject: RE: [PATCH v2 6/8] common/mlx5: fix calloc parameters Thread-Topic: [PATCH v2 6/8] common/mlx5: fix calloc parameters Thread-Index: AQHaTvbHjhPrF2UTkEWYzmaMOsb4+LDpUYUAgAKQmYA= Date: Fri, 26 Jan 2024 10:12:23 +0000 Message-ID: References: <20231102130847.3367102-1-ferruh.yigit@amd.com> <20240124185406.3598985-1-ferruh.yigit@amd.com> <20240124185406.3598985-6-ferruh.yigit@amd.com> <98CBD80474FA8B44BF855DF32C47DC35E9F198@smartserver.smartshare.dk> In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35E9F198@smartserver.smartshare.dk> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: IA1PR12MB8311:EE_|DM4PR12MB6326:EE_ x-ms-office365-filtering-correlation-id: c6bc35ac-bacb-40fc-f9dc-08dc1e574a35 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: eN8JqcM5+kTaJgAka5yyBBeEOsJh/tT8CkLS4YQWTQcbeHIglFta5gXR1Nm4GNEzhpXT6mS0+GxleWK0bSr3xbI70YfXZsvfW4VCCd4rUH/mn3pQVMxDqDZyskf63rqQcmH63SXejfoNpvPtUiNKv/GLJee+LvOP6ihxGWuRqg8QwmQrPQJKPb90HPRNwe8ckGyRSBYiQONqf29huB8Vr+IRhTNUoW5KpEhE4H0Yaz7NI9I9CXwfwIUWdalAUsjr4JN5txgwnWN13g/gsaIieNPLsjXBGepDYbroHIfjd90S6qJLjocga7Rr6TCnnCdMpC7m0tC8EJcW7YQI32B2jdMhUYSUiMyhunf7/3CjLhgCsD5Z0hvmX4kuUIDYbtUyImBDLt4PW7OoUBxhIRPuJ/MM/Ryo1+drp6D5STNB2LEGh8NwZE9R1biyWiYRE//VYS0igrl8YEyD+U5b9ox8jzp1hSY/RGKcyQsS1tjYwkT8PwDWn9jK3sBrSBVAaAzQxd9yG6nqGktf2/GxcBLomed5MFpIcOUzKKiLAGEPyZwJl3dYTpN16dcpb+SVJk23DziU61UFeZByjAIo1qDYmVif2bBfO6Zs7/4bTJ+2vLrd/08i6n4yOmCKrbSVlCosK4uJJScpQK3FbUF/GdqeRK38Kd99btiP9klLFb3ff04= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:IA1PR12MB8311.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(346002)(396003)(39860400002)(376002)(366004)(230173577357003)(230273577357003)(230922051799003)(64100799003)(1800799012)(186009)(451199024)(55016003)(38070700009)(66446008)(66574015)(478600001)(83380400001)(26005)(110136005)(71200400001)(64756008)(5660300002)(8936002)(54906003)(52536014)(55236004)(66476007)(4326008)(66946007)(316002)(8676002)(66556008)(9686003)(107886003)(122000001)(2906002)(76116006)(53546011)(38100700002)(6506007)(33656002)(86362001)(7696005)(41300700001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?cG1GT25JZS81eUREZkZ0dXllcG94aUVvSDlmbUlkbUxsb3VUaGljcEhOVnJj?= =?utf-8?B?TVBkSlFXcERTZ0tLT0tqd3JTVng2cU5wZnNVVTlwYW1RTE5EenQweS9laUpC?= =?utf-8?B?cVljMnd3dUhyNndsQzJhQVRhaUxOL0dQdXM4WTJBbVVZZzhhc3dGejB6YVB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R0bnFKSHFsazlRY29yc3h4MUJtK3hZ?= =?utf-8?B?T1A1WnZpY0p4a3VsbHY5cDBxK1lUVExObHlHeGdST2tBWXZIU0NpTmNSM3Bs?= =?utf-8?B?U2FVeVFQcDZLS3hycmhQNk9qRDhhbmJBMkExQVFhQXlBNkV1UUxjOTdONHhI?= =?utf-8?Q?sbe7X314w6VLLfs2BmPKvYgPg?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: IA1PR12MB8311.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c6bc35ac-bacb-40fc-f9dc-08dc1e574a35 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Jan 2024 10:12:23.5675 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: qgUbs3yncoQ4u5/EXk8skXNb6MbKfo5hSmdD26TqllpPTUW6Cacw5ZFw6Q9pR/9wBBf8AlU+F0h2Uos92CwOpQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB6326 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 PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBNb3J0ZW4gQnLDuHJ1cCA8bWJA c21hcnRzaGFyZXN5c3RlbXMuY29tPg0KPiBTZW50OiBXZWRuZXNkYXksIEphbnVhcnkgMjQsIDIw MjQgMjA6MDENCj4gVG86IEZlcnJ1aCBZaWdpdCA8ZmVycnVoLnlpZ2l0QGFtZC5jb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