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 B0CD943DFA for ; Thu, 4 Apr 2024 15:42:45 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AAD7B40649; Thu, 4 Apr 2024 15:42:45 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) by mails.dpdk.org (Postfix) with ESMTP id 4194E4025D; Thu, 4 Apr 2024 15:42:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1712238162; x=1743774162; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=nQAZad6Sk08GhY2jirOQGtb3ofB2YwkkVly+z+ayNpw=; b=fgYx/Cp8tj17Xzkla8IK3UtlZepGU6tPgvrBJw7wk1jfRTXJca//e9jn l3N3FAY/mvA9ebTBu2TO810yI5d/JuoqvjnOUlfVOSWG4bjydc8116UkQ /MjB38q+18d352y6pMraw6CBH3j6pRJaSakg5d+bLn/uZrfecOkaN9hkJ TQpZTeXfdYOk6RMX9wnnUfdnog1dP4NxoswEIKxpJCv9ZXToxbpb+wpjJ 8oslQru9SE53W6hs2Z1nWWWvfhWv+ZVCnYZQ7oWMZdcDByBlNpim4xKCQ d//4eGdIg1qygilSmc82E5+03zHWS15IDpdKC92Rk1ZMBbBfljULgZKFm w==; X-CSE-ConnectionGUID: hw/b0h4uQmqxZnRbxX1+Rw== X-CSE-MsgGUID: c/qhM1WUSxqC1R70DHVmpg== X-IronPort-AV: E=McAfee;i="6600,9927,11033"; a="18086638" X-IronPort-AV: E=Sophos;i="6.07,179,1708416000"; d="scan'208";a="18086638" Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Apr 2024 06:42:41 -0700 X-CSE-ConnectionGUID: 3y/wMB/5Qne14VNOm0DbXw== X-CSE-MsgGUID: o2alx6qORh6hh9UebM3zaw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,179,1708416000"; d="scan'208";a="41942375" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by fmviesa002.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 04 Apr 2024 06:42:41 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 4 Apr 2024 06:42:40 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) 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; Thu, 4 Apr 2024 06:42:39 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) 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 via Frontend Transport; Thu, 4 Apr 2024 06:42:39 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.101) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Thu, 4 Apr 2024 06:42:39 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OmAtS8+h8R5Pl46BdKFsibqct/NEYQdrp4/qbEqx3Oyo/lyZ28DV3MVsD8N0IJiQU7b/WNDZs9mAo4SgtqN9+aoW58x9fRLDCJtMF/1vz5jcyV4ep9xGQpHRhG7OLm+A0c9XtfxLWbsqp8Po1VqPAx0K+THHBAcoQZuhJ0cb4ZQXa4WNmZZha1kRoVfxjDzq+CdpZTxVa9HiWipkNmmEOBCpFRZWolAwp4NfpkeUzwBBdOpSwyzUUDNPruQQyUabFI8RE/A7dFWmrdjm2Q9v2HatYWqRTXQXo5E510wjqvG2u0nbHMpI7VFPt2qgtNMbHtz/qb17xxbnGyZKqg11Zg== 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=hRIDvRtqpGKCvKgjqEAkIJze6Edss+sIgJ9bQSg3Be8=; b=diGSdKeTFOwFgHdt7zAQTt7apKaTvjxmHiqUEgXqWaCPE+V2YZo35gzqO8uRf38OafKK3X4oiVdHvMiVAIZl1nmN5zLzCSMm4LN4BP83KJ7DLiYlswQ6LG71WcsscwpjZgGwUlJBKmOcSNtrfiNCnQcsSwnChusxIfOydKeYbsNTXdWneLVC7hr5OaI0QFVfKvfx6lcLfBvlxsP+8NQhjxN5peXAzwqb40OWxa6Zu8OV0NUFBUk8bajswzeqjo033lIv2aoTz8cDoJYjo+OL7sph6aP2+xwl2Okaim6wESNl9zhjYQHEdvyQIUzBDuxUuyVYdCNEvWmrwWU+7BG0bg== 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 DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) by CH3PR11MB7177.namprd11.prod.outlook.com (2603:10b6:610:153::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.26; Thu, 4 Apr 2024 13:42:37 +0000 Received: from DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::487e:e20c:ad88:9c0f]) by DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::487e:e20c:ad88:9c0f%7]) with mapi id 15.20.7452.019; Thu, 4 Apr 2024 13:42:37 +0000 Date: Thu, 4 Apr 2024 14:42:33 +0100 From: Bruce Richardson To: "Li, HongboX" CC: "Deng, KaiwenX" , "dev@dpdk.org" , "stable@dpdk.org" Subject: Re: [PATCH] net/iavf: fix fail to reset vf when using dcf Message-ID: References: <20240314010049.340381-1-kaiwenx.deng@intel.com> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: DB9PR01CA0014.eurprd01.prod.exchangelabs.com (2603:10a6:10:1d8::19) To DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB7309:EE_|CH3PR11MB7177:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: tMwaCxsphkuZbTjVwFGw0mUKklJtKbvgaQzzjRggJ+nn0cjKiKxMpji01RQEhoph2/ag6d+usrf88r64F/ddMF/S4hT+Du4qjK1NnWFxgcen08n3L5lEuuBKYpR9kPIFj2d8R2c2nMQlh5sxmcucNhkl4X55wsbfI51xnx8IDl71WvlKNke2c+cANXB/qqmJ3fcpIhkgQLjC5e+OvSB1HSabOD5codRgTQnK86z0sUOIHAvMOppt5OzQwlI+voNj2pCpY1SZiIi6mpvCf2ye92AlpaD0lYXCnmdLTMkaRxclxwWLWMwyTncKd3X/FbyR3NgS6+Sy+cqfXr7Fr4L9N+MNBSQMlmV9/hLTXlGgGhVC0w1G8XHPm27BxzczqFOqno/DQFW3oSeQ6mOI5dr8qOpwsmKJCBLAzT1hLct62Q+voZBPF4H17hCHBzLwsybK5lYF9kXdDV3SuKFpBe/fkfq5Hd7RmTNgm1ajLqYaa6HbH0ft2SOj7YNGkqDrFkzRwzBvwc8eOwuKdQ8HU3M5u/K9/XJHk5ZJQlkoeBL46KDTHAh5QoSFFZnxIDqy2ghY1GyDbQhshlbfvcCFZ5eQcwvhWCn46p1FiGdRChGdU03+ipc7e+Ri9aLxjtFb/vD5bkjx+b6VAzDYqlTy/2C/Q+FPY51otRZo23/jfS+wqNc= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR11MB7309.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(1800799015)(376005)(366007); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?nLhubb5lxVAVmk9Sk7klTT2Y06yCy2tfaagXRuUsVc893BTG8bzBmqbjQvRY?= =?us-ascii?Q?Uc7tbCG3fXh9vF4pfU56LkjVxUByUyKBMIBHcumDaBP/aulcZHADzQsjr78X?= =?us-ascii?Q?q3SvVPmP6DY3zMpb2EYk2m6j2ywm9bYora2ESaxSaFnQA334nEM9WrbDywco?= =?us-ascii?Q?HoWxBc0sX5OPwPaC5bMDHaR1YY2aMCfvOrLOFyHzQ9gJnYIUL4UWZjToVLBi?= =?us-ascii?Q?KodMBPOYPcWB6sOB+QnwcV7q41de/3Bz6kwAGOpC9iAUE97bC8G7ocaG1G1M?= =?us-ascii?Q?5l0EeJXD/51zFihxxWu+ypkBQn5RtbQbWVYWOY8PH3SxqnLMofMigz8G4UnB?= =?us-ascii?Q?vcxk2zxleKvcfVn2NTGiiIDJEiRBmHDlqRQVvX0VUea1VMWQZz6xb3n1gabj?= =?us-ascii?Q?pvwpY02idVJ/cXiXITplITesh07MF00iQuE6BNw9MnprJr/ISLblEw2FSp+Y?= =?us-ascii?Q?ebhoYTd1/BV9Sbvqd01OUy+Sb3w9FwhRkTBRsVpRsSDYl9jH9IRf4yiwev6f?= =?us-asc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859y52T6thmAzV/?= =?us-ascii?Q?bJ3h+NYnFqZxw9fAtu7bJ7lOvLYMDyDsy2opiBAPWgoQIMigM7NIlD+KICxI?= =?us-ascii?Q?qSezk8873u65M6a/tVaAjrFQYF/EYop1vQkdk4hodqS3rXhE58nfCbAO7c/F?= =?us-ascii?Q?r12+47d8RbmPNEq3yrto4btj2xItA8zPY+O8tKMpR7U6usUm9bJ4gNodpWu8?= =?us-ascii?Q?pA=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 658dd85a-2d3d-4e37-adeb-08dc54ad1746 X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB7309.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Apr 2024 13:42:37.7662 (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: x2rdwla8eQzNSaT6YKx3CVYwRqWjAB1x9nZub3lwgxrH0A9c2uQgSdfln8sqo6MLGN2xK0+vviF6KlPExhmBqq95Sa25t2vmTVEhx8sbc58= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR11MB7177 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 On Tue, Mar 19, 2024 at 09:51:00AM +0000, Li, HongboX wrote: > > -----Original Message----- > > From: Kaiwen Deng > > Sent: Thursday, March 14, 2024 9:01 AM > > To: dev@dpdk.org > > Cc: stable@dpdk.org; Zhou, YidingX ; Deng, KaiwenX > > ; Wu, Jingjing ; Zeng, > > ZhichaoX ; Zhang, Qi Z > > Subject: [PATCH] net/iavf: fix fail to reset vf when using dcf > > > > On the latest ice kernel driver, renegotiating VIRTCHNL_OP_GET_VF_RESOURCES > > will fail without hardware reset when using dcf. > > > > This commit will send VIRTCHNL_OP_RESET_VF to pf before dpdk resets vf. > > > > Fixes: 7a93cd3575eb ("net/iavf: add VF reset check") > > Cc: stable@dpdk.org > > > > Signed-off-by: Kaiwen Deng > > Tested-by: Li, HongboX Applied to dpdk-next-net-intel. thanks, /Bruce