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 8CCF0A0540 for ; Mon, 8 Aug 2022 02:06:28 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8040341156; Mon, 8 Aug 2022 02:06:28 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 34B50400D7; Mon, 8 Aug 2022 02:06:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1659917186; x=1691453186; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=7q6e6j0f1EdecCNQIRt5GlWqoM+74jjZgSnHz6c3aJU=; b=aQhm6nUr7pX1i4vS1G80jD67Ov8oXx0nt6vLUfjaCgpQsBrt3kwFJvns rf69NQHLkAH7smgVYXBOP+Wbc2uaM8870LCCZjx56dxA5mWAeaubU6Sn0 D5J2w4adT0iQZGKmwx838B1nGYN7738osbohzzt3yE9ytP/r5Gg2WkpNo pmohn7A3AmYpqQjVjZBpq4jwAP4Eu+/yafof8rgqh0YR621V/htMH92Jz j9FZ39GFmvM+wErRcugf5EJ1MNVvgg3mda4/5RoNIOdnDf2GMX2Rk/mdJ k7te9sthLlu2HT90BFmEuqnPhFDNByNcjmhKKIJ+3Xt+al9goJs+2hGT2 w==; X-IronPort-AV: E=McAfee;i="6400,9594,10432"; a="291248126" X-IronPort-AV: E=Sophos;i="5.93,221,1654585200"; d="scan'208";a="291248126" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Aug 2022 17:06:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,221,1654585200"; d="scan'208";a="849879604" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga006.fm.intel.com with ESMTP; 07 Aug 2022 17:06:24 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) 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.2375.28; Sun, 7 Aug 2022 17:06:24 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Sun, 7 Aug 2022 17:06:23 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28 via Frontend Transport; Sun, 7 Aug 2022 17:06:23 -0700 Received: from NAM02-DM3-obe.outbound.protection.outlook.com (104.47.56.44) 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.28; Sun, 7 Aug 2022 17:06:23 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iVNalxkP0OQLSiAjLHb+bPaIDEAF42r5qp4b4vVy1SRvnVEm2ePuYt0LXAIWUnl7TD3i+fQ5Or207A08mb2LT4YadGCunMpctcX40Wczm/T6O+uonzZu/52VM9VJ5qACh4I3kWL9DDXSFOuUQ/T4HxkkT5HB5L7OdjMuNnc/QNHkHZ6ktyoXHo9BU4XJ0nua9MvXrQbyDzU/iBsj3nDGRfL9xh8Egb18RpUmRlCcItP6Eu440xe8LdXBlRE5XyovDLBrgAv6kS44iJ/V5XLo8/mVdsOV5ahXOD+7Q888a9ehc69c9mE8C3Cq1OGyLw+3/L9Y5WzVAU1JDLnTBFmL8w== 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=7q6e6j0f1EdecCNQIRt5GlWqoM+74jjZgSnHz6c3aJU=; b=OaQqrukg2MM/0nGdkmyzi4heON6M6yYh3hmGX45UGh9Z605KrJTMojxtXY8XXvqP/CE2IJkA1+Dzdx5eUPPJlOdYpXWEBNEZb6WBM6DeMqkCRF9OlJLY2FMwWEfGCVLFg6klYxZ6gub+b1JYCXWEX0ohc+v2/Dp53EEfYUY+ds9jNxlK+sQAIlrIFNR+KNjRPFI6iWZFzblUxESggw43/sxXmNIShW+1rlMkvnI4PWE+iVPACWJKPMTInWI9EnlUJTEfyCsGJXp7UMQY7HRrZ+Lxbv51KgMq9ltQhPrmba2GkQFWhSt030IuohhSKHL3GhcDvQ+Uya3ND6OnRzF0hA== 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 DM6PR11MB3497.namprd11.prod.outlook.com (2603:10b6:5:6e::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.16; Mon, 8 Aug 2022 00:06:22 +0000 Received: from DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::dd15:c17:27dd:47f8]) by DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::dd15:c17:27dd:47f8%5]) with mapi id 15.20.5504.020; Mon, 8 Aug 2022 00:06:21 +0000 From: "Zhang, Qi Z" To: "Zhang, Yuying" , "Zhang, Ke1X" , "thomas@monjalon.net" , "Xing, Beilei" , "ferruh.yigit@xilinx.com" , "Zhou, YidingX" , "dev@dpdk.org" CC: "stable@dpdk.org" Subject: RE: [PATCH v4] net/i40e: fix the issue caused by PF and VF release order Thread-Topic: [PATCH v4] net/i40e: fix the issue caused by PF and VF release order Thread-Index: AQHYmCsMv11hd4opw0uL7g7YMN8P+K2a+2MAgAlJj2A= Date: Mon, 8 Aug 2022 00:06:21 +0000 Message-ID: References: <20220713071112.6182-1-ke1x.zhang@intel.com> <20220715090359.76538-1-ke1x.zhang@intel.com> In-Reply-To: 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-office365-filtering-correlation-id: 1458860d-edb6-4d91-cabb-08da78d1d386 x-ms-traffictypediagnostic: DM6PR11MB3497:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: /vTb0Sv/VZAtfKIwht4G/Co6qcIHJj4JD9xMawGrQXTSDMWXSVbU+miXXzOWUuEyE407TV3lCE8y3pJB8HjxULoKDLlFce2t6dqQ/gTjOPNPW+UkkCXNp7IM0as0GvylXghp3/7MEzsWdHTKcBbzFrmOllkbhsNDfvbJtkYJyl7HJAuWjmad/WXCkXqqLKzno1VcvDA4xS5SgcSHIfcKHtAByJ/vyx4Mwzf4GabcDyHcwZKTvsQahiCqGN7Xy6pIV+h9/gTYY8Yyd4r+iWytV2lVs9G4yaTZ62Pr1fOS4ZHNF1r6BBk1ky11CnLltl7HWlEzq/UteM/u8FjibnAOAzpy3mFj1tTB6vWJjAxQtP0xGA6xTr2i0GzUR7ILHmHlFAa9INynyySteEZbm/A57V/Ueqkos2N03oPMvDRzzDEkRDxwlyuvLgTfHeMHdocMfz7mlVwVF+Wm5+/S5cJFpNWjNZbOj4qoBC8XMDCozbb6OD1qeAMQU1LE3kwOFSfC5LPy+5hXxA70fD4YPvRqpz4/LR2gynKTLtADoTnt7t3rc4jcZdoEAtalsnT7k+wRXHDrUN59W60l/GOdQTUvVp8l2kmfyBvdkwKqoPTIt3nx/VmEYx2E/vrAjbnG33Dafv0AmhVZwzv3WdPR2C4+SOfHGxHLskp3SKg4Mn7XAzB0zEdQPAFLxrwghrXYm/VcC+mduT4dAJA4lKfOuzgvBMYRu9DoK9oudFA1eo2eTgFT0wCddaiv1Q1aa9/IKMMbQjmdr0AZluoU4dhT13Q0L6m5jiSXK+BEsxRNfd+2rmmS3nLVnc6UV/4GqIYjfSoX/iFFE55yTKPwoZXmNinU4g== 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:(13230016)(136003)(376002)(396003)(366004)(39860400002)(346002)(38070700005)(76116006)(66946007)(64756008)(66556008)(66476007)(66446008)(71200400001)(4326008)(86362001)(8676002)(110136005)(316002)(83380400001)(55016003)(122000001)(186003)(41300700001)(7696005)(6506007)(53546011)(921005)(82960400001)(38100700002)(2906002)(26005)(9686003)(478600001)(52536014)(5660300002)(8936002)(33656002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?hs+gv4wuxVL1oFmQ5sxQmLcRQ9AdldnRBqZn2p/PR5aP+EXwfYgnp//AvaXl?= =?us-ascii?Q?NjA+WWQwQ2bwpqo4PXlktDe3WsnigGgmo9Kyx+cU8ml8oDsTOS88UKvRcbSk?= =?us-ascii?Q?dcKhFS1VsbSWuFkBfQnk54V8Xz/PoNUovkriivCUV2ivgixesSX6v5bGgdOv?= =?us-ascii?Q?l0LQGNFUXtFsdLe7MhYdChJ9FVdr7NTloAQtefytYQXTpzLYm00qR+Xi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ruhTI+0euY9+/kN8sppv0ooCxsNTXgoIb+8r+v1rCxyvG9C/z?= =?us-ascii?Q?6ZaIBbBmSrtO3+GnRpiv2MEEjM77PQEusiqX3MyIiXq1/T98g2E3lYuARYhh?= =?us-ascii?Q?0zy0tFcZYj/VhVDqRnfQI+OjHBJ5KF90Y7ik6uVwN1YYJftqqJ+IPO+okNYo?= =?us-ascii?Q?/jOx4VgLwMRP7HVMaFlZn1QHPvwIR698ichcBlfXdy6qEaKFQWq5FB2kk9JR?= =?us-ascii?Q?SAgiRFagoKGnsFBT9vb8wtcUWUeeGnCuNK5miC2xhn55gtptRzQWY+8rSziw?= =?us-ascii?Q?0VL0LsFgnayOI2SJfxVHUzQYGOtxzxxU8GpjQmM0bgZmb++UxweW7wcDru02?= =?us-ascii?Q?Zqu5QwTBfqrNmIJh7XOGmjDAQEgA9qczXzVKppmY8WxhMFMmkY3wZ+MgPkgr?= =?us-ascii?Q?TWurnossMGMOHMroz/kbB9TM3A9cXR6y+DgdUZ0HaaNkixctMHBddwZinuQV?= =?us-ascii?Q?zbewSFNLA6oP534fDlhPWRCwT9JB01/d5gQK9QAU?= 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: 1458860d-edb6-4d91-cabb-08da78d1d386 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Aug 2022 00:06:21.8135 (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: mQUdr2LeCtCuR/TfnyadvX7WeG++B44jyNfW/S/DBk36L7qfmYD3sPIqT5cs078We3nqwBK1B0gT7PDnGuDMdw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3497 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: Zhang, Yuying > Sent: Tuesday, August 2, 2022 10:16 AM > To: Zhang, Ke1X ; thomas@monjalon.net; Xing, > Beilei ; ferruh.yigit@xilinx.com; Zhou, YidingX > ; dev@dpdk.org > Cc: stable@dpdk.org > Subject: RE: [PATCH v4] net/i40e: fix the issue caused by PF and VF relea= se > order >=20 > Hi Ke, >=20 > Please update commit log. > LGTM. >=20 > > -----Original Message----- > > From: Zhang, Ke1X > > Sent: Friday, July 15, 2022 5:04 PM > > To: thomas@monjalon.net; Zhang, Yuying ; Xing, > > Beilei ; ferruh.yigit@xilinx.com; Zhou, YidingX > > ; dev@dpdk.org > > Cc: Zhang, Ke1X ; stable@dpdk.org > > Subject: [PATCH v4] net/i40e: fix the issue caused by PF and VF > > release order > > > > A segmentation fault occurs when testpmd exit. > > > > This is due to fetching the device name from PF, PF is freed firstly > > and then VF representor is called later. > > > > This commit fixes the bug by fetching the device name from VF > > representor not PF. >=20 > instead of PF >=20 > > > > Fixes: e391a7b7f815 ("net/i40e: fix multi-process shared data") > > Cc: stable@dpdk.org > > > > Signed-off-by: Ke Zhang > Acked-by: Yuying Zhang Applied to dpdk-next-net-intel. Thanks Qi