From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 794772A66; Thu, 29 Mar 2018 07:51:25 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Mar 2018 22:51:24 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.48,375,1517904000"; d="scan'208";a="28997274" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga007.jf.intel.com with ESMTP; 28 Mar 2018 22:51:24 -0700 Received: from fmsmsx116.amr.corp.intel.com (10.18.116.20) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 28 Mar 2018 22:51:23 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx116.amr.corp.intel.com (10.18.116.20) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 28 Mar 2018 22:51:23 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.235]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.166]) with mapi id 14.03.0319.002; Thu, 29 Mar 2018 13:51:21 +0800 From: "Zhang, Helin" To: "Zhang, Qi Z" , "Yigit, Ferruh" , "Wu, Jingjing" , "Lu, Wenzhuo" CC: "dev@dpdk.org" , "Yigit, Ferruh" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] net/avf: fix link autoneg value Thread-Index: AQHTt9ALfXGqlEGapUKuJk07Xiq0hqPlT3YggAGEv/A= Date: Thu, 29 Mar 2018 05:51:20 +0000 Message-ID: References: <20180309175631.242976-1-ferruh.yigit@intel.com> <039ED4275CED7440929022BC67E70611531754F1@SHSMSX103.ccr.corp.intel.com> In-Reply-To: <039ED4275CED7440929022BC67E70611531754F1@SHSMSX103.ccr.corp.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-stable] [dpdk-dev] [PATCH] net/avf: fix link autoneg value X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Mar 2018 05:51:26 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Zhang, Qi Z > Sent: Wednesday, March 28, 2018 2:43 PM > To: Yigit, Ferruh; Wu, Jingjing; Lu, Wenzhuo > Cc: dev@dpdk.org; Yigit, Ferruh; stable@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] net/avf: fix link autoneg value >=20 > Hi Ferruh: >=20 > > -----Original Message----- > > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Ferruh Yigit > > Sent: Saturday, March 10, 2018 1:57 AM > > To: Wu, Jingjing ; Lu, Wenzhuo > > > > Cc: dev@dpdk.org; Yigit, Ferruh ; > > stable@dpdk.org > > Subject: [dpdk-dev] [PATCH] net/avf: fix link autoneg value > > > > Intention of the logic is: > > If ETH_LINK_SPEED_FIXED is set in dev_conf, set link_autoneg to > > ETH_LINK_FIXED, else set it to ETH_LINK_AUTONEG > > > > ETH_LINK_SPEED_FIXED value is 1, and ETH_LINK_FIXED is 0; > > > > Current logic is broken, fix it according above values. > > > > Fixes: 48de41ca11f0 ("net/avf: enable link status update") > > Cc: jingjing.wu@intel.com > > Cc: stable@dpdk.org > > > > Signed-off-by: Ferruh Yigit >=20 > Acked-by: Qi Zhang Applied to dpdk-next-net-intel, thanks! /Helin