From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 8D3AC567F; Thu, 22 Jun 2017 13:34:02 +0200 (CEST) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga105.jf.intel.com with ESMTP; 22 Jun 2017 04:33:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,373,1493708400"; d="scan'208";a="100428148" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.91]) ([10.237.220.91]) by orsmga004.jf.intel.com with ESMTP; 22 Jun 2017 04:33:57 -0700 To: "Chen, Jing D" , "Wang, Xiao W" Cc: "dev@dpdk.org" , "stable@dpdk.org" References: <1496228822-6753-1-git-send-email-xiao.w.wang@intel.com> <1498130403-121027-1-git-send-email-xiao.w.wang@intel.com> <4341B239C0EFF9468EE453F9E9F4604D3C66F6B1@shsmsx102.ccr.corp.intel.com> From: Ferruh Yigit Message-ID: <4813d667-1c31-8904-f8a3-a202fccb7e94@intel.com> Date: Thu, 22 Jun 2017 12:33:56 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: <4341B239C0EFF9468EE453F9E9F4604D3C66F6B1@shsmsx102.ccr.corp.intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-stable] [PATCH v2] net/fm10k: initialize link status in device start 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, 22 Jun 2017 11:34:04 -0000 On 6/22/2017 4:07 AM, Chen, Jing D wrote: > > >> -----Original Message----- >> From: Wang, Xiao W >> Sent: Thursday, June 22, 2017 7:20 PM >> To: Chen, Jing D >> Cc: dev@dpdk.org; stable@dpdk.org; Wang, Xiao W >> Subject: [PATCH v2] net/fm10k: initialize link status in device start >> >> Fm10k host driver can't manage PHY directly and provides a fake link status by >> always reporting LINK_UP. We should initialize link status in device start, >> otherwise application will get LINK_DOWN status when LSC configured. >> >> Fixes: 9ae6068c86da ("fm10k: add dev start/stop") >> Cc: stable@dpdk.org >> >> Signed-off-by: Xiao Wang > Acked-by : Jing Chen Applied to dpdk-next-net/master, thanks. ("__rte_unused" dropped from function prototype while applying)