Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp919581ybz; Wed, 29 Apr 2020 11:44:09 -0700 (PDT) X-Google-Smtp-Source: APiQypIKdCGKxmt8HmJrm8iESKISkTgY40MOK0CnNUqnZ2gYNYWUMyJBEbABzoJiwVMTwq59ZQ+5 X-Received: by 2002:a17:906:ca49:: with SMTP id jx9mr3883700ejb.246.1588185849228; Wed, 29 Apr 2020 11:44:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588185849; cv=none; d=google.com; s=arc-20160816; b=VwyL2mkygrHm7cs6Bh4igidEDfgvf5OBmO2q4VOQb6CtXt75SAFfYa86SBJ5aLIC8c 02GDZB8iSunt0JLYgIQocCGLGkD+tZTIdZZ+2Th7eVJUAXR3jwPkNw8P5z592pCUTqdt k88vpsXMnIkJSql3Ihss/2e9xMq57qs7Sp4Tiaf7z489eB6nkyuwTFrbH5gTCBCZTpWp 753zVefBcM0i/JpxiHW0FqgPyTe8U/cFE+R+VOHitApyDUDoO88+rP0gyzhxW7fqy9sg 5haYhybExHFra0deCTnzpFYlKRmNUZxevyORROMCjaAvABG91Ph2D5itGtPfy9W9vMuI j6Kg== 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=GVCbMJajFdVK2pdjFv59znuE1FEFILP0Cah7224YBt8=; b=s7W0sR1X+qa8YSe9Q31OKyRAUm/VnIfcAJ188qwMVtpw07WcMhuCDzVkFf0keIvF6e XRjaWnM5tojUGd+ivlX6PRFTKXcmtdfn4brgZ6cxfVmd69CIV6olSZYtt0PHAFWvhHLv 8vugVJ9NJE5IGNzWbi93Lgs5AKVFq5Is9rZM0mRJbox1wiYs6U12F1/Jc2udiFSN1Ae9 1RRXdcWqm0U1iMl0KH6bSjMkUEwKtOuLzdDmgpnubKXGqdO7UI72Oau2nvQpWldJbQqc u8V10dcY/1KfsNE3Wkd/Ak43nBiMsU9SS73hNhYqBAjAAAMGKoY38W62zODYbJ77Wk8/ VLog== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f16si4169790eds.152.2020.04.29.11.43.45; Wed, 29 Apr 2020 11:44:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726864AbgD2Sl6 (ORCPT + 99 others); Wed, 29 Apr 2020 14:41:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726481AbgD2Sl5 (ORCPT ); Wed, 29 Apr 2020 14:41:57 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2620:137:e000::1:9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC4BAC03C1AE; Wed, 29 Apr 2020 11:41:57 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:601:9f00:477::3d5]) (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 2E6951210A3E3; Wed, 29 Apr 2020 11:41:57 -0700 (PDT) Date: Wed, 29 Apr 2020 11:41:53 -0700 (PDT) Message-Id: <20200429.114153.1436315951603745606.davem@davemloft.net> To: tanhuazhong@huawei.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, salil.mehta@huawei.com, yisen.zhuang@huawei.com, linuxarm@huawei.com, kuba@kernel.org, liuyonglong@huawei.com Subject: Re: [PATCH V2] net: hns3: adds support for reading module eeprom info From: David Miller In-Reply-To: <1588131984-27468-1-git-send-email-tanhuazhong@huawei.com> References: <1588131984-27468-1-git-send-email-tanhuazhong@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]); Wed, 29 Apr 2020 11:41:57 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Huazhong Tan Date: Wed, 29 Apr 2020 11:46:24 +0800 > From: Yonglong Liu > > This patch adds support for reading the optical module eeprom > info via "ethtool -m". > > Signed-off-by: Yonglong Liu > Signed-off-by: Huazhong Tan > --- > V2: replace self-defined macro with the SFF8024_ID_* in sfp.h > suggested by Jakub Kicinski. Applied to net-next, thanks.