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 5F9F3A0544 for ; Tue, 28 Jun 2022 08:44:52 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 574B7400D6; Tue, 28 Jun 2022 08:44:52 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id C9660400D6; Tue, 28 Jun 2022 08:44:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1656398691; x=1687934691; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=2BGtqRcadGTcFE3A8QPvd2U9uKVgVGiwIuGhPQQgQa0=; b=mOeAkqa+fSKfZ3oD7XFX7YaG/MAYvdTElrCo0Fyj4t1gXLNO+hCpgjki Z/c6OT8rcDC7MRT7IFWKF3iFgbHpnsFpbVYK2wsuI07X2ZhfRcFA5FwIW wAfy4ccPxGXaDyMpt5yHPx+iSH/PBW8tVX2M4NWmlRK0oYn2JgTB30/tj Eb+LCvtZfJ1/MAAqjDtmnqtDnNlUmhS1fOwQQ0cE00UAv0GdODVplGlA2 cu6eZ4cMWA7A5mIRaN0bHp/Volr9qt5kKFjffBUwomU7RUNmNOgIPXYAq cuXRpCYS6E1A4wSbihRR8za64Z4ecLsFab8bJ8ED+/0UHn9c0cZU5CxoS g==; X-IronPort-AV: E=McAfee;i="6400,9594,10391"; a="280411953" X-IronPort-AV: E=Sophos;i="5.92,227,1650956400"; d="scan'208";a="280411953" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jun 2022 23:44:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,227,1650956400"; d="scan'208";a="587753415" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga007.jf.intel.com with ESMTP; 27 Jun 2022 23:44:49 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) 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.2308.27; Mon, 27 Jun 2022 23:44:49 -0700 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) by ORSMSX608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Mon, 27 Jun 2022 23:44:49 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx607.amr.corp.intel.com (10.22.229.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Mon, 27 Jun 2022 23:44:49 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.102) 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.2308.27; Mon, 27 Jun 2022 23:44:48 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Qv4zGOYWa/pEn5C/v4LEBWMfK7lyQuGhPGug5FJPmlPSYR4Dqp1zSmx/oIWwVqjeliwBHhSTbaP3ZLiCNCgvdR0xyxYVLI2rCG9EKMyBzCzlRutCL2wvXdKBLvhXac2J9bEYCsn0OkiTFw4rjFUhQe6QPfgIEOpu7mRaBRWn0NCh+jGeLEQ8Grcut9v3cP33Q5+OfGuiuusS9H7G5m1j43X2WeD6Z0Gx1DUP6/HzKMdojhQtNESmJ1ozkPVJeUBqyXpgqIYFXOoNieZv/t6SQ7AFTVzVm9QBy2/slZNRa+Lr5SYAXpOzGkdUCl9Mfkw5nXD0lvVxJqbZ/74OPHDg3g== 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=2BGtqRcadGTcFE3A8QPvd2U9uKVgVGiwIuGhPQQgQa0=; b=RJh652wjjCkk2MEDIx+5Mvhf5XDSCqpR0Ndn2Xu85cR+Syiu6iABUXU4jmwAx3H+6GMj3C+HJBQiooCV4vOhY4ZAS7I3xeJwRYOhNpXDtoQfRef3Fmcx/OVztX66HeYBHjqFOEqO326i2IV/FW3pZ2I+APAPiUPdwEi1AOBWOcdJs5hOPG5oon1LpcR1EWlgXwxUNXUACEG6tH3ecU66WCWCfFfeA/FMK8z/mQKjuUW3t+BFvdtK3CrFSTiC15kjwEbiMSS/TTUQT/7092WsUuX42a9Y2DPRHa58ubbYX8fXtuYYbDxWyiBzvgFSDPzXidhsrUp/3+tMwKpXDoMvDg== 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 BN6PR11MB1235.namprd11.prod.outlook.com (2603:10b6:404:3c::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5373.15; Tue, 28 Jun 2022 06:44:47 +0000 Received: from DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::644f:ecd2:47d0:aa6d]) by DM4PR11MB5994.namprd11.prod.outlook.com ([fe80::644f:ecd2:47d0:aa6d%3]) with mapi id 15.20.5373.018; Tue, 28 Jun 2022 06:44:47 +0000 From: "Zhang, Qi Z" To: "Zhou, YidingX" , "dev@dpdk.org" CC: "stable@dpdk.org" , "Wu, Jingjing" , "Xing, Beilei" Subject: RE: [PATCH] net/iavf: fix issue of VF resetting Thread-Topic: [PATCH] net/iavf: fix issue of VF resetting Thread-Index: AQHYifaw8FZwObXBKU6TZ74px2jvQ61kYPRg Date: Tue, 28 Jun 2022 06:44:47 +0000 Message-ID: References: <20220627072232.243946-1-yidingx.zhou@intel.com> In-Reply-To: <20220627072232.243946-1-yidingx.zhou@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-office365-filtering-correlation-id: fc6cc52c-3e76-4dfc-6884-08da58d1b19a x-ms-traffictypediagnostic: BN6PR11MB1235:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: KkJ8+fBUDobHjiTdAdpYGyOEmcEfOImuv+IhBpkybteOQO2xXq4Lio6ZtIZQw2IXjH+VMq3jUT/rwcp6taJEdNt6vxGjKBkqfBeZn0lypaH8eoMJG52uOfmUi5nhb6Q/18lszkbVZ8mFv0ucHkUb52Py9Ho8AOhqu8YwaFCd0GjkBqNc/sF8nfihuGmmhhrwqzyBQqyH5w1OewPOmFu+fpWEmovGB9qvLSk6ZoLy1N68q4Fyu8u6t9HShC79KlA116lu7qzoTOKXZ5AfdIml95TM+AMCsEB5h3sRUMAybebbb0nfKN+7UjWg6t5O2jagJ4WywmsYIiaOKc/U/7hfVgAopFYYIFaMP2mITZDUN3ogxZ6oE6Lm3CBuSo3WEH31ye0b9IVChc6UqSDK3/fRbHC56T5W2zdN6EMsepIaJ5uDjlSVSvBPm30kq/uzTf7YxTUBTXWH3kSAgtRUEsVk0O1R0CcpTMdKAwsRah1o5fKzqPqxkOCuexErz+V6EtF6/FyEOyXjtXoXeWyLITH0KF0Mta2oN1HfGjrpRQuPvOD4kNd/Lg80ka9mQS8E1NOdUoyjDGRIyz+9H0IEputaTRhoUYDtReYsihGoNYm3wuIKiVwPc8BJtZg3FYQJ5/bxJJxYvoTTQAoFrWAW+7xbA6xBiVm90GLuXXAbr479Pq8oTdmXeoCmH0xay34J8Pf/IyO7fF7Z5Ddja4i87+OHp9c3AXcmPfj9p06raZgbsBzwOxbY6EydagLtjYJ/nVk4l+xHyrqvzrA2tlyH8FClKX3lblJWnZQ6XrXRpwcmVfo= 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)(39860400002)(376002)(136003)(396003)(346002)(366004)(7696005)(6506007)(38100700002)(8936002)(86362001)(53546011)(9686003)(38070700005)(5660300002)(2906002)(26005)(52536014)(66476007)(41300700001)(478600001)(107886003)(122000001)(71200400001)(76116006)(82960400001)(33656002)(4744005)(110136005)(186003)(450100002)(54906003)(4326008)(66446008)(55016003)(316002)(83380400001)(66556008)(8676002)(66946007)(64756008); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?gO7k+gyeEZ29QpWz0Cjcs7VdlR6TpVTwsEQNqP3YuUWd2aagBsx2OOnIdkvg?= =?us-ascii?Q?T+hxIoVRHC+vQMKNhppUHvAMVUZu67OwggeX5LHIwLqf47mmTeHkEIyTzYPn?= =?us-ascii?Q?opCvsU3dUzrlqO5j33/jcBTynKy/iwqRYu61g0BkhF77ZEiYiQ8CXCGMxEQQ?= =?us-ascii?Q?v2RWJ76DZj7gC7ZzfBQ7bdmpL75PgT9NbkjzgpAUxwQ1rbuHnLWZO0XpYMFN?= =?us-ascii?Q?c3JgJH/aqUmDvmVB7A+GbfdKdi5m7m0sF8dxoV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4jrI56I0nTpTfyhf1Y8uOWjtinWfa6Of8IkYc79CYubYgz5q?= =?us-ascii?Q?aAVcPKC+8n7/vg/E86kiJBGyw+MQEbC/uque+Dw1Um3LRdaAGzgH0GfYf6qm?= =?us-ascii?Q?IEsUXjEGQacg/yktA9mLf/giJIaL2TiGWyKMPcl99hH0nM4LvpQ5cQALmAsC?= =?us-ascii?Q?ikFHjnsHIUPa33v+T0me1YJvALpqHYSkrM5HKPKc9ZRNsW5kWsuxaPr++VAl?= =?us-ascii?Q?v92Jc7RQYpw4pDwc9Rl4N5jI1kaeSJaaA/eegaPvzWmrWSOpNifoKMwpO5Iv?= =?us-ascii?Q?OL35B53W6haYLOs5E4w8JOZ+r98c6ho7nbMwGM4BHzEInF1wUkAKOQPCUT3G?= =?us-ascii?Q?VaWY4eVYbwgrpNdgJ5OjeTn/UwM8awokr1338nI0TNKf3XrUXSR5nWZ1Mu6A?= =?us-ascii?Q?otetWyymwIO8HPAIU/NbQ9MXF81samCbdUQ3f8q4?= 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: fc6cc52c-3e76-4dfc-6884-08da58d1b19a X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Jun 2022 06:44:47.6973 (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: BsM9kRi2OUWY7p76J0Mx9rCB2E6Pjfi5y53UWwibpaqBA2PFv8yWyO3Sqf2VyoZozf9aXeTyh99SWft5vqfcvA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1235 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: Zhou, YidingX > Sent: Monday, June 27, 2022 3:23 PM > To: dev@dpdk.org > Cc: stable@dpdk.org; Zhou, YidingX ; Wu, Jingjing > ; Xing, Beilei ; Zhang, Qi = Z > > Subject: [PATCH] net/iavf: fix issue of VF resetting >=20 > When the VF is in closed state, the vf_reset flag can not be reverted if = the VF is > reset asynchronously. This prevents all virtchnl commands from executing, > causing subsequent calls to iavf_dev_reset() to fail. >=20 > So the vf_reset flag needs to be reverted even when VF is in closed state= . >=20 > Fixes: 676d986b4b86 ("net/iavf: fix crash after VF reset failure") > Cc: stable@dpdk.org >=20 > Signed-off-by: Yiding Zhou Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks Qi