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 0472BA00C3; Tue, 18 Jan 2022 09:34:31 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EB29A426EA; Tue, 18 Jan 2022 09:34:30 +0100 (CET) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2043.outbound.protection.outlook.com [40.107.94.43]) by mails.dpdk.org (Postfix) with ESMTP id 2E327426E7 for ; Tue, 18 Jan 2022 09:34:30 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EQtEtlSh074OcW2SQPqFQpAZXSkUi4+6Y/gTFNs0eiuURE+1dz3ldYcCjAQm2AzAGHEjBGdM4zFYSZkUqgMh5vUtSYrY9YtoZLFHoH/fcdweWz0/LPmYQEbuPI2tm5D9q791nbDfYRTOInvbHg0qNhIseUoCrLAGeEHRiHOOYBftXcqZc6iuv6rrRPdtoHsB1uSSHfa8NeZcSeHrGmm4YeFgc8Nb/VgjugrDpVLWz5x8kV8d87lLx0E20YQxC4fmo2qWHwGdLi0wrY/XaA1wmIIvfM/NstB9kIWCJOERcguhilWwfIwnaRJ/PzLLgQk3Uvze4Um8ytDlxGy9a+m3lw== 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=10JNP3dwMveZ2Qc8lzM/T82WeATjZMaPdPXJ9QGOQUE=; b=d0z+J32eTUweMJzsnc/lWuIGhYkcdSKLTkMZLT/RVkfu/zODCy0RwtGCzn3X4biH3m4Ie+9qfz31SBzA+C1TUfpfGzPHSEiypN2Nh3vrt+jLTtSupqCiecR1au/TpOBdNYky5RupyveNgJo+CDs1NDIhd+UibjclrhZZ7UCU7SDYcWaGMZyTZWfVlFnyQ5BsgX5LKHAgmXqk0E2ekgqAnYZK7/h57O8jrZvP6/VOWk/yEybZMgaF+1KwpsKGjjfuqGghgHIg2kR36PQe73oDofLyJkTiXTNp6IWl9SIh54CXZbveywS2TVCtStQECvHXH3Z77Hs7ttw5FnyvWMdXMQ== 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=10JNP3dwMveZ2Qc8lzM/T82WeATjZMaPdPXJ9QGOQUE=; b=h/mX2S3dyaXA8LgtaJl/dbWoKqnznAsy7SAb6LZuAjnx5kWQdZFRt8SwJNZsbAtRvaV0l+5zZf7DDo2NIsILjRQEhEQa3unmf5y9gdYMIqiPQZBEb+3fcWM2MYiKgJqo7dJGz6yLieNa2/K2OQGfSYLTMWLu9NFE+0hUz0EBNpHDHXU7kkKmqnJRgoWgsLqd4TeIXh1u2TvrhcWm71/vvvGgA/MWM3/I/kteb+YQSwOfss7m4fS5i/CMf2Jx8LbGBpDFG9/kq5CFUAcXdvJ3CeUSRbRgtLzR25Wa8QE3MSVjIgmgVo/Fverkqc/YLrFcf84Hom71N66Vo4NJRZUNZg== Received: from BYAPR12MB3078.namprd12.prod.outlook.com (2603:10b6:a03:a8::31) by BY5PR12MB4196.namprd12.prod.outlook.com (2603:10b6:a03:205::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4909.7; Tue, 18 Jan 2022 08:34:28 +0000 Received: from BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::587a:420a:2c5c:90ce]) by BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::587a:420a:2c5c:90ce%6]) with mapi id 15.20.4888.014; Tue, 18 Jan 2022 08:34:28 +0000 From: Raslan Darawsheh To: Alexander Kozyrev , "dev@dpdk.org" CC: Slava Ovsiienko , Matan Azrad , Michael Baum Subject: RE: [PATCH] net/mlx5: fix wrong MPRQ WQE size assertion Thread-Topic: [PATCH] net/mlx5: fix wrong MPRQ WQE size assertion Thread-Index: AQHYCIsZN4fiHKmX30+DUdR5exoPb6xoez1w Date: Tue, 18 Jan 2022 08:34:28 +0000 Message-ID: References: <20220113143609.3531344-1-akozyrev@nvidia.com> In-Reply-To: <20220113143609.3531344-1-akozyrev@nvidia.com> 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-office365-filtering-correlation-id: 3db84d7d-8fde-4272-f5b9-08d9da5d57c1 x-ms-traffictypediagnostic: BY5PR12MB4196:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6430; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: K/cCcbdukitsQU+hh1FAgn7A4Byv8p5X6pfLyP6svQ00YKQT8kyPA8PZsMYnaaFAwg0nDRN01r7IrpfcD/9aQOlcT0eZ88SlI9sYIt2tBkbeWlhnf1ERPQMAmRPklh1/AlXP2BZR/5XKuDXVa7CgeLnrPZyKJYrsz91R5psHnLqr2Ss00zoTreXfWHNDzg43MmAp5h5JVU3o36MI7i+KEOabhiazONk92ypmz6898ts/Ecc2OhnIZK9UJdA2ELHhA9mufZkph3JnKj1g73/ePXpxu8RsZitq1VTRPknU0EuUnQs4x05hG1JCL9621g+Npqyg6JXqemHi5hfNVm7xa3z+WrIu/QXb7yEWqbc4bfUkQHqUMIkbTi0jmyYnIxsdQMNulC2nUXDoYsAouGhIi/wLWFjNVrLI0wChrDgMJ2Btg7uv9FYuh/BwGJn/mJKeDTTSYbAofX75Fq4vtD7ZF8Mno1gO5FQSxjzsbNBC8mbK6TosjFDUkbY5o16TcZfH6LSalyfCLLZ590BLS/BLNdXAbmu6Bg1QfAr70f73bKv0Unq9wP31PPvGumkL5DUU01DiHuGCE41Af7Vl3gFYRvKJuKiu7NgAO4PqcY4IG2EGPEVXEm1bA+DGv/hTCFl4EEcG84QaAOFzzMHBvQsyM+X9qRHhJnbtuLl2HNYIa9EY7A//YdGSv4pT/nQwm+Hgxs28NCTG/yxmTBpQ2S68Lw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR12MB3078.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(83380400001)(4326008)(26005)(110136005)(508600001)(107886003)(316002)(186003)(54906003)(7696005)(86362001)(53546011)(6506007)(9686003)(38070700005)(5660300002)(2906002)(8936002)(52536014)(33656002)(38100700002)(122000001)(66446008)(64756008)(66556008)(66476007)(71200400001)(76116006)(66946007)(4744005)(55016003)(8676002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?vO6a9FkzxgEaJdmZKaDJI6nXxC5cBoXbmQA8wnmV6ShDZkSG+TDp9/wUSMDw?= =?us-ascii?Q?V2DxALeyhIezTnxvfS2AjSMP6G4yet34Vosu/xFoBQ4b5BUOrp8A1F2Y/p/c?= =?us-ascii?Q?RJSm+xUL1T+OqEJqRJyjsSzbgvdLC9O+Ut39yPQ5uIXhYvtTU+Xyyop10kGb?= =?us-ascii?Q?It4kqY9cWWpVv4X+Ki4cUF+WRYVgVn7cis8rp5GCeRy3Ou3kpWSe7r2x/hRE?= =?us-ascii?Q?WkEFO29/HzDnRM/n+W4ZFGalRUCp8opTthS4iZ8g7c70xsfP4Cbqdwde1q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vcQrY2XKWP+tRYg2CwtMxnu2D+/6?= =?us-ascii?Q?R+cUeq9n9jIF7DiJGENZKmIEU9Q336LEWdS80hdzt9dc55oCf0EP66qFG9pK?= =?us-ascii?Q?wc5rhUUfGfLSOV0KtjkLc/4GW7q1VUNElcTvcjgsva8R0EYGTcTGG7gjEwLX?= =?us-ascii?Q?QG5r0QUmEl2WW3z0YBNhsnSwn2CSqbq7T/Q1rzBAVk8mzi/RdM+5nDMfDPfS?= =?us-ascii?Q?amNa+oplLEo4UBtRRYOXxqfw0VHM4aOACbZQEXs4LZAWGj0e1tHEuNo7HH/G?= =?us-ascii?Q?j+PCmfSK8jnekbIG+ji4YWoO8FvCF1trmU7ME+d/iARajN452xi32cKwN49W?= =?us-ascii?Q?ESO/BHxNkju5L7wkvh2YkryNe/AkoIHN+ysavdm9ApRFNc5K4ugoo1ZtzIGg?= =?us-ascii?Q?Amt4lCzy4NcmXRG7K+pPt6YK4NukGVd/ougIPpVG8/2M7umsSMAmeWIKAaDu?= =?us-ascii?Q?/3t8sAJl/ILbWKijK9JdY+Y=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BYAPR12MB3078.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3db84d7d-8fde-4272-f5b9-08d9da5d57c1 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jan 2022 08:34:28.6747 (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: aHEexpNsEgpZ/7SjxzuXblDdDxdrFm10u/qxKFuypclLomrwo3dBXUFl6RcRq3h0vJd/5WswLj83+UYrycEknA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4196 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, > -----Original Message----- > From: Alexander Kozyrev > Sent: Thursday, January 13, 2022 4:36 PM > To: dev@dpdk.org > Cc: Raslan Darawsheh ; Slava Ovsiienko > ; Matan Azrad ; Michael > Baum > Subject: [PATCH] net/mlx5: fix wrong MPRQ WQE size assertion >=20 > Preparation of the stride size and the number of strides for > Multi-Packet RQ was updated recently to accommodate the hardware > limitation about minimum WQE size. The wrong assertion was > introduced to ensure this limitation is met. Assert that the > configured WQE size is not less than the minimum supported size. >=20 > Fixes: 219f08a ("net/mlx5: fix missing adjustment MPRQ stride devargs") >=20 > Signed-off-by: Alexander Kozyrev > Acked-by: Viacheslav Ovsiienko Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh