Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp523151imu; Tue, 27 Nov 2018 16:34:47 -0800 (PST) X-Google-Smtp-Source: AFSGD/Uh5pQjnceiT94VPp9v4wI193FgMmX8hes2Lrp9ZOhwKevI9extrRUTUR0n93aIdLcbPTu4 X-Received: by 2002:a17:902:8ec8:: with SMTP id x8mr20929676plo.210.1543365287541; Tue, 27 Nov 2018 16:34:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543365287; cv=none; d=google.com; s=arc-20160816; b=j9TkDF+ufmhSN7NcyPadZDJrBM4iziPxf8Aj0XjWk/WJrBngkP9++jhzRb3fC+4ybA geZ5gMP9elC1iXl6YC+tj5t6Ci1C4r/M22bRrQocAbEEAIlJklRN4fNCbos9mT3C4xeB 0aLI8kLZd+9OmsuI/doAODEGEivA653MQsMa6wafArCttfLh5rsm9ynJeoxkjG9iU0+O CFlSJw9uHTci6XxES0wkj7ClwWltpiaY2JOlZOMNh+j6byZmxDKugtgG/jnvdtFlqFS5 rGTwDzZVFxblSTfpnk3sldovEg45EGCFxGX7udyonar9Nz+vJ75UTR4mWEF1tz+K+OWx 8D8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=lfBvvG3KQ0XSWeQp/soJ49zMgf4vuJhzwbp2BmQiNR0=; b=ruaPqFq25KRx6GHJn3X8dEKJ9bVuq2c5yyItHZu1tkTIykaOz3WrZm7gqnJPacQo0c JWpMfGcOg2oBJBR0EmC5L/IhJ/owxgw+osP/4oHqloNK64v8rNc56ZkaeDiEUdid8IkF ToRiiZz8FfINDl+UX56OLyWHqLU+O+jWRSyHRl74Mrbhb4L9sKSyStt9iu4RAKoxOTmS 3FXyAIY8Sz9c/O2jm/KuKmkgM/d6TvyajmNkmyXtCWxmwCBdmHEns1HzsJjvyXOB4Jm3 yXHxjZhbTrH5y+75fPwae/P2OymH6jA/FTVUn91vGM1fcuxs8T16ScyB3U/0c6fRokNK x/og== 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 n11si5393007pgj.373.2018.11.27.16.34.30; Tue, 27 Nov 2018 16:34:47 -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 S1726894AbeK1Ld1 (ORCPT + 99 others); Wed, 28 Nov 2018 06:33:27 -0500 Received: from shards.monkeyblade.net ([23.128.96.9]:47006 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726418AbeK1Ld1 (ORCPT ); Wed, 28 Nov 2018 06:33:27 -0500 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::bf5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 0DD8713D059E3; Tue, 27 Nov 2018 16:33:48 -0800 (PST) Date: Tue, 27 Nov 2018 16:33:47 -0800 (PST) Message-Id: <20181127.163347.1031588082465214043.davem@davemloft.net> To: salil.mehta@huawei.com Cc: yisen.zhuang@huawei.com, lipeng321@huawei.com, mehta.salil@opnsrc.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linuxarm@huawei.com Subject: Re: [PATCH net-next] net: hns3: Config NIC port speed same as that of optical module From: David Miller In-Reply-To: <20181126184300.24964-1-salil.mehta@huawei.com> References: <20181126184300.24964-1-salil.mehta@huawei.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Tue, 27 Nov 2018 16:33:48 -0800 (PST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Salil Mehta Date: Mon, 26 Nov 2018 18:43:00 +0000 > From: Peng Li > > Port 0/1 of HiP08 supports 10G and 25G. This patch adds a > change to configure NIC port speed same as that of optical > module(SFP/QFSP). Driver gets the optical module speed and > sets NIC port speed accordingly. > > Signed-off-by: Peng Li > Signed-off-by: Salil Mehta Applied.