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 D220A427F6 for ; Tue, 21 Mar 2023 11:30:56 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CE390410DF; Tue, 21 Mar 2023 11:30:56 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id C897640A7A for ; Tue, 21 Mar 2023 11:30:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1679394655; x=1710930655; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=LFIjSdxTPgu1ifaNk/YYQrGnsXsNwiR7meiOzYF5EL8=; b=Tl22wLoml7TlMNBe7rHx47Xj08JIdTK8FtXakud5AVOwObiI0+aXSrZk JCOEbad3zjX7oWHLxnsCvQqmSWoiNZO9B0Kv8umlz4PuFd64D9ESrF/aH 96n49sS39hGMCXzbaFmqtKMbkbboZVbyRNmH+uDzQVz7Td10JTmaEFVKG F9UMWe/mgmkDrKlndOHG123QoFK4y2XjVbJdBlGry+MftbbQNvdZ4m9r/ 9/yXlB+Gpajw+IVn0gzxiyHpdeiPnedVtK50IL6edmmQSgY8SKIiXqmzS 6cNchTZY5Lx6Gv9eUGp7xBVkmDsn7FkG59GNEjR+kCVKOwY+YlLbwroB2 Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10655"; a="341264146" X-IronPort-AV: E=Sophos;i="5.98,278,1673942400"; d="scan'208";a="341264146" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Mar 2023 03:30:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10655"; a="658712820" X-IronPort-AV: E=Sophos;i="5.98,278,1673942400"; d="scan'208";a="658712820" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga006.jf.intel.com with ESMTP; 21 Mar 2023 03:30:53 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Tue, 21 Mar 2023 03:30:53 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Tue, 21 Mar 2023 03:30:52 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21 via Frontend Transport; Tue, 21 Mar 2023 03:30:52 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.109) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.21; Tue, 21 Mar 2023 03:30:52 -0700 Received: from DM4PR11MB5994.namprd11.prod.outlook.com (2603:10b6:8:5d::20) by SN7PR11MB6677.namprd11.prod.outlook.com (2603:10b6:806:26b::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.37; Tue, 21 Mar 2023 10:30:50 +0000 Received: from DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::2c5d:49cd:a9b4:f764]) by DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::2c5d:49cd:a9b4:f764%7]) with mapi id 15.20.6178.037; Tue, 21 Mar 2023 10:30:50 +0000 From: "Zhang, Qi Z" To: "Xing, Beilei" , "Wu, Jingjing" CC: "dev@dpdk.org" , "Xing, Beilei" , "stable@dpdk.org" Subject: RE: [PATCH v2] net/idpf: cancel alarm when fail to init adapter Thread-Topic: [PATCH v2] net/idpf: cancel alarm when fail to init adapter Thread-Index: AQHZWv/zpFMAqJKyf0OUCKBiCrEkGK8FCiIw Date: Tue, 21 Mar 2023 10:30:50 +0000 Message-ID: References: <20230320070622.28776-1-beilei.xing@intel.com> <20230320071219.83383-1-beilei.xing@intel.com> In-Reply-To: <20230320071219.83383-1-beilei.xing@intel.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=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM4PR11MB5994:EE_|SN7PR11MB6677:EE_ x-ms-office365-filtering-correlation-id: 8f35b8c7-55ff-40ab-8e38-08db29f75792 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 5Euo33UbuI0jnyNoxUDNqraUriUWVLNHDRjIW0lPO75bxr1RPEx6bqv9xud9yqviRjzFBQngUA5U+8zGCC193pckgy6qoxDdKeZF20pmDDvdZFT+GsfRip+yR1pML+e+O8tMy7jmgyBSES20FekamkZ8ecZTIwU7oqAYj48pOtOhoKLh0VYFrADbGFgUWsNAEt3FQApCocWiMePrpVNBjZR6jffd/U5iTLTGuOJ7spl0CslwNfKNmdOoCsxs2rDObjIC6dyUq9sA4NMpFm2F6ez6TBzuYe83Mqb0UR/0TsGrI8sYScI8/+gK12247ljQIm2V1rOHyJf32lDpyZattiRqd3ojsi/lN2SgXFet00cLoR8fuTwSpHf3787geQEd52AHAQu9sNx/r4rRtPi/tUQaWngBbayVELgUQ25SEerCUW1eJOLQHjpA1oVqqSr04jKnHhT+tKXv80Lv3uubUy7Xfup+mBEjGYUnwOzkGCwbZs+XOarpfN51XOGjzcjNlRvCPa1z8HPHPBGuC2j5Ft6R+0ZWW8wrcM1IkIo19/hdCsuVWEfXBg2eT5SACXuwjgGiel10DFmMxA6yyCdQUYZFaeJWAGEpo1cP6uaccWw5xrHm/UYQnWU0pXvSVRdqv+lGDdgnJGyS1QMsDo/p44Hxd0JEJKPeHs7V7h8fbK829MVSA7L4XzhZHBL+fggNTRXESTxG8BqxsqV/KcFmsg== 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:(13230025)(396003)(136003)(346002)(39860400002)(366004)(376002)(451199018)(6506007)(82960400001)(38070700005)(26005)(53546011)(186003)(9686003)(71200400001)(7696005)(38100700002)(86362001)(33656002)(83380400001)(122000001)(2906002)(478600001)(52536014)(66946007)(316002)(54906003)(110136005)(55016003)(6636002)(4744005)(8676002)(5660300002)(4326008)(66556008)(8936002)(66446008)(450100002)(66476007)(64756008)(76116006)(41300700001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?SCWcBQaQHEickHMxraSiO8A8mtw2WzCuRwZO0s4vZabdGhEQZXMazyK7wYbB?= =?us-ascii?Q?p92CeaJkkn/MuGs2sYvA+qf9DcWzkfKnYjtgFu6Xvt+VcxJYz+ciR/1cMlVQ?= =?us-ascii?Q?q2a6E+V3NdzpF4Lz0l/+/eYG/V7+yiWCl9gwGJubRPKH2bT51ZCJ3V3yYAKz?= =?us-ascii?Q?ABPJ8vsdzIaBi+khUOWZLvLigOXkxhkIJ+YumMaQcu7fcV7VCWzOO7MOfmtK?= =?us-ascii?Q?CQH5RiN9lGWtczZ+Dw4T05OIivIFMxlUmy9k9O31VVEktjQkHXVsBhSkNasC?= =?us-ascii?Q?Z5DzBvClCaWFbsE3uQGnMRhBlk+uc6BkXCVZPffBZc7sceWOgs30Z8z2DNpt?= =?us-ascii?Q?+BlFQuwuykG34k8n5DfGLWSrD5tAN5aUt/CzZuH2aAPIC7QR++Aisg8/Yocm?= =?us-ascii?Q?HA5wTUmkIKAj4rVJu2ke2zZC65kgUDB7kYPMDqdqTVI2875W5gsGTlzv2hL6?= =?us-ascii?Q?tC+90po5Zv8xSuJvPFHwhRj1BYkOodn+h2+e+GT016dogSLNbfvWRScf9eKO?= =?us-ascii?Q?HlbPwblr2EmWVcK9P3Xe5GwC2+bhziZfzvsABY7VMPx51v07/i3VZxAd8owa?= =?us-ascii?Q?0DO4sMPHEU6BufqdC3UzMwwsYaxvAKC1uyJUhd6GJ/8MbhAtgCiAEpnFcHgq?= =?us-ascii?Q?D8ADKUlFnwAofXIrp1U/ohyFsXofwga8ITq9yvHhHtYOmEbzYGdCktkgJWaM?= =?us-ascii?Q?ifbOQNSkPQeG3RfcVfA48VEgj16N96v+yCabuTOo4JWWCRbeaGtZrUwv9uQw?= =?us-ascii?Q?UBW1m+HBYJqIrX0haMsxgBXa9FUqACZ/KaYoX6ww9BfkNlpdEiytSppZyieM?= =?us-ascii?Q?X4lkO97Kynuw6C4ng+qGc97HaCJdblvwKldXYfxeO9scRMWAs1w9lzCO6Lso?= =?us-ascii?Q?eNyKq7dpd3owCLAHDY/FerKNzYfd8/Nddu6xV2aQBfHUGkUXjtdX3y1aNHSp?= =?us-ascii?Q?m1UP6XmnxjtGtFn1e8ND8CSE8MFnKpY9HAbCvwBr8141chwnGvme7SXzVBgO?= =?us-ascii?Q?xwC1HeikezOmSGj5OS5uyNRBquw+6SyWRMImadvUXdV0EHg3Jnv7BMWVaNhB?= =?us-ascii?Q?dW+Ub67Bciw5A7geGNoAYidIztVVTTTWWna85H7d/22Bl8fhG/BjT9SCceG7?= =?us-ascii?Q?fvlV5BwuUScxqtFng3mycmiDI+lrF8jHHdvY1ChsDOumIAklvqUGJxsFKIMB?= =?us-ascii?Q?AP3IRfTBN9j5++pZO7PluIACvkN8gGTsAp1wmctsISbRr5mwkNfqBLeQgqOo?= =?us-ascii?Q?2NcWBlrKjnqjlkRoyOw1ouCGZlI5zqu2VZOy5jmFsGSWeRsUWQlOF7VyZb/v?= =?us-ascii?Q?wQxoAP0c4gHhoBIEo9Z272w1GjauS334wRBiLLReIx6E0OX6srgrexUXT0Bl?= =?us-ascii?Q?olxAjL4svPJPXCFLQhd0A48g2NNwq8n6latn1o+rbVqDRTyP4U4Kx3ChnHuV?= =?us-ascii?Q?Ar2e3g85dBcJrc/UAPXFrq1afcbQ+GHWlohzkvQXwjoJYXMnfpyT8iIx5A5A?= =?us-ascii?Q?zvLNfOvMnkMT1zYFsCDD9J+K2w9UaU8pvXki3YYGRdIOCJ/QzzP+iJd6NHY5?= =?us-ascii?Q?+Q2msPyPf3GjtytjtO1UF67FZB0HkiElAQOggMvd?= arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AxDPD5EXCY337wT4YCsid5uJe6PIX4AibQXloJJgtTijbO6QH/vnTs3pIImheyFi34YXU3OTunuVAe20Rs+FSaAE5RgnOYcuC57UotNe/bmT9Gft3h5UxGF2Xz8B16wxzy6sLkGWuXoIAROfLztcw7+fpm6HZPe2X8KNnGzf74QMmT76f9K+elFvS4MNAEicHsc8xOMiHlwZnBq6ftBTsyTeiekXzzwSfIS+7JaX1VlBi9FAIt5v0wJv7EUCf8BabIOoCrlZiWZ+WMGHlhGPGtgVLfYk+Mzxc3p+lhBnqL0g++S49ZF0WZRtVP3cftX0nzg2wGNH+jzRKlgOlYV/4Q== 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=dI2GNglOTP3fGUf8zzteeb3F6X6pW+Ir8nLgzn+mTT0=; b=bKXG91XSnEMHLxv6wuKbxwMb2dl1fIcWx6DzbSyc0fcUlWalnpiuFCa4lY5tdAVZWgvUJdfyiQAGZvYYtpdY8OPIpZA+yP4DXU9MBj2T0jn0MjFI/aE/H+IfaxmaIdmvTMc3c0LRXskM3GRGWIO9ruz9kNQ3STOKuR0Kz6+BNdiDMdEo92anHy8PwDRals3hgpNpaE/Dp+ryUe3xKGGtskONegRQzgevlRKbYdNyMxr65o0Xm5HB/Q4bINOI6/IiVFnQCygw6WVrG3yGiiOwFOKHRj/9cHCPNv6kK6jxbwpYPHacN0jRVFBpJuaaD4tjHThOGbKGkwjPquArfjNu/g== 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 x-ms-exchange-crosstenant-authas: Internal x-ms-exchange-crosstenant-authsource: DM4PR11MB5994.namprd11.prod.outlook.com x-ms-exchange-crosstenant-network-message-id: 8f35b8c7-55ff-40ab-8e38-08db29f75792 x-ms-exchange-crosstenant-originalarrivaltime: 21 Mar 2023 10:30:50.5471 (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: 7tw5TCUe8lHvRSTTntl72K/MBjcVqNB2t2Bu3B1Px5jIG05bhH1GHjApZM7HY8pP6JYwdD+i0+rxityWpjyVfg== x-ms-exchange-transport-crosstenantheadersstamped: SN7PR11MB6677 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: beilei.xing@intel.com > Sent: Monday, March 20, 2023 3:12 PM > To: Wu, Jingjing > Cc: dev@dpdk.org; Xing, Beilei ; stable@dpdk.org > Subject: [PATCH v2] net/idpf: cancel alarm when fail to init adapter > > From: Beilei Xing > > Cancel alarm if failing to allocate vports memory during adapter_ext > initialization. Otherwise, there'll be segmentation fault when fail to in= itialize > adapter_ext. > > Fixes: b2f9d4788d5c ("common/idpf: introduce adapter init/deinit") > Cc: stable@dpdk.org > > Signed-off-by: Beilei Xing Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi