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 D7B3745641; Thu, 18 Jul 2024 09:24:19 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C47074065C; Thu, 18 Jul 2024 09:24:19 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2056.outbound.protection.outlook.com [40.107.223.56]) by mails.dpdk.org (Postfix) with ESMTP id 4C0EF427DA for ; Thu, 18 Jul 2024 09:23:46 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=L5suv1cHC2fNyoq9MZFGj53obCcxwj6KTTiSZXvob8MDutUh91/mCy6Uk7OEja4kiavYiqee/ubWW50HHU2oW4ENDUxvt55uYwqACV3AxxqVFvQuqONhMVW6cVZJg8VRhwZRg7JFmhaqLQ8LasN9a35KK/JmvtscEif0IuwFSR+CO5FkHGcg+v35V1I2xiPlHdkOb9Wn7OX09YFOIJC0ApuUJd4dMHYzAN3ymcztuR10BaWHTIZhbycO2GtU9u/HtRlbYdrVM6YhHW7nsn3STCjgi+PAu3qUZ+Xg0bQAY4EVi/tslNRX05oqWgjzGVUeNaT8G3MeUmuQhkjygeS48w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=KuMbEPqgp1NOmHR6Jvn7ZGH9I45GY0glL3TZecMgSuA=; b=njYjpgk4FgOQ/i4WKeVe//1f890GfTo7JmqTplk7uoFZZFNUu4bzFJqZNuxYXat/r+ANs4aBpNdi08ulZD0Qz5Piyw/IEGQD6/fedQXi/iJnz4Okmb3zqpvq0uh6h+oJCpBpAkP7lxcuoN/noGLhAqDztRvfnhRECJlAJtlt4mzxx5PtqNUdpMxn+ZJ7vvWhv9xQg+ZNZBeih8Ml+Xl7HJCTDDkJeopmU4zXQm0a/uhPWXEHWxLqG4SUNxBKRSbMKnTrv7cKl1CkGE7qzbUrMAOCIFXX790S+blv0ARJwPTKvQZT/g09QAdtghhol6jwzW9owIU56dFD3G+jfz2ZnA== 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=KuMbEPqgp1NOmHR6Jvn7ZGH9I45GY0glL3TZecMgSuA=; b=sPUgEZlrILpDKNNOb/Ojzt0xQN5wS7cpK5itxQ7VOx1uu5vZhiL6rWblpIH+EjoatFAHWUuf+PJ/Vvowg9C4no2MEBsyoZ3xs6zcSlwju3JgJwE+ZxuFSXx01SPaQBrFLkfnOmwD0LMLj9TrfJpVNkjEg3Fabc6cbwaPoSy+nGtucZjwHoWutHJyjp2oDoCg7zObLpIyacY4H/S+iCC0snajtustNn/9UTXVczg4/YiQ2tdKg8D/jPZRUhvCWr87jHpj+JZ7tz4wN7wh3KSadgTU46zW2YmA+jf+xS5/wSMOglb9sRNQSWJ5/mck3Luv25IY1p+0uRCudvcHv/zvDg== Received: from MN0PR12MB6056.namprd12.prod.outlook.com (2603:10b6:208:3cc::12) by DS0PR12MB7897.namprd12.prod.outlook.com (2603:10b6:8:146::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.16; Thu, 18 Jul 2024 07:23:43 +0000 Received: from MN0PR12MB6056.namprd12.prod.outlook.com ([fe80::4b75:36f4:f278:fcc0]) by MN0PR12MB6056.namprd12.prod.outlook.com ([fe80::4b75:36f4:f278:fcc0%5]) with mapi id 15.20.7784.017; Thu, 18 Jul 2024 07:23:43 +0000 From: Raslan Darawsheh To: Gregory Etelson , "dev@dpdk.org" CC: Maayan Kashani , Dariusz Sosnowski , Slava Ovsiienko , Bing Zhao , Ori Kam , Suanming Mou , Matan Azrad Subject: Re: [PATCH] net/mlx5: fix indexed pool resize Thread-Topic: [PATCH] net/mlx5: fix indexed pool resize Thread-Index: AQHa0FLpHYCjiYn64US/DWutoBN/C7H8Jh2B Date: Thu, 18 Jul 2024 07:23:43 +0000 Message-ID: References: <20240707094829.44604-1-getelson@nvidia.com> In-Reply-To: <20240707094829.44604-1-getelson@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: 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: MN0PR12MB6056:EE_|DS0PR12MB7897:EE_ x-ms-office365-filtering-correlation-id: bc46316b-70a9-45b4-bf5c-08dca6fa8df6 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|1800799024|376014|366016|38070700018; x-microsoft-antispam-message-info: =?iso-8859-1?Q?XvGbBCvyshbNCRlCnHRaC6u5BpLrCOH328RcEnFkV7i8/T1P1+W3SCIu7D?= =?iso-8859-1?Q?UZjBHs9M5pVz2GGdzve8YLq8e+R6R+IQfdF1eF8rjDGIfjlQKNia6XNacQ?= =?iso-8859-1?Q?8mkBlYAJqjmngGkoj5KLJW9bqPCDJ51rhAe3YQhrxiAIjkm+sztESIS6TI?= =?iso-8859-1?Q?Z/hg7lXFD8onCnQMaYhutsKMI4g2KB+KdxBcczVWPOEdlGZgRv6W5GxJsG?= =?iso-8859-1?Q?QocUz5nTnJdMv5sUgIjlEelNPD2rZWseNXj6m8VINP68v/t5mU/b4AeGId?= =?iso-8859-1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0px/QRlsQaMuNCLiE3jW5an?= =?iso-8859-1?Q?fmyPi+nsUHij0BTzpB5Y6tQzFZXN/jw/+GmKpUP7kIqgmeP7tWaEYrTIm9?= =?iso-8859-1?Q?LJKQSwdZj+zMazLa9pB873+T+7oUpnMV/z8Aw9yyLHyMKqtgvsm67DJi6P?= =?iso-8859-1?Q?LozPD4QtotILekEyGxzxIVo/HcuAUt2F6KjLQ7DVj9cU/vAbQUkWP7Avf1?= =?iso-8859-1?Q?9Of+whM44o4dJRMQQ13cF8uYOSTTHoyFBT/uGp+wQwN2JT5ex0ym7C4LqJ?= =?iso-8859-1?Q?E5yw4y8aT+rE9VHIsF7FPBujUDWfhuUG0v2ihg=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN0PR12MB6056.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(376014)(366016)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?9bGAXZREqtqI+bO0bu/6s/sXcG1ZQaL2kSFKl5WFyatcec/wZJruEqENvn?= =?iso-8859-1?Q?AKp7WVP6D7HDVAyx0KxvUpRRL9+TOGtZf8NskGatNrIZ/Xhz/Ky6oF6B3V?= =?iso-8859-1?Q?2mmKHP9OzFBNVVmb1fgX7Hbf+BoXxYr1hxqWGocw9tg4s/ePV+i6HMG4iQ?= =?iso-8859-1?Q?sgAedkcKNTPYrnTbmxZkPVD/BPNCd/ISvOu5sW5ZIGr0S7qDG6jqJjEBs2?= =?iso-8859-1?Q?79DzjKc94wxhAprT6ZJFBrPDy2f1kVX0UfjRdoA+dd/RY74CE66OMmKZNk?= =?iso-8859-1?Q?c1of8XcEYmonzWINwSj7VCLCD+YB3MxSJuhdxw7b23R47PPr2yE3FEZK8g?= =?iso-8859-1?Q?TfxnAVcJyvxtwPclRz4/4iR3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-1?Q?l0jkWba7yB1ciNzvurlfwpGu9967aSHRZg44n8GK2lvtFktvYxhM/NOMyh?= =?iso-8859-1?Q?LBH3bpIAXzPyfG4BQjkMGOemjznFTOXokHxd7FGZzVdpQUe/lf1wdxEL4U?= =?iso-8859-1?Q?f4lFRTiOkG1nP6WYuoHpGR8Qc4hvB70NBvPAcF8YERxsyZbhyfHv/75hYG?= =?iso-8859-1?Q?E9LyhwPWjKNvUbLhd3RMN1oku9ZJixs7eCDNj6htWsfLoRLgB/L6bp+sKY?= =?iso-8859-1?Q?qUse64Q5c4cgO5z8aG9JY+guJE56llCP3Z8qfS90fOfspgUIkyCR3FtWpz?= =?iso-8859-1?Q?CeuEKTNwEDghA3BqwW6T/GO9qzH31L4Et4kIUTITLVH9Tu7YcjnML3kNH1?= =?iso-8859-1?Q?1Gjas5iACGBMY=3D?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN0PR12MB6056.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: bc46316b-70a9-45b4-bf5c-08dca6fa8df6 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jul 2024 07:23:43.3525 (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: n/fGpjky6B/unsPoU3eNEhRIMWNbzE+YBUSo99i2vHuClJTqbLxtcGURODCQBm825kko8OPC7XUr5b1KahcmXg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB7897 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 Hi,=0A= =0A= From: Gregory Etelson =0A= Sent: Sunday, July 7, 2024 12:48 PM=0A= To: dev@dpdk.org=0A= Cc: Gregory Etelson; Maayan Kashani; Raslan Darawsheh; Dariusz Sosnowski; S= lava Ovsiienko; Bing Zhao; Ori Kam; Suanming Mou; Matan Azrad=0A= Subject: [PATCH] net/mlx5: fix indexed pool resize=0A= =0A= On success, indexed pool resize sets maximal pool entries number to=0A= the `num_entries` parameter value.=0A= =0A= The patch fixes maximal pool entries assignment.=0A= =0A= The patch also adds `error` parameter to log error types.=0A= =0A= Fixes: 89578504edd9 ("net/mlx5: add ipool resize function")=0A= =0A= Signed-off-by: Gregory Etelson =0A= Acked-by: Dariusz Sosnowski =0A= =0A= =0A= Patch applied to next-net-mlx,=0A= =0A= Kindest regards,=0A= Raslan Darawsheh=0A=