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 56D50A04C2; Tue, 26 Nov 2019 03:04:48 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4E03D37A2; Tue, 26 Nov 2019 03:04:46 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 2212DCF3; Tue, 26 Nov 2019 03:04:43 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Nov 2019 18:04:42 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,243,1571727600"; d="scan'208";a="202567707" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga008.jf.intel.com with ESMTP; 25 Nov 2019 18:04:42 -0800 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 25 Nov 2019 18:04:41 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.108]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.213]) with mapi id 14.03.0439.000; Tue, 26 Nov 2019 10:04:40 +0800 From: "Lu, Wenzhuo" To: "Cui, LunyuanX" , "dev@dpdk.org" CC: "Yang, Qiming" , "stable@dpdk.org" Thread-Topic: [PATCH] net/e1000: fix link status update Thread-Index: AQHVmgWp50oAp0/xcU+BypKpK9NCiaecxyNQ Date: Tue, 26 Nov 2019 02:04:40 +0000 Message-ID: <6A0DE07E22DDAD4C9103DF62FEBC0909408A3B58@shsmsx102.ccr.corp.intel.com> References: <20191113173243.90826-1-lunyuanx.cui@intel.com> In-Reply-To: <20191113173243.90826-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 update 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: Thursday, November 14, 2019 1:33 AM > To: dev@dpdk.org > Cc: Lu, Wenzhuo ; Yang, Qiming > ; Cui, LunyuanX ; > stable@dpdk.org > Subject: [PATCH] net/e1000: fix link status update >=20 > Unassigned variable should not be used as judgment, and there is no need > to update link status according to old link status. > This patch fix the issue. >=20 > Fixes: 80ba61115e77 ("net/e1000: use link status helper functions") > Cc: stable@dpdk.org >=20 > Signed-off-by: Lunyuan Cui Acked-by: Wenzhuo Lu