From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E6192A052B; Thu, 30 Jul 2020 11:26:29 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B4C5E1BFFA; Thu, 30 Jul 2020 11:26:27 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 6A5D23B5; Thu, 30 Jul 2020 11:26:25 +0200 (CEST) IronPort-SDR: cJDlS9DUeIHKVckQPnp8J1bbVUPx5NqPbIHvSeyuAHOoVy5PAcrxKNW9ylcOyk+237qMVX8ofU k3IaXejvUN7Q== X-IronPort-AV: E=McAfee;i="6000,8403,9697"; a="139105694" X-IronPort-AV: E=Sophos;i="5.75,413,1589266800"; d="scan'208";a="139105694" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jul 2020 02:26:24 -0700 IronPort-SDR: xbHKcf6ULb+rT/uE1lylIVLdGStv1PnQL8Z289gDFrGi4B9u/v4/o+N9vlsxIVRIc+C3UL0aNP d+IPhhukUvFQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,413,1589266800"; d="scan'208";a="365117354" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga001.jf.intel.com with ESMTP; 30 Jul 2020 02:26:24 -0700 Received: from fmsmsx156.amr.corp.intel.com (10.18.116.74) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 30 Jul 2020 02:26:23 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx156.amr.corp.intel.com (10.18.116.74) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 30 Jul 2020 02:26:22 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.22]) by shsmsx102.ccr.corp.intel.com ([169.254.2.43]) with mapi id 14.03.0439.000; Thu, 30 Jul 2020 17:26:19 +0800 From: "Sun, GuinanX" To: "Guo, Jia" , "Xing, Beilei" , "dev@dpdk.org" CC: "stable@dpdk.org" Thread-Topic: [PATCH] net/i40e: fix link status Thread-Index: AQHWZkxfNX8oH7I440GeAyTBIbPwMqkfUFWAgACICpA= Date: Thu, 30 Jul 2020 09:26:18 +0000 Message-ID: <05758BDAD7FC8E4BAED63D0390A8A95587FCD1@SHSMSX101.ccr.corp.intel.com> References: <20200730082539.24104-1-guinanx.sun@intel.com> <426f9eeb-21b0-cf17-9161-aab428a88399@intel.com> In-Reply-To: <426f9eeb-21b0-cf17-9161-aab428a88399@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] net/i40e: fix link status 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" SGkgSmVmZg0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IEd1bywgSmlh DQo+IFNlbnQ6IFRodXJzZGF5LCBKdWx5IDMwLCAyMDIwIDU6MTIgUE0NCj4gVG86IFN1biwgR3Vp bmFuWCA8Z3VpbmFueC5zdW5AaW50ZWwuY29tPjsgWGluZywgQmVpbGVpDQo+IDxiZWlsZWkueGlu Z0BpbnRlbC5jb20+OyBkZXZAZHBkay5vcmcNCj4gQ2M6IHN0YWJsZUBkcGRrLm9yZw0KPiBTdWJq ZWN0OiBSZTogW1BBVENIXSBuZXQvaTQwZT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