From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0078.outbound.protection.outlook.com [104.47.1.78]) by dpdk.org (Postfix) with ESMTP id 676961B5E6; Thu, 21 Jun 2018 12:57:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=dOqniyj+KEUiYfxAro7giKKPo18y6wqKHdLvMMsFstA=; b=qzcS8aAmzxdgTT4twgJyDn1ozK04vDzPraHJvLwqZiER6sQMv5l0zUxp8WwGcoW/Y/bmySwVFTr3rWGPKezRtgqwgiBdoJ8ZGACsL1IoYy8csN7U/5Km1Dt0QpdH0gcL/SS21SUcEOlZI7HUoZiabFvWyulqxt22M7BUxXtgVXQ= Received: from DB7PR05MB4426.eurprd05.prod.outlook.com (52.134.109.15) by DB7PR05MB4953.eurprd05.prod.outlook.com (20.176.235.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.863.16; Thu, 21 Jun 2018 10:57:43 +0000 Received: from DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::4c94:2db9:b8c5:cc6b]) by DB7PR05MB4426.eurprd05.prod.outlook.com ([fe80::4c94:2db9:b8c5:cc6b%4]) with mapi id 15.20.0863.016; Thu, 21 Jun 2018 10:57:43 +0000 From: Shahaf Shuler To: =?iso-8859-1?Q?N=E9lio_Laranjeiro?= , Yongseok Koh CC: Adrien Mazarguil , "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH v2] net/mlx5: fix error number handling Thread-Index: AQHUCCMkP9LTOZZvHUGZR4m22j1fLqRouRQAgAHTrgA= Date: Thu, 21 Jun 2018 10:57:43 +0000 Message-ID: References: <20180604173731.29125-1-yskoh@mellanox.com> <20180619231313.7264-1-yskoh@mellanox.com> <20180620070240.nkfjfuzzel6jed7r@laranjeiro-vm.dev.6wind.com> In-Reply-To: <20180620070240.nkfjfuzzel6jed7r@laranjeiro-vm.dev.6wind.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=shahafs@mellanox.com; x-originating-ip: [31.154.10.105] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB7PR05MB4953; 7:Dw13vN3I5Y8+0KWIfHoqKeRD8n0rFtXArw7Nz5Owt7LPmZrVyRrABbNo1dxF9KQB7VrfAL3SQVKh2ybNhsmFukF+aEvXfLt8ermVwLlImzXRZXjEDoF0+Bn1UkHc9pMtn0MAaDC2lcxQbYPglA4FCEjWHVLDj3jX3GLHJNJXwt/DfvjOuntHSvnDSh8rruG2zxAei+07NFdm+taRBQTkNMs7UzpgUOOfiJQ+j52dj1/imVaeajf4TRGDwha3Mclg x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 7edb1a2e-0c5e-49e2-08ad-08d5d765d0b4 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(711020)(2017052603328)(7153060)(7193020); SRVR:DB7PR05MB4953; x-ms-traffictypediagnostic: DB7PR05MB4953: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(93001095)(3231254)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(20161123558120)(20161123562045)(6072148)(201708071742011)(7699016); SRVR:DB7PR05MB4953; BCL:0; PCL:0; RULEID:; SRVR:DB7PR05MB4953; x-forefront-prvs: 07106EF9B9 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(39860400002)(39380400002)(346002)(376002)(396003)(189003)(199004)(5250100002)(478600001)(6506007)(8936002)(8676002)(14454004)(68736007)(105586002)(99286004)(33656002)(66066001)(6436002)(81156014)(86362001)(81166006)(55016002)(106356001)(4326008)(7736002)(305945005)(74316002)(7696005)(2906002)(102836004)(9686003)(25786009)(446003)(5660300001)(6116002)(2900100001)(3846002)(3280700002)(6246003)(6636002)(54906003)(316002)(229853002)(186003)(26005)(110136005)(76176011)(486006)(11346002)(53936002)(476003)(97736004)(3660700001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB7PR05MB4953; H:DB7PR05MB4426.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: mOW06o2axkHHZOB8tKvzQ6Ex3HgRR4HJkyfeenq2dJihvewZhOEMm8a4ueIcuT0OOCvRMZZayej2dMaxsSLps+TiMCXGmF4TES8oVbzPoDdhVBmuzP1Bvt2TiUzW6FvUgyYIR/KoKflw7hAGOR0wKexv+0UkMVJoxcEuUt3F/xsNhdzABDFX50V68dcQuyTfPjZx5SAuo//lfY0EMcTCKqerFchUDhvvU2QOy2noXnt3koqngEXg8G3L7uUImSB9fZVHIDccAO6BDA4LVWcbqlfWNRNuwaPb4xtlKSyzZCx6isYtdITQLN/pCpunwZ/SSV16aEfjgruSETbIMGCscQ== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7edb1a2e-0c5e-49e2-08ad-08d5d765d0b4 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jun 2018 10:57:43.4515 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR05MB4953 Subject: Re: [dpdk-dev] [PATCH v2] net/mlx5: fix error number handling X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jun 2018 10:57:47 -0000 Wednesday, June 20, 2018 10:03 AM, N=E9lio Laranjeiro: > Subject: Re: [PATCH v2] net/mlx5: fix error number handling >=20 > On Tue, Jun 19, 2018 at 04:13:13PM -0700, Yongseok Koh wrote: > > rte_errno should be saved only if error has occurred because rte_errno > > could have garbage value. > > > > Fixes: a6d83b6a9209 ("net/mlx5: standardize on negative errno values") > > Cc: stable@dpdk.org > > > > Signed-off-by: Yongseok Koh >=20 > Acked-by: Nelio Laranjeiro Applied to next-net-mlx, thanks.=20