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 50AA0A0540; Tue, 8 Nov 2022 09:58:23 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3C9CB410EA; Tue, 8 Nov 2022 09:58:23 +0100 (CET) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2080.outbound.protection.outlook.com [40.107.243.80]) by mails.dpdk.org (Postfix) with ESMTP id AE4C6400D7 for ; Tue, 8 Nov 2022 09:58:21 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VMctp1JX4TbjnRQGTpc2Nqb6n/yAarlNrKh4Z2TI7oc+Y03v1/P0PthWovcP7TQaZiXLXbcScGnO1s1Zz1AkPIq5mNLRajgbPpOJOSV0GlvGlFyCFlyl9krFRmVPfajA9ODAoMy7KEdSKb9jN3ILUEEhxiI0Uq29eX1il+ID00X+KE1qyR2oN+yc6Ssng8JZXKiD2rComJzJvo/XaBnstZd1k3GHm2U9JrHk/AQ5COP37b2D70SSTPgZ5enTWItscSAJNF+9sn0H+Aw1neefvRAHQSLS99I+KB93E4GMrymZLOKBweX/eHkSt2HYREo7Cl+zqoW5r0FqklDKpuSPhQ== 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=45dHO+cq7yLRLvmQYg3vnFTWuSIKoJFIvDJ5NmWXJL0=; b=VTWe/JCKQMIr//LWpxYehp1tejqipTXsLuw7TJCpE0cj14KFEQ95X4GxyBSemEkRxh0tI0VxLAxmIAUDcd5PWCR26b7w3JBC39bTlXiqGqwYhdLAiz2X8C/RA7KHKDHDgS/O0afEFUubjfbDG26RNwqrt9PVoeF2pyj0euyBs/3HfMd484cFyiUai/H5t3a1yOkPXoCWEeUsAqVKDyiYQGtyKCrYsyrWb7lHgossknMfx4igph/QNiDDWyZrmIz3kCqmGDFQqZMN8tIQxDOTSyYKgUW5jRxnxzAxtmis57j3kDLRTRc+CDME5HxnC4XD33KuCx/C12j8jhMcDCABvA== 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=45dHO+cq7yLRLvmQYg3vnFTWuSIKoJFIvDJ5NmWXJL0=; b=CzYjfTMacZaw9baM/cAkJ/uchsKV/SQsr9f4HcSxInrbHIijR3lcSzg3igqFsdknJZo5Q0rd2FB5oLdC+/BfuBgKVdg3Xz7+6bhQ9Vh4mYy92bMRV9zRYX/l5Z1NLuG2Amg5EhCDWsbBfb1UTrssJoEDAPFFB4DZYhIJCgNb8tD2SEczC9YvoxTx6TWKN/6r3WT5jE0ekfw1GpJiQQu58e44Hi5vscFvvQivWUxCno3rQvjyv/Gbq6oL59OkHd2SnRmLC1cbb749lCbsDYgp9nQZATFSQGyhkKORbgVXOKhaQzqvOLUjCg6JZJvykw3/t6RBGA55Pu1CerH77pUBDA== Received: from BYAPR12MB3078.namprd12.prod.outlook.com (2603:10b6:a03:a8::31) by CY8PR12MB7436.namprd12.prod.outlook.com (2603:10b6:930:50::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5791.25; Tue, 8 Nov 2022 08:58:18 +0000 Received: from BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::ce0d:fc5b:76bf:6a1a]) by BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::ce0d:fc5b:76bf:6a1a%7]) with mapi id 15.20.5791.026; Tue, 8 Nov 2022 08:58:18 +0000 From: Raslan Darawsheh To: Alex Vesker , Alex Vesker , Slava Ovsiienko , "NBU-Contact-Thomas Monjalon (EXTERNAL)" , Suanming Mou , Matan Azrad CC: "dev@dpdk.org" , Ori Kam Subject: RE: [PATCH] net/mlx5/hws: fix possible negative return on sq create Thread-Topic: [PATCH] net/mlx5/hws: fix possible negative return on sq create Thread-Index: AQHY74MdEzei/pr9hk6nlVTxK6Lfca40wFZw Date: Tue, 8 Nov 2022 08:58:18 +0000 Message-ID: References: <20221103125146.7291-1-valex@nvidia.com> In-Reply-To: <20221103125146.7291-1-valex@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-traffictypediagnostic: BYAPR12MB3078:EE_|CY8PR12MB7436:EE_ x-ms-office365-filtering-correlation-id: 6057e406-12c3-46dc-fbee-08dac1676146 x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 9Zb3m7whAO/yAJ2zPHdJecJdVGYm5kKt09Quqi2uLSjwpl/gU3mMEyvQ6+dwk1o9u1UwMdLBzLe/+SseXwux41BxHEcGE3CiS5OpNsYlTmCLjKDVOpcgSSauQusk7tzEtGOL2jWOCRzIi0BCA93JvSPMQm+P8lWWHORdDtB8/ZbHZpf0OVL7qRDevJkqtK497iJJaNk9bLK+pcJsb+mvwxffQnvzaIYkH596NYgwIQQ/duk/x/Z+mRpUFMef5ewu6lifPTH+zFdSUdERyj2uaHy7yrZcEWEMYvNiKbOACEMgMGQEWJ8W3Ed/b1OcKvNh/RBQ8SQ2PZvfcsfOV/tMSek6dNQiPJYedOPBxC+Ay/QapimAB+0ocyBJFiNZtT2IJNPyqUDsPW988ienxv8Akh6FRzDqAVUxO5TSDzTuwgSd6kD8ub43uloR0ogNS7DxHEtNiC6LkpakdSOYR4o6rjS2xOSaIRnhwoni6RFSm5tzzJpm2TwIlC63HrG8B+5uf7uNWhPuC5bolyo5xzoilGthUUGT8uVq3bJ0CvyisdbVHrfINOHiHpoaGKVwOb8j7vMPpCHz37GfHaHOVP4gjF3vh475O+cDj1pH3zeuZZeY4ZBhGzt8O1mkkWVYpbJuzQ/oWc/0uJrt9/ZURK7fWBS3szqyqtS4/eNJUfUx6QMcwyubnRxtL4xoVO8teAZGMycGo40BFsbYK2UQymARa/gNg/nh/qC59cFEfL1ZjbfjW28enyq/yp2/t7CPgC1SQqc02tHuLqrbccJI9j1iug== 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:(13230022)(4636009)(396003)(376002)(346002)(39860400002)(366004)(136003)(451199015)(5660300002)(52536014)(122000001)(107886003)(2906002)(7696005)(6506007)(4744005)(33656002)(8676002)(71200400001)(66446008)(64756008)(66946007)(66556008)(6636002)(55016003)(38070700005)(76116006)(4326008)(66476007)(38100700002)(110136005)(54906003)(316002)(86362001)(41300700001)(26005)(186003)(53546011)(9686003)(8936002)(478600001)(83380400001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?eEJZZHg0czBRVjVkN2tFY0k2UjlPbksvRnNLcWNqRnhkWDB3TEFzSk5zVFBw?= =?utf-8?B?WVYyVWtJdmI3NTdFL25ZMHljOWlqUVRnNms3SDdaWG5uSktFaVpFMTBqQTl3?= =?utf-8?B?cjBDYW0za2pWbFlIcFFRZmg2OEFRZUE3YysyUkZtSW4xdW04dHJMWFRnZHIy?= =?utf-8?B?bmYwZGZvbl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Dc1L0Q3aW9GclpNQVhReGJi?= =?utf-8?B?ZHVUbjdjSUZiYWx4N1BLZEdiTkdxZEJ6TE05bWFDSGdDb1lYN1Q3amE0MTRY?= =?utf-8?B?d2dJN0wvYkJCR1l1anFaZCtNTVVjMHVuT205cHpxNkVXM1NKOWM2OFhSU1po?= =?utf-8?Q?bBxI=3D?= 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: BYAPR12MB3078.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6057e406-12c3-46dc-fbee-08dac1676146 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Nov 2022 08:58:18.4024 (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: k6EMny0KF6Z2GZ5xd325RaMwTanc0/JyRNYRRhDDfmNORRUyPIQHvfOzb7tNKNcNmFB+i+yQc7qiixziKDzpdQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR12MB7436 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 SGksDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogQWxleCBWZXNrZXIg PHZhbGV4QG52aWRpYS5jb20+DQo+IFNlbnQ6IFRodXJzZGF5LCBOb3ZlbWJlciAzLCAyMDIyIDI6 NTIgUE0NCj4gVG86IEFsZXggVmVza2VyIDx2YWxleEBudmlkaWEuY29tPjsgU2xhdmEgT3ZzaWll bmtvDQo+IDx2aWFjaGVzbGF2b0B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