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 2322F43CFA for ; Tue, 19 Mar 2024 10:51:05 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F04A340E09; Tue, 19 Mar 2024 10:51:04 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) by mails.dpdk.org (Postfix) with ESMTP id 0C80640A79; Tue, 19 Mar 2024 10:51:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1710841863; x=1742377863; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=pp+YE8ZLLoYdT0GeaujAnDmU43BYD0fMpEpmLwo8Vnw=; b=GZfyB+y74O65Jj71ZC68reSdvqf8Ww+eoA2twfTECKT+6cTO+wwNWGs8 Tsgao/x0XKwFOIFwGXRXPOjyrhsRSDSsROaWAkF8anCZm2moETph+O6NY hLKSSGf75sl2eW4f8EDuWsYYiBMFNcU7q8goseQrlPUluOrwlK6sFq8Fu yEtUyPxmSPuNf4W1nR4gvdeIYVakogdJtTVoW+yPYS6NOfK1TWunkfM2Z K67N3ObCl8GOaaFTwowYQ4zkHRvk2Eqj8Nt3LciN6NnmLdNuGtz+HX6t3 mlqyZIFaZU9XpeaDUud5y/xGwppO3A0ilz6acJopL0wdBKOQOaWSmcXBl Q==; X-IronPort-AV: E=McAfee;i="6600,9927,11017"; a="5630717" X-IronPort-AV: E=Sophos;i="6.07,136,1708416000"; d="scan'208";a="5630717" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Mar 2024 02:51:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,136,1708416000"; d="scan'208";a="44699317" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orviesa002.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 19 Mar 2024 02:51:03 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 19 Mar 2024 02:51:01 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 19 Mar 2024 02:51:01 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Tue, 19 Mar 2024 02:51:01 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.168) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Tue, 19 Mar 2024 02:51:01 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RZ8NqpL/8/9V4ajZM0AI3+644YvYozDee39vw8jEkDPSw2GFGXc32/qBcQq6wWtn+Q2ROVcmTnr3W62HRX/HEJjcUD3t5RhTTu35dZYGF4O2kW7WA2cUWfu/j5eL5yT0rqRkqhx3S7/y2z+tXzcBV4tfGHJdSw1eFCyLATo4tnkuSsJyfnNd75T6J197bQikXuqUea1DZYdKZKgpX1Zmsw8M2HqUxKEfnX5uqWi5qAm0DcqO6p7ChS9HvbsX1j65XcSQ5TKbo9xastvcs/uUF0nhm1S2R0WrRK9aT0LT6bD7sQ0/1QptiWVleTNepjdaP9psGILF5tQB1q8Mf5jjow== 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=pp+YE8ZLLoYdT0GeaujAnDmU43BYD0fMpEpmLwo8Vnw=; b=GjKALGJPwXZOGrGzd/dnmMcj2XsvtQKrMFKa11sVR0mzlws1nWi7n1kZxwg8EaddNGsYzx9Vc2oFG/BJ5BhiYkWGmT2hlw4/JK0ejLA2++r2bvHEf0PpAcdijUzfjY9rAu4i7a70aHHqtawokpw/Yj8V9npSRZYM/aczOXhbuQ3RakP1cPNKQ/yULJqIwwY8kHFJsP1vT6Hwf62NJBYfy+ZWLWnjlwzWM6/GEGpays0moNKHl/mIOhfdkmkH3GyQ4DqW2SY9yD30v5VsIF0zkmYnMDtJVUizsv3ZuJc8rUJv44OCKm5HJL03/pqaoqYCL+CFwbNz3WnNPA+ZzZeWFg== 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 PH8PR11MB7120.namprd11.prod.outlook.com (2603:10b6:510:214::21) by MW4PR11MB6838.namprd11.prod.outlook.com (2603:10b6:303:213::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.17; Tue, 19 Mar 2024 09:51:00 +0000 Received: from PH8PR11MB7120.namprd11.prod.outlook.com ([fe80::dc72:fa47:3000:9a24]) by PH8PR11MB7120.namprd11.prod.outlook.com ([fe80::dc72:fa47:3000:9a24%4]) with mapi id 15.20.7409.010; Tue, 19 Mar 2024 09:51:00 +0000 From: "Li, HongboX" To: "Deng, KaiwenX" , "dev@dpdk.org" CC: "stable@dpdk.org" Subject: RE: [PATCH] net/iavf: fix fail to reset vf when using dcf Thread-Topic: [PATCH] net/iavf: fix fail to reset vf when using dcf Thread-Index: AQHadbErcXxjvyg7sUaKCxkuwt41ybE+2YpA Date: Tue, 19 Mar 2024 09:51:00 +0000 Message-ID: References: <20240314010049.340381-1-kaiwenx.deng@intel.com> In-Reply-To: <20240314010049.340381-1-kaiwenx.deng@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH8PR11MB7120:EE_|MW4PR11MB6838:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: iJTojhBD9ZYESmgY4j+1Y08/J9VXcnXIp3Yd3yMhj7NwOwh8XK1TR4Gq1x2DBqQvTdlD8Xg/A1Ro4iP1Zs3YeX4QqBSXbjcsrT93YwzU9MolIIAzqxs8C5xiZrC5qLhjGpnKyriXnGOkYyselkD4kA49FCtGkB21BqS5mfSy7tvzr9r6OcLUb1e9cs9iAmGXDkqxc1gmfTgpwviZ2pzc+iuqAGdS/3NmGS+xnTmXN+O9CC4jt8DHwcCC7L8Chi7Wbr4gQOz1oxewmr7O7dMPdu3JuXmwmpJ7nemO0XbPM3ZnBLsElD/D3UdaUpE5eZoq4fxQhxe3bb8MpkbPTJEpHq6j4emtVwB1jdGDEqo8YrL+nUo+ea0Y4AES4A5V+KTesefmL6sYGARRgCwqYdD8SjRc71Bgh9hTrnm/KMR8OqDB6nvSV6hqm90IYlD/Pg/o6HoxtJnpcWI+pE21PnUEz2JE9roTwbkmmEuhQumLuGQDx6cu5AKWGJPzjw8oVLSYeQinKjjo5XaVLsaSFKdowc/k4lgPc9LPzvLS0927rLDXIaYXspNALmyzKIFZwncPyw8OvaYfkf+LHxJr2bg6e0c+kD27E9nwzXGRi+0pCmuxgsCJPiByYyW2KE/CGJFoGfEY5UIY1dLdrOT4dPqTDPw2IZHnOPCg6hnrPK1TBhc= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH8PR11MB7120.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376005)(1800799015)(366007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?Qva0Tr1NxFh+QNaXvWQ6Oz3NvmTYON/m34gX1K3G0iZZmTYlK8DS8fcyjK3m?= =?us-ascii?Q?aAgUn4KiccS+NTWVbA40Ult2ayJlsl0C1Fjt19mBZO7UuF4cbyxqi4Rs+7Mw?= =?us-ascii?Q?iK9//bkbeCmHRfVizWAugS24i/BitKv6WNqODfQ/Ab/yQw364/A18F/6FeOP?= =?us-ascii?Q?ccGC3hEgzZ2RBu7JLTfuxOp6ZhcQ3mFcwdU9l3ZnqK4ATNlKPStzm27Ia+Wc?= =?us-ascii?Q?2JA5C8AmklwvGBRPJm5lee0OdYKEEtelLXZh0UKMtH4Y3ZHubi8tICpTaEvR?= =?us-ascii?Q?M0k8kkfw5iYr7dAK8b8coQWkqleK3W8RjEu8AAdxMGKmBIoxw+ue71htK17P?= =?us-ascii?Q?lUYoO17dEcYznMgdOxAgL1QXRqHKz3H0YeUWXHpqE1QQm0q96QrizWNYDePd?= =?us-ascii?Q?lfy2MLUsak33BZvgJTHtXjXnLXROx59yGJldtYM5F8bZ+tWU6KawFpdNk/Fc?= =?us-ascii?Q?HsSskIKFJIHfnfanZrAsKrrQszHARU2rnJobPkzSTQNwrZZl1nZUhJnNJmi+?= =?us-ascii?Q?qznCMFTfvp9Hfj+FPsClYMl1wadRDp4fvQYxo5XS3eM0I0rFNuedLBUoxR+S?= =?us-ascii?Q?A/yHYwIuPcGh1Z2K+JW5kcoB5134GS6Uz4TW3OTsRsOrkHeplTqf+h1oKQb/?= =?us-ascii?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wxBZa5IpmBBg7z4z3?= =?us-ascii?Q?DSqquoswaGW2blwUdF7m+xmp/Buv5XNaMNgfEQnJ?= 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: PH8PR11MB7120.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 134e906f-93c8-4bea-5c55-08dc47fa1511 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Mar 2024 09:51:00.0509 (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: ZgEQ0tcvQ3sYUy5eseJ49VjaKxcboxWw3dOP7EK2zG+msMqgnJjl/4jLsDyXzkj9EH2wxJl8/CfuTimZjrNdWg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR11MB6838 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: Kaiwen Deng > Sent: Thursday, March 14, 2024 9:01 AM > To: dev@dpdk.org > Cc: stable@dpdk.org; Zhou, YidingX ; Deng, Kaiwen= X > ; Wu, Jingjing ; Zeng, > ZhichaoX ; Zhang, Qi Z > Subject: [PATCH] net/iavf: fix fail to reset vf when using dcf >=20 > On the latest ice kernel driver, renegotiating VIRTCHNL_OP_GET_VF_RESOURC= ES > will fail without hardware reset when using dcf. >=20 > This commit will send VIRTCHNL_OP_RESET_VF to pf before dpdk resets vf. >=20 > Fixes: 7a93cd3575eb ("net/iavf: add VF reset check") > Cc: stable@dpdk.org >=20 > Signed-off-by: Kaiwen Deng Tested-by: Li, HongboX