Received: by 10.223.164.202 with SMTP id h10csp1591783wrb; Wed, 8 Nov 2017 06:41:41 -0800 (PST) X-Google-Smtp-Source: ABhQp+Rcr6QC6nBon5gCsKAROvM3MdVjxdfdqy9mPkK89yJbutQjJXlPZ7pRoEgubvCl4GphceaE X-Received: by 10.99.122.1 with SMTP id v1mr716067pgc.210.1510152101299; Wed, 08 Nov 2017 06:41:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510152101; cv=none; d=google.com; s=arc-20160816; b=XJEuZP5pTN1Us4bdAiPqMcdXyOZYwYntAT8zspCfksUwQSdNy/93zAdB73d8fB4mch /XvMmxHzKea8WkJd03YsJoQuxa93YXQhevFqwjcnBDvWdUm2Pp7kWgTqGl5TVqPWJc/b +YI4EsZrI+nJv+DYFoxj5+K4nqoT5cceXsgZCDKoUm7+ZgGvn588lF82t5N4JFeKvU9r SCPYP2IKkJV8N1emMNR2FHI7VqAnNFQIJlpru2CP7AaOLesA6i8qwA57Zj8s+7UHI3U5 OBd/i32aqqUgLvtohQhHuuR0tQR9BjzaRCsS6mZRRNgeEc+XPx044csq0+nds2hmwNAZ 2qXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from :arc-authentication-results; bh=AbWwFodb9CbhPBCafvtlYUcLi2F9sBxqj/qhTWJXhIw=; b=L3YN30lxFp6tZrU1rRg/Te5ZMAbAF8Ex1GW8rswvCVYCjdGNIfoEG99mq/kmrEUWb/ yr+JElUr78XxCzNblSe2EjNdxY3VAV1hbW+IuU+H7MHy2pTwpo46lKDyeURB/25ReqKQ Krw6e8rrgv4W1ifWf9x8mo2eNB5h+FXDGBY3AqpE0KQPprtB9xKy6yHBYZef4b3HNhg8 4azftBbTQg/xVfN1X14h+28aQ16vuaxzz0Puz3g6XaYthHoHk/8nw1uQKQGJViFUBLYM V5s3nUTnxv06i1YFq0iaClSqH4SgkZZaOoApEFwI7vuzN/lNjIU2D2Nn99PDtyF6+klD fVOQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h186si4342343pfg.260.2017.11.08.06.41.29; Wed, 08 Nov 2017 06:41:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752678AbdKHOkr convert rfc822-to-8bit (ORCPT + 82 others); Wed, 8 Nov 2017 09:40:47 -0500 Received: from lhrrgout.huawei.com ([194.213.3.17]:39862 "EHLO lhrrgout.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751839AbdKHOkq (ORCPT ); Wed, 8 Nov 2017 09:40:46 -0500 Received: from 172.18.7.190 (EHLO lhreml709-cah.china.huawei.com) ([172.18.7.190]) by lhrrg01-dlp.huawei.com (MOS 4.3.7-GA FastPath queued) with ESMTP id DZK38040; Wed, 08 Nov 2017 14:40:40 +0000 (GMT) Received: from FRAEML702-CAH.china.huawei.com (10.206.14.33) by lhreml709-cah.china.huawei.com (10.201.108.32) with Microsoft SMTP Server (TLS) id 14.3.361.1; Wed, 8 Nov 2017 14:40:37 +0000 Received: from FRAEML521-MBX.china.huawei.com ([169.254.1.209]) by fraeml702-cah.china.huawei.com ([10.206.14.33]) with mapi id 14.03.0361.001; Wed, 8 Nov 2017 15:40:30 +0100 From: Salil Mehta To: Andrew Lunn , "lipeng (Y)" CC: "davem@davemloft.net" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Linuxarm , "Zhuangyuzeng (Yisen)" Subject: RE: [PATCH net-next 1/2] net: hns3: fix a bug when getting phy address from NCL_config file Thread-Topic: [PATCH net-next 1/2] net: hns3: fix a bug when getting phy address from NCL_config file Thread-Index: AQHTWGJvrPGDinnzqkGNTGa0Li6LLqMKetMAgAASM1A= Date: Wed, 8 Nov 2017 14:40:30 +0000 Message-ID: References: <1510127543-34158-1-git-send-email-lipeng321@huawei.com> <1510127543-34158-2-git-send-email-lipeng321@huawei.com> <20171108143052.GH21784@lunn.ch> In-Reply-To: <20171108143052.GH21784@lunn.ch> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.202.226.117] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090204.5A03176A.0066,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=169.254.1.209, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 83bd01f65023183c3b69c8cdb2be697f Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andrew, > -----Original Message----- > From: Andrew Lunn [mailto:andrew@lunn.ch] > Sent: Wednesday, November 08, 2017 2:31 PM > To: lipeng (Y) > Cc: davem@davemloft.net; netdev@vger.kernel.org; linux- > kernel@vger.kernel.org; Linuxarm; Zhuangyuzeng (Yisen); Salil Mehta > Subject: Re: [PATCH net-next 1/2] net: hns3: fix a bug when getting phy > address from NCL_config file > > On Wed, Nov 08, 2017 at 03:52:22PM +0800, Lipeng wrote: > > From: Fuyun Liang > > > > Driver gets phy address from NCL_config file and uses the phy address > > to initialize phydev. There are 5 bits for phy address. And C22 phy > > address has 5 bits. So 0-31 are all valid address for phy. If there > > is no phy, it will crash. Because driver always get a valid phy > address. > > Hi Lipeng > > Any plans for C45? Still remember the kernel change required to support C45 discussed with you some time back :). Will try to push that change as soon as possible. And yes, we would be pushing the support of the C45 for HNS3 driver as well after that. Thanks Salil From 1583508678802976816@xxx Wed Nov 08 14:32:36 +0000 2017 X-GM-THRID: 1583483607446527794 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread