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 212C3A00C3 for ; Thu, 13 Oct 2022 05:44:57 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 16BB742CF6; Thu, 13 Oct 2022 05:44:57 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id A644842C27; Thu, 13 Oct 2022 05:44:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1665632695; x=1697168695; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=MSQInP83+PfCKU5AzpHKPCofCvbPq15kDB/itp4fsE0=; b=EgUq+SGpxRO0tZPO+v6k+dqNpTug4r8ttj0eI35Q+t5bSpNhynb5zdoj XBjHuIOPQRVOHcoraR9E6YVTP2W4+8TmxF0z3WTsuE6Q5+uW6vz/99Rgq DgxFtGHLjuugtp9ybjpbyiKAtzdbt9fJz+ykPqzJ9DAH3dzp/TRK+EyYh keNErgywttIMP6lr3jmhkbycddHM7eULx9VLPIQ8v4Arkjf7px6ILG/uj vxJdNjGE3yn4OAYN+eNBXmny1GkaRi2s7sjno0vmSvYV7ifrHnYsxzDk+ i0xi3WhHKxYs+HFMa0mgS4XC4UwpNJ0AkobCO0OqC7x3YmKfz4sqza7XL w==; X-IronPort-AV: E=McAfee;i="6500,9779,10498"; a="284695653" X-IronPort-AV: E=Sophos;i="5.95,180,1661842800"; d="scan'208";a="284695653" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Oct 2022 20:44:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10498"; a="956002929" X-IronPort-AV: E=Sophos;i="5.95,180,1661842800"; d="scan'208";a="956002929" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga005.fm.intel.com with ESMTP; 12 Oct 2022 20:44:53 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Wed, 12 Oct 2022 20:44:53 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Wed, 12 Oct 2022 20:44:53 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.100) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Wed, 12 Oct 2022 20:44:52 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jfts3Q4kh9ckvMKo/orhTwtwU42cQVPjFIWexKvP4tGOjmwZunZPs93mDrbbtHu77dC6SH1M4Z2rUqTv23Ql+qnLbV1T3DMhLpgwJDpSp0jV1HyO7bsvLmBQnUa4wXouWuE+61yU/jwYlCGcJrAhRyvsM4aWwhSe0gBhZa5J3W95/koIBn7DpODQ3jdDkeRtgLKgerumKDznrcMSW4Vk1unKuoMbZDGYkghK4BIQxe5cEm/9VztjfNSZPzeF2jPpr2/t+y9R9bLD7h/fuajJspSI6CSbFleUOd8LQ34iqwHIyhiPUuKOS13wlwH7JHihYSPixjJGE/xcDSJx+eAjIw== 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=MSQInP83+PfCKU5AzpHKPCofCvbPq15kDB/itp4fsE0=; b=SSGmYF3mxo5Mg7UwJiqS8OS2CH4pu4TvbyRhkR+0SVfExnhTZ3CmIEt+a9961EgKovpdqDN48W1wlAKgKCIOItw5xyFfE3CI2RHlGQtBoro7jDNfUncQ7W1qDNS+WTOU+o9drAIyeEqKX8BLMgjKidZKx9pbkLi57f9gcd1/TOYKXGffdJ28gcjFmcoPKTkMVH172wKdjnJaNZECt9XCXhxNw+Kv+Z4+1VQ68vn8OcWuss3hNyATCAyONcv4N1kAqkRiq5vfySyaRpIQtEfrmmChaTqppJzo6VLmwAvZ2mbGArEHTTnfXG6XHcC+ZLugGsGQCNI6jPidRwnyNGFfAQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from DM4PR11MB5994.namprd11.prod.outlook.com (2603:10b6:8:5d::20) by MW4PR11MB7079.namprd11.prod.outlook.com (2603:10b6:303:22b::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.26; Thu, 13 Oct 2022 03:44:51 +0000 Received: from DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::6fc4:1ff0:a5db:6546]) by DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::6fc4:1ff0:a5db:6546%3]) with mapi id 15.20.5709.015; Thu, 13 Oct 2022 03:44:51 +0000 From: "Zhang, Qi Z" To: "Nicolau, Radu" , "Wu, Jingjing" , "Xing, Beilei" CC: "dev@dpdk.org" , "stable@dpdk.org" Subject: RE: [PATCH] net/iavf: fix IPsec flow create error check Thread-Topic: [PATCH] net/iavf: fix IPsec flow create error check Thread-Index: AQHY3VYQRJOS7Eje/ECt+H14dDNEQa4LsYLA Date: Thu, 13 Oct 2022 03:44:50 +0000 Message-ID: References: <20221011094421.3410963-1-radu.nicolau@intel.com> In-Reply-To: <20221011094421.3410963-1-radu.nicolau@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.6.500.17 dlp-product: dlpe-windows authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM4PR11MB5994:EE_|MW4PR11MB7079:EE_ x-ms-office365-filtering-correlation-id: d353ac92-ca4c-415c-9c33-08daaccd4877 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: tx9N3FVA2LZr/1zpZJb2oSUYrGv9fgfKpNGIbsoZEDXZ++dMa7a9GxlVH/8vdEE6k4MRSIBPCU67GNyRJqTcS1dFu6gFBFFIUEnnlJiaayVSGeWOLVsyyzlC9/5fke6ixHUWg8k7bDhrv4Y7u9B0Ss6bI479Mejmj3NrNwskoM5ex/nYEpUaAwMu57S0cKooadSuPtUnzwn/uI9km6D+hQSnPUwShpbetE/4Vhz5NMvvApUd+eyo9QHtn4b/mexobX0QU5rzseivRqHkPZfersVoTnrdD8CZJcrUAivU4h4rXq+VsFqkeNbOlfnJm7g4Kzbkrk+fFqc3yFgFS15b4uskK8xHPSE0dHpZzmpnIpLbguRaw8ght69EvFKP9bk4wKbsyjaYi8EQAXqxKCckaOynZ6mJL9ve8NAyfE6jRXHHkkEupErxLddMg47X94WHKUDMIE3NJKjWsrgzn/FRb1dNhHLGFbXLgeuxdpZ8W37LcWYp+kHCS0QLuPvMTXJhfO0l3BeOZ+CGlTJKFCW6V6kuPrHv/7g/P91plf+z+Ws5Z9ODzQt0y4gHSoYpVlWdFiru6fHhr+O4M7mEB9lUOA7/bPu0TivpysUqXdtm8ocLe9WPoHtrZH/ebHZD04S3GhMzKZVvAVH7wO7c8vvlf+MznGPv70+njHfrWtsTVH31Of3W3n8+SNvVJoVU/eowKscQy55Gea29cQ8nhJ2wI2TMn+wdOXmmXtao/f7MDaVwM4c5Ir99L3Rh2n6fmgshPFMYUwCiMsR2hFggW7sRPA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR11MB5994.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(346002)(376002)(136003)(39860400002)(366004)(396003)(451199015)(478600001)(110136005)(316002)(54906003)(6636002)(71200400001)(450100002)(4326008)(8676002)(64756008)(66446008)(66476007)(66556008)(66946007)(76116006)(52536014)(9686003)(8936002)(26005)(53546011)(41300700001)(7696005)(186003)(5660300002)(6506007)(2906002)(4744005)(83380400001)(122000001)(82960400001)(38100700002)(33656002)(55016003)(38070700005)(86362001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?KNRLN1sPjycLvBU+aUNDQZyXLi+Us7PslirSp00Hs+Yj8pvpJ9/ujqWcferv?= =?us-ascii?Q?0qvOEjhgUcnzf6sh22zMxMXIzRhDlpkKKS1kopGO7m23Ke6Thci3qAgbd+5H?= =?us-ascii?Q?naCSvf4GaqWHuSyUFT8qgCMCUHSPS6YY0ZmPMhHQR0ttpgR0qMSz8dfJqPjm?= =?us-ascii?Q?E9Qk5027RvqsUwyHGOVLHFUs0r6X9xPDrOh3ZEhvbQQ8Bp2pDyIkGMbL36st?= =?us-ascii?Q?NbS/5CbjfpN67IadIjUR5sedtisiATXcAYU56MnnYy1dYdiy1JIxjNsWWlh9?= =?us-ascii?Q?fpIlMK3FJIjm3CEjpzd9OYMawWETcQLaic22Druy5OApSvTvsHl9Bp6QDGGE?= =?us-ascii?Q?Qf6Odbsm/vJMtWBw7oKGSy921hUa8P9qBHBvG7/mpE+GQ48DLNFQo10ngBpq?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EV657W7DwGxrNTOF2KTOCBeS1H3?= =?us-ascii?Q?MqC2f1rM8nFZadFpnBhYbytjRAFSaFg7pk2FPL3dcHmXBVsMhAzouSkMR5uX?= =?us-ascii?Q?LPW5CSJotIjnoE78PofsQ9rSzQOZ+79nJtVCm28SQI2LbHkqq3oxRF0yHVOl?= =?us-ascii?Q?23Z/0H7M8qh6L/xeawKLthvSYKiPHW7ZjvguzLJULDnutI7Q6vSSgv3gHbQo?= =?us-ascii?Q?h/PePGfgyV9hV8icQ0FpyZvkHbbokL9SMGjyUjqQ6e2lDeUK4IoS6pFlJlA1?= =?us-ascii?Q?Glu1hX2t+Rjimbv3wQMgiRi2Mej6UFVAG4n+Ned2?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB5994.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d353ac92-ca4c-415c-9c33-08daaccd4877 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Oct 2022 03:44:50.9949 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ZnxllSKr2AyNBSQBf5Fp35tI5TD7GG3lHzAc9Sjp9L6oeOGdFYKmDZPaLNDuP77PbFNer2nTBPuGpwoIrV6AiQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR11MB7079 X-OriginatorOrg: intel.com X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org > -----Original Message----- > From: Nicolau, Radu > Sent: Tuesday, October 11, 2022 5:44 PM > To: Wu, Jingjing ; Xing, Beilei > Cc: dev@dpdk.org; Zhang, Qi Z ; Nicolau, Radu > ; stable@dpdk.org > Subject: [PATCH] net/iavf: fix IPsec flow create error check >=20 > Fix an error check where the return code was assigned to a unsigned integ= er > which can hide negative error codes. >=20 > Fixes: 6bc987ecb860 ("net/iavf: support IPsec inline crypto") > Cc: stable@dpdk.org >=20 > Signed-off-by: Radu Nicolau Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi