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 B293445675; Sun, 21 Jul 2024 14:12:18 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A245B4068A; Sun, 21 Jul 2024 14:12:18 +0200 (CEST) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2046.outbound.protection.outlook.com [40.107.92.46]) by mails.dpdk.org (Postfix) with ESMTP id 5EDAC4029C for ; Sun, 21 Jul 2024 14:12:17 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=o1b/6QlpW8OgG2fMM/fVgpkckjJzjk0QWp7vKdw82lOd5Lkx8SOWR384u4FQM5qRAjCIw+I8OGutKiJtF1orNcLGjxGyiPoI3d8JFFeBeNtb69XBSplVZlNZfGNRUaqykIAQW3VBGRfpPnZO0U6VJul6rejESTm9qtrl0jzKG4JponKWRV5vABAeuSai9/lS7fRHjvWqyjI5EI9dsfzHYUinU8StIi3/5YXtSHSFHDPsp0DJAgUUrQ3ITIR3OQSB+F5TEWmfeJpjo+9yNr4UeGNr9WaPu3bG2gosEd7zGXZTxIjv/RZadqXdgoDZoCP2jgF6+gOJ9D/CPtv8jbl0ZA== 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=v1vMCvuzPK61/Oa9M1lhDxseYSmT9OtZeQhG0Ii0VH8=; b=IAu4WT1mXCNMw71t8uThbkOlBxEMflrdPINp75t4uVHh5X1RoOTSvrj0/gBjuRe4OtQkC1rkZS10DDJPUd7vy0n7PkMIzIb0qLKLTQ6RUejAHE6uqJ0+noFWE0HyVJJOzjxtdvBvOGDfpkU87Dc0M5Il8qRTcfnDIeiDG29/gP1pzKHdQZQ3RZXmeQPyUVu1OviG6n6cOX/615JjuboT1PYiEMUQkFLhOBB1G7eDbJmc9RLfZqOnC/bnrQjNtldN35SWjcjx4P+qoDQYXusm9c0l84kU+lMEz2ocicE+eqJx4KSC9tgteIg5+qMRKshLIxz6MtKZUoIfUTj5V15Vkw== 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=v1vMCvuzPK61/Oa9M1lhDxseYSmT9OtZeQhG0Ii0VH8=; b=Sm8jK/eJVQlGcBQW4ZcGKX/pllg0w8k0JuLIZEPDlIDT/bUYW/MHUS+pwM+UrVWunF+yMnLlV0xTJ5hQByTc9SWfgbLoRHO5EuUFRLnGDhy22gPThxZyywmiZTzt39GnIknO3Fw89Lgxow/SerIMutHVKBt9OXjm9gXUP0v5EZuQ/zthEBW+/fNT18rzBGjhD6/ZXL0fGTZESI39bQQ3Ir/v5f2JEXWY7Uo5vtdIuuDdSqY3+BX8jStbxTRv3ZiSoph+iDIO+WJvvsRhLpdWBAj+HTjs+CGin5ArbxxrIGTxbeXZHJKsRfftMP7F3m6h+JEQwlcX8ikZ/juSrQYzSw== Received: from MN0PR12MB6056.namprd12.prod.outlook.com (2603:10b6:208:3cc::12) by LV3PR12MB9438.namprd12.prod.outlook.com (2603:10b6:408:212::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.16; Sun, 21 Jul 2024 12:12:14 +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; Sun, 21 Jul 2024 12:12:14 +0000 From: Raslan Darawsheh To: Bing Zhao , Slava Ovsiienko , "dev@dpdk.org" CC: Ori Kam , Dariusz Sosnowski , Suanming Mou , Matan Azrad Subject: Re: [PATCH] common/mlx5: remove unneeded field when modify RQ table Thread-Topic: [PATCH] common/mlx5: remove unneeded field when modify RQ table Thread-Index: AQHa2GevNaX+cl2BBkWe8tpXlDQ+7LIBHZBN Date: Sun, 21 Jul 2024 12:12:14 +0000 Message-ID: References: <20240717163719.324798-1-bingz@nvidia.com> In-Reply-To: <20240717163719.324798-1-bingz@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_|LV3PR12MB9438:EE_ x-ms-office365-filtering-correlation-id: eb5a43a6-6ec5-4bc1-1021-08dca97e5b6f x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|376014|1800799024|366016|38070700018; x-microsoft-antispam-message-info: =?iso-8859-1?Q?oapnQw2sX/hlK8OvCWVCce1OSDoOYn7Ti902DuCOBzuDTu0lX450Hj1jWX?= =?iso-8859-1?Q?8JhO35EK2ILNmeJJUrcr+gUHrXqWZjC5DgYfYehhMiyVN7b3t0rL2k+5gT?= =?iso-8859-1?Q?eM/WeuAurQo+SJOcuvlNjE8K6mwAaow8LUg3IeRT5lpQvDVtzgzAd7Ksc0?= =?iso-8859-1?Q?Odzl4fLokE6z2Tqf6N0ZXpVvwfB0k0/47AALkbv3MQzxIOe46Zs4CMJQwQ?= =?iso-8859-1?Q?qaSKJattd1iRS0pQ8YGg4VOCObpCoM4M1VYgqwTBV50yD9FQMjzZUHB0zv?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i1Kjg6GaouM0M1dG7JZUfYIUKBL6Jy4CU9PdU1?= =?iso-8859-1?Q?s1VxowCrID2rgBKzhzMEHmsyRbBBCEO9lgMU7D5IrBCWdQJMl28pQ2JvHp?= =?iso-8859-1?Q?VcNR/cG6ByVbMEIKa5Plwv3xzIeTtfJ67bHcg3tmYAwwTri9ePJ0gJb/k5?= =?iso-8859-1?Q?K2HXlSqYZ/zJVt3PUBFby0gMsjLAyzjMqnNNICYQ5fgIhylf9AJ/Yb5BKp?= =?iso-8859-1?Q?gj7KFEKdQmhfipn/UIDyrqwLVp0XV/bLnvENWu5jCRsh9SDwrNyfZcsGqw?= =?iso-8859-1?Q?nM9AgZ2ha3PAG/f1xKPd+9phAEA7LqZ7AiiCog=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)(376014)(1800799024)(366016)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?X8NOcwUaWoEcXOUTzQZ5l2y0m9B11iC+Hh38Rpyb6v7TDaxd5zsYTO1B8o?= =?iso-8859-1?Q?8jrzdglNbHcmmAZ09TQqqdheWnNTc9kd8SbBRyyJ0fAkV2M5YW80PzD8rz?= =?iso-8859-1?Q?qxieM0fl8MOexEEJbuR0s4XI1UoOYGPvUt6RVMbebwpZDWcyr14uLE6sEw?= =?iso-8859-1?Q?YjciTqvoH0vaGGhpVAVBlx2bk8Mxbn2C19IrhmAlF/WPYb87Ou/Efij7zQ?= =?iso-8859-1?Q?Cfot4Teo/BlwGpl53QY+oR753DpNjh/vT4XOX0tUcwiSEHGPweKib93uqP?= =?iso-8859-1?Q?JtkdVGWiLBPB1JY58lCkx47ilYzuqzJSyiD1rNiGZvIiTGNrEm4r6tsikK?= =?iso-8859-1?Q?4pSIN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Kt?= =?iso-8859-1?Q?Lg9tBh5TQW/ectE5bGaqFUNZ92tjhiZNEix/8fJrMVoZ8aNUaR/TyxVn+W?= =?iso-8859-1?Q?l/f3VKpVEXbxhFU7WeeAzfpBFl8xHD3DrpM6J1t8kRezvk7ZPxEqMYWscH?= =?iso-8859-1?Q?vwF/p40g6EBMuIOfIYHilbcRt20/vYZbqlZnJZvrllnT4g5rL+V815Wezv?= =?iso-8859-1?Q?pcLIXVCthp/LmtNQCjU1dV1TnelvEss7E7iyM9ToGVwaiu8L69Le0rcld9?= =?iso-8859-1?Q?lR5rTXDlIFQDp3m/fttVOVFAKaIylaqmGwd0oL0B9XNiSxhBgNys63nkFH?= =?iso-8859-1?Q?m8Hl8TOVNEY78Ecnl1rxtM2lo9u8uYnBzbuKZtq7ndmeYQ7+Wo+K7nQUXA?= =?iso-8859-1?Q?DvWQIPHevwh1E=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: eb5a43a6-6ec5-4bc1-1021-08dca97e5b6f X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jul 2024 12:12:14.4149 (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: OoxD90AeT/noVYohz7UUKpqeSru6cZ+Z7f5wmuiUvbbOX51FoKjp1QzoAhfp318RNScNYvZcZdWGHnFraRRJMg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV3PR12MB9438 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: Bing Zhao =0A= Sent: Wednesday, July 17, 2024 7:37 PM=0A= To: Slava Ovsiienko; dev@dpdk.org; Raslan Darawsheh=0A= Cc: Ori Kam; Dariusz Sosnowski; Suanming Mou; Matan Azrad=0A= Subject: [PATCH] common/mlx5: remove unneeded field when modify RQ table=0A= =0A= The attribute "rqt_max_size" of the RQT(RQ table) context is only=0A= needed by when creating a new one. When modifying an old one, there=0A= is no need to set this attribute.=0A= =0A= The firmware usually ignored this unneeded field. When enabling some=0A= extra check, an error will be returned to prevent the code from=0A= continuing to run.=0A= =0A= In the meanwhile, this field will always be set to the maximal one=0A= fetched from the capability without any change. Removing the value=0A= set and leave it to 0 will help to solve the potential failure.=0A= =0A= Fixes: e1da60a8a6e9 ("common/mlx5: add DevX command to modify RQT")=0A= Cc: matan@nvidia.com=0A= =0A= Signed-off-by: Bing Zhao =0A= Acked-by: Viacheslav Ovsiienko =0A= =0A= Patch applied to next-net-mlx,=0A= =0A= Kindest regards,=0A= Raslan Darawsheh=0A= =0A=