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 70FD4A04C7; Tue, 26 Nov 2019 03:38:12 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 22CD74C90; Tue, 26 Nov 2019 03:38:10 +0100 (CET) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 91AF34C90; Tue, 26 Nov 2019 03:38:08 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Nov 2019 18:38:07 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,244,1571727600"; d="scan'208";a="291577850" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga001.jf.intel.com with ESMTP; 25 Nov 2019 18:38:07 -0800 Received: from fmsmsx151.amr.corp.intel.com (10.18.125.4) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 25 Nov 2019 18:38:07 -0800 Received: from shsmsx154.ccr.corp.intel.com (10.239.6.54) by FMSMSX151.amr.corp.intel.com (10.18.125.4) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 25 Nov 2019 18:38:07 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.108]) by SHSMSX154.ccr.corp.intel.com ([169.254.7.200]) with mapi id 14.03.0439.000; Tue, 26 Nov 2019 10:38:05 +0800 From: "Lu, Wenzhuo" To: "Cui, LunyuanX" , "dev@dpdk.org" CC: "Yang, Qiming" , "stable@dpdk.org" Thread-Topic: [PATCH] net/e1000: fix link status Thread-Index: AQHVmd2lNNPHRzFwb0eXn6qri+o5TKec0QgA Date: Tue, 26 Nov 2019 02:38:04 +0000 Message-ID: <6A0DE07E22DDAD4C9103DF62FEBC0909408A3B9E@shsmsx102.ccr.corp.intel.com> References: <20191113124659.88561-1-lunyuanx.cui@intel.com> In-Reply-To: <20191113124659.88561-1-lunyuanx.cui@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="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] net/e1000: 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" Hi, > -----Original Message----- > From: Cui, LunyuanX > Sent: Wednesday, November 13, 2019 8:47 PM > To: dev@dpdk.org > Cc: Lu, Wenzhuo ; Yang, Qiming > ; Cui, LunyuanX ; > stable@dpdk.org > Subject: [PATCH] net/e1000: fix link status >=20 > The link status got from link status register was not correct, because re= gister > has been reset when ports reset. > After port reset, set the link status down. >=20 > Fixes: c431ec66c54c ("net/igb: support setting link up or down") > Cc: stable@dpdk.org >=20 > Signed-off-by: Lunyuan Cui Acked-by: Wenzhuo Lu