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 72CCB424CD; Tue, 11 Jun 2024 15:07:21 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 27DB740263; Tue, 11 Jun 2024 15:07:21 +0200 (CEST) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on2059.outbound.protection.outlook.com [40.107.15.59]) by mails.dpdk.org (Postfix) with ESMTP id 6EEB44021F for ; Tue, 11 Jun 2024 15:07:19 +0200 (CEST) ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=Mg/5scGbWaUIwtWOHpnmUADPicM9nglXT+RTeBHz5QjOKqu066Q+Oq2slYpU9h5sWmMpWgSSFXisJvQQI5Z5c/TD0gok7SyavehCa4DAG6mS/Bg0/ZlUysd+Z64i7cG5GOQTd/Wne2utUILZEqif4TdPBJw3eXr3GgJz1qsrM8uVa/DU+lLfOaC22UZLUy2y6Ijti9kgdvJ8+Ox++vDdLXKZiHbENyreUxg/3CUhtwytt0ozf+V4k1AjZf+A35JaHX4OK15GaoT3JMD5k5JhWy43HjjB8rqrKmkIvFtgf18Eo85uNvR9ECeq8hllD5+eJThJisnJymgAqZmpmRS9Pw== ARC-Message-Signature: i=2; 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=fwDKzoXrNvzSn/lYg6IPwIfmwtbO/UO2YzHK/Ix/rf8=; b=DQ235cv04HT8yIRBZvriGFfpx/+ch598Sc86dy69HGgvcm3BY3Ng4rgj7+nZW2SVnrJohG0CHE/cog3kTaJ3BswgK51rYB6ZWYx9CxFGeKBtOZc3EMp5L12WKQ/7FbbhcL/EERk+1lrbBMvezSGsP4arw4G2CJLgXhJTLEYWLZOhcAJu3vuWVUWzLzkfNWfCjsWrx0An3LdXPkFgkoTygfdPcGximTVa0E92xwyUxQC4D0k4SqwShSyD6vi1B2o4sz3Jj8AItIMqHZmSuv0HEG1LWPWKcNPSNCANUO46BTXr5w5Pj7sPxXM3xoE4Ps2L7I9iW5KqZywEOuAgDny0jA== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=dpdk.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=arm.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arm.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fwDKzoXrNvzSn/lYg6IPwIfmwtbO/UO2YzHK/Ix/rf8=; b=pi47BivjZboML2l/9+FAdrbiBKrbQr3Ba/F8HBodIHKZAoTfYYoyx2iHqNDFv+GTJnjkNA5X47Lua7KP9qE2f1KrTToHaNW5flQiWFQzRJTYZmWi8Z2Sf3WTQmxZOitNmxbKntxzgFFDQUpI317qVwi2Fml+wO2q+m96KYB2gh0= Received: from DU6P191CA0036.EURP191.PROD.OUTLOOK.COM (2603:10a6:10:53f::23) by AS8PR08MB6135.eurprd08.prod.outlook.com (2603:10a6:20b:29f::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.36; Tue, 11 Jun 2024 13:07:11 +0000 Received: from DB5PEPF00014B8B.eurprd02.prod.outlook.com (2603:10a6:10:53f:cafe::ba) by DU6P191CA0036.outlook.office365.com (2603:10a6:10:53f::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7677.17 via Frontend Transport; Tue, 11 Jun 2024 13:07:15 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=arm.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5PEPF00014B8B.mail.protection.outlook.com (10.167.8.199) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.7677.15 via Frontend Transport; Tue, 11 Jun 2024 13:07:14 +0000 Received: ("Tessian outbound 0445a89d5280:v332"); Tue, 11 Jun 2024 13:07:14 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 658c7316061afbc6 X-CR-MTA-TID: 64aa7808 Received: from ccfd05ee1d3b.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 170CD799-8E3D-4322-981E-826C9CC07FC0.1; Tue, 11 Jun 2024 13:07:07 +0000 Received: from EUR01-DB5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id ccfd05ee1d3b.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 11 Jun 2024 13:07:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oCJYxkQR9yHVbqyy4/dh0cVx+Ts/kEtKUldpZm8g9qyGbs5QlbPPNi5MiOePa/lz5Kb1Sxni9GonC/+brphagzBlj5iOlPhMUnmHe/LL00dKgagP66lKm1CSyrJOZfhYQQtWCK4VJSok7Oif3emgPKbIe0PEGEFN3LqWgWE4i9HLswZnPb6EUYQao3LAwlBRccBW50l4aSYHyT76cS+tmqWR0XKCnbAuHWaCqXZTcOxwXXRuWuOkdvssB6lGe5hGUkNXJFdctmCEz3gMhekypcJh3zFjlyKfecigePohi2Dyvl/wBa516/I2qQVXNkfxXAfVghrYoY85DUJ74iHFPg== 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=fwDKzoXrNvzSn/lYg6IPwIfmwtbO/UO2YzHK/Ix/rf8=; b=Me/99VkBOpp9xaMiBqD4Z7/yaCGPHTRgy1oANgnQFjWkldjv5wpBSl4yZGqm7FOiBnrOnwedrZOUDY8/3cKyQgYnWG6EPb3bYWeC5Ve6p7wyY8QeNXjMk92sA+YMqckIs+g0mkLorDqxsoCWhMxjS8mmfYoXz9qhOp1KCjbseRKFp2tZWaYvIdmtbpbYnZvLSEf+E2Zvo/0KeMK2lBgsPlB5bWscaxg5F4xRzVeO4/c5yoVjPv4q23mI83WZCmRpHmH4v1FdQXxjwdQX/9ny1p+4MsgN0IjwU1rxVEutu3xfGZp81eAYLLvTE/Quj280Jdl0zLlkpoPFSIXYOQr8dQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arm.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fwDKzoXrNvzSn/lYg6IPwIfmwtbO/UO2YzHK/Ix/rf8=; b=pi47BivjZboML2l/9+FAdrbiBKrbQr3Ba/F8HBodIHKZAoTfYYoyx2iHqNDFv+GTJnjkNA5X47Lua7KP9qE2f1KrTToHaNW5flQiWFQzRJTYZmWi8Z2Sf3WTQmxZOitNmxbKntxzgFFDQUpI317qVwi2Fml+wO2q+m96KYB2gh0= Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from DB4PR08MB8151.eurprd08.prod.outlook.com (2603:10a6:10:381::16) by DB8PR08MB5337.eurprd08.prod.outlook.com (2603:10a6:10:11e::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.37; Tue, 11 Jun 2024 13:07:01 +0000 Received: from DB4PR08MB8151.eurprd08.prod.outlook.com ([fe80::2dd2:fd4d:8ff5:3733]) by DB4PR08MB8151.eurprd08.prod.outlook.com ([fe80::2dd2:fd4d:8ff5:3733%6]) with mapi id 15.20.7633.036; Tue, 11 Jun 2024 13:07:01 +0000 Message-ID: <1adddcea-a629-4879-937f-1818b2056754@arm.com> Date: Tue, 11 Jun 2024 14:06:55 +0100 User-Agent: Mozilla Thunderbird Cc: nd@arm.com Subject: Re: [PATCH v14 2/6] mempool: add functions to get extra mempool info To: Konstantin Ananyev , "dev@dpdk.org" References: <20230927150854.3670391-1-paul.szczepanek@arm.com> <20240607151000.98562-1-paul.szczepanek@arm.com> <20240607151000.98562-3-paul.szczepanek@arm.com> <91c29c07d353422280fb50e5e80060b3@huawei.com> Content-Language: en-US From: Paul Szczepanek In-Reply-To: <91c29c07d353422280fb50e5e80060b3@huawei.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P265CA0235.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:315::12) To DB4PR08MB8151.eurprd08.prod.outlook.com (2603:10a6:10:381::16) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: DB4PR08MB8151:EE_|DB8PR08MB5337:EE_|DB5PEPF00014B8B:EE_|AS8PR08MB6135:EE_ X-MS-Office365-Filtering-Correlation-Id: 3de3f167-eb80-404f-a904-08dc8a1769d5 x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0;ARA:13230031|376005|1800799015|366007; X-Microsoft-Antispam-Message-Info-Original: =?utf-8?B?S0psaG5UNzV5alpQMStpN1pQVzNMRUpMWVRYSnFUNy9XTUFHZFlJY1c1eWZm?= =?utf-8?B?eUFURXRTREhZbnFLTGd6cmZ4b2dKQTNvSnpmRm5Yd2o5Wm1KbzZxcHNuRjNH?= =?utf-8?B?a3Z4L0NvamNYaWpITkMyZjRvWnN1bVp2aFB4VlZoOUNKaktzRm5ac1d2SjE5?= =?utf-8?B?ekdPS2FTaGhBZzIwMDRjb2FjMXd2ek4zekJhQjl1cDU1YVJMY1I2c0VkSEdF?= =?utf-8?B?UmcxZjFSY3RDRWcwczZRNDgwa2dwWXFqUXdxVUMyOHBsSDBXTnQ3MGlZQmJN?= =?utf-8?B?VmlwbHk5Sk9PUzZ6UVBncCszZ2VPSURWdjdsdUV6d3A4NzVZd1BvWENUL2Vx?= =?utf-8?B?MUkwdjN1SnJtWERoTDhvSjY3THJPTCt3Wk9ORE1xZWEvSXZiNHJqV2s0aGE4?= =?utf-8?B?SmhaU1QrTWJyclJVakEzVkkyRTlkMjk4a3YyS1dJZDJ5QnBka2ZhSTVpbVQx?= =?utf-8?B?WERmQUdXQmd6UHE0d2FGbWowYm1oMlI3cGFROTBaU0ZydjcrbU9CQ2ZPaEJD?= =?utf-8?B?eXMwM01XZlZZeDVkOEs1VHl5UnRCMmpBRmFzNzM5SldCZHlUbUdJQzVtemt1?= =?utf-8?B?QW16dENuQkt5UE5xL05lVjk3TWU2UkxwbVRXMVVOd2RyTG5kZkl2R3QxRXJj?= =?utf-8?B?dGd2WVVnYlYvUzBEbzY0UVczamlvR245VVM4azdYZjNIYTVxaU1kOGRIVWFN?= =?utf-8?B?cFE2Njc0cjNaNFFlUjZLYlo5ZmVsa25PMkJKczE4NTVEc2thYjNLZi96REJW?= =?utf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K?= =?utf-8?B?RW1POFRpQUwzS016a2tjSUhYOG1zajNFa2FuS3QvbTRtNEZMdFRhK3RkSDRh?= =?utf-8?Q?MApktUgHSpgqzJneYkhKfAMdJ8wgbpSZh04z0cf?= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB4PR08MB8151.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376005)(1800799015)(366007); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB5337 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5PEPF00014B8B.eurprd02.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: d33ec649-2d7a-46ea-be9a-08dc8a176204 X-Microsoft-Antispam: BCL:0; ARA:13230031|36860700004|35042699013|82310400017|376005|1800799015; X-Microsoft-Antispam-Message-Info: =?utf-8?B?R3RabmtFejFLZ0NCSU53bjJQNkx6ZHY4VWZPbVRGVXpSSGJ1ZXFUOVZzU3E3?= =?utf-8?B?clE1UkRKTWVvL2xoV3RHSVFDb2FCZTZWMFQ0TU1VYmxXSGNOVEVJM3FFSDVE?= =?utf-8?B?SVVDa0NGU1FvT2ZhdDBJcmJPRW11cWVVcXhRSUxZTVhtQlAyNE5NZW9VMFcx?= =?utf-8?B?b1h1Vmllb1JlWkZzaW5jQ0NWcmJNdnlnMmswbnR5QWVJVzJoV2JGcll6KzNE?= =?utf-8?B?cHZONEZmVzNqOGhuWHZIQ1c2c0JFRVUzOXV1a1FBOTA1SjlQQiszNG5zKzBG?= =?utf-8?B?eXFJSFdhRUxmU2M3YVV6dE5oOERGOFNKZkk3cVBYZ2RtVkkwWnZtK2pVRHBB?= =?utf-8?B?MWxvcThFVEV0UXE0YUx6Rkd5M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bmtpb2ZCTWNIUHBibkJZc2p2RkdCVHNUTms3QmVHSmhqT0tueHVa?= =?utf-8?B?ZXZUM21XT3dlZ3hOQzhUWVNiQkk3clBrV1A3M0NyWmwvNXFIVnlvWmV5QlJw?= =?utf-8?B?clVzZzhNWHJpWEwvU3gzakNNWVNoWnNTWElNU3FGNkNQQ2MzSVM5NkYyd0o3?= =?utf-8?B?eTR2cTN6MGFwaURZd01nV25UQkN5MkQyUW1lb2tLVmRCb1hMTjZsdzkzVUJn?= =?utf-8?B?aUtySHovZ1BlYkI2S1RwSmxWT09SWklMODE3RUthZGNWY2dLQ1ZVZ29zOXdT?= =?utf-8?B?UThIak1uU1QzN21TZm4xOTdBcnJKdXhVVXg4bzZJekk0dmc4dDMwbWtEM2JV?= =?utf-8?B?cElMV25vMjlIaVQzcENBTVFLYTZEN0ZUUThiYlRoM1lSNTFPUW14aFlLSnRu?= =?utf-8?B?eFM1Qi9nRnN5dEsrMlRpUkxtTEUwTzBLeEhPQWJUNko3YUM2cHVVWVE1TTQ0?= =?utf-8?B?NHJNOEtrdEszTG9PQ2hBWTZuK0dnbzdWOWRJc1p1YzNRZUEzUENOS1M3L0pH?= =?utf-8?B?dzZEUWRVVlQyQWVtWHFDcm1jZzZyRHlFeVJDYXNxbHlCOGRlbSszRjBxd2VU?= =?utf-8?B?UzlMRDdrOFBTMXM1eXVTVVVadllrVUsrREZNcUlRR3RMRmc9PQ==?= X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(13230031)(36860700004)(35042699013)(82310400017)(376005)(1800799015); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jun 2024 13:07:14.4258 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3de3f167-eb80-404f-a904-08dc8a1769d5 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DB5PEPF00014B8B.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB6135 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 On 10/06/2024 15:24, Konstantin Ananyev wrote: [snip] > > With that changes in place: > Acked-by: Konstantin Ananyev > I have applied your comments in v15. [snip] >> + >> +size_t rte_mempool_get_obj_alignment(const struct rte_mempool *mp) >> +{ >> + if (mp == NULL) >> + return 0; > > In case of mp==NULL, would it be better to return negative error code (-EINVAL or so)? > In that case the function should be changed to return ssize_t though. > I have chosen size_t for portability and ease of use as that is the type most likely expected by the caller and because there are no other error modes expected in the future that would require distinguishing between them. I hope this is an acceptable solution and have kept it in v15. [snip]