From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hyong Youb Kim Subject: Re: [PATCH v4 15/15] net/enic: use _rte_eth_linkstatus_set Date: Fri, 12 Jan 2018 23:05:00 +0900 Message-ID: <20180112140459.GA3292@HYONKIM-FTCPE.cisco.com> References: <20180108174514.14688-1-stephen@networkplumber.org> <20180111170658.2809-1-ferruh.yigit@intel.com> <20180111170658.2809-15-ferruh.yigit@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Bruce Richardson , Konstantin Ananyev , John Daley , dev@dpdk.org, Stephen Hemminger To: Ferruh Yigit Return-path: Received: from bgl-iport-1.cisco.com (bgl-iport-1.cisco.com [72.163.197.25]) by dpdk.org (Postfix) with ESMTP id 63323325F for ; Fri, 12 Jan 2018 15:05:06 +0100 (CET) Content-Disposition: inline In-Reply-To: <20180111170658.2809-15-ferruh.yigit@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, Jan 11, 2018 at 05:06:58PM +0000, Ferruh Yigit wrote: > From: Stephen Hemminger > > This driver was not doing atomic update of link status information. > And the return value was different than others. > The hardware also does not do autonegotiation (at least on Linux). > > Signed-off-by: Stephen Hemminger > --- Here is an ack, in case you need it. Please feel free to add it to v4 if you make it (i.e. dropping the leading _). Acked-by: Hyong Youb Kim FWIW, the NIC hardware (Cisco VIC) does autonegotiate. But, the link settings (autoneg/fixed/10/25/40) are controlled by a management entity (e.g. UCS manager). The drivers including the netdev enic driver cannot change them and currently do not know if the current speed has been autonegotiated or fixed by admin. So, they simply report the current link speed as fixed. I know, it is a little unconventional. -Hyong