From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id A0BBE58FA for ; Mon, 10 Dec 2018 13:20:31 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Dec 2018 04:20:30 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,338,1539673200"; d="scan'208";a="124571049" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga002.fm.intel.com with ESMTP; 10 Dec 2018 04:20:30 -0800 Received: from fmsmsx117.amr.corp.intel.com (10.18.116.17) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 10 Dec 2018 04:20:30 -0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx117.amr.corp.intel.com (10.18.116.17) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 10 Dec 2018 04:20:30 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.59]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.203]) with mapi id 14.03.0415.000; Mon, 10 Dec 2018 20:20:28 +0800 From: "Zhang, Qi Z" To: "Yan, Zhirun" , "dev@dpdk.org" , "Wang, Haiyue" Thread-Topic: [PATCH v4] net/i40e: fix VF/PF port close Thread-Index: AQHUkFIeyJX/4bwVvUCcqVqoeJqM6KV35DXw Date: Mon, 10 Dec 2018 12:20:28 +0000 Message-ID: <039ED4275CED7440929022BC67E70611532FC006@SHSMSX103.ccr.corp.intel.com> References: <20181210135320.70863-1-zhirun.yan@intel.com> <20181210140858.71475-1-zhirun.yan@intel.com> In-Reply-To: <20181210140858.71475-1-zhirun.yan@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZTg4NmFhZGUtZTdiOC00MDlmLThiNWItNzZmOTRlNWUyYmRmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoicHV4U2lhT0t6YlhPZHRjSlYzREpMYjVcL2xNZDZoV1p4SG5aSW1URGRXbVRzMXZyUTB0aXBSR2Z6QkdOTjVoQ0EifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v4] net/i40e: fix VF/PF port close X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Dec 2018 12:20:32 -0000 > -----Original Message----- > From: Yan, Zhirun > Sent: Monday, December 10, 2018 10:09 PM > To: dev@dpdk.org; Wang, Haiyue ; Zhang, Qi Z > > Cc: Yan, Zhirun > Subject: [PATCH v4] net/i40e: fix VF/PF port close >=20 > Port reset will call i40evf_uninit_vf() to release resource. It wants to = call > i40evf_dev_close() to release resources. Befort this patch, s/Befort/before > hw->adapter_stopped was used to mark the status about start/stop and > close. So it will never call i40evf_dev_close() after stopped the port. s/stopped/stopping >=20 > This patch added hw->adapter_closed flag in i40evf_dev_close() and > i40e_dev_close() to control the status of close. >=20 > Fixes: 4861cde4611601ccc9 ("i40e: new poll mode driver") >=20 > Signed-off-by: Zhirun Yan > Signed-off-by: Haiyue Wang Acked-by: Qi Zhang Applied to dpdk-next-net-intel with above typo fix Thanks Qi