Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4144787rwb; Sat, 3 Dec 2022 18:54:26 -0800 (PST) X-Google-Smtp-Source: AA0mqf5r62mvtjEjOO6MtUxCi9T7pyGevnJCMrR6zmYevGZ9PKVII0+5AQtkNflCYbZgM6fi0nZg X-Received: by 2002:a17:903:555:b0:189:959a:84cc with SMTP id jo21-20020a170903055500b00189959a84ccmr27832705plb.41.1670122466175; Sat, 03 Dec 2022 18:54:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670122466; cv=none; d=google.com; s=arc-20160816; b=waFxgIBe5HsRz0FaaDh4ypPrMFpjNzlyI9ABmnprkVs4xebhnn2cmUvR8gTU5694a6 lJZwVLhv5DK35tIyod5X6lYyR7D/ousZWogd1oArxYUIvJoHfqSbiuoLxu2W8SB+Fp74 8/3ncpnoM3CbuhuYkhjzbNvJuDV5CSwbnCzij3EqiHLkvOwfgCCbyLFcYQ5PyqnCRRE0 BTdz93izaD1b9nCW1bljqceaQR0J4Oh2On0X8LRTuDTH/3ymoSnwcppyC1Jgnxq9t72Y QPNlL/BYg0yPlU041bYej9Ibc53gR/hapL2NMcG2U1vNR9CkIA/WZOYKZdWfMWr5E4PU 3TNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=SOme4rNJC+GgoyaJJOvsD0k7gpqezBS3tzWfsFGOMpg=; b=igwE32rEVL3aph3ecgtvkvpHrQZ55ofd2T9ikx1+HU+gx55pSb+f+HNa5oFfnGtLII b+s3jgmz5N3skWxxtAcui6dv7ESoB1DYnb/EkMxyozKJSTNIwU2//jZpPJmKW2iMC0Ma ktLp1TluzrHm6YH4GnSsvcViQGkkmg6XQ4/sgVlRYIUD/0nssxIfEz+fVWycdgOQf3tH lVLuVWMgdCdKESXif0Kuv7PcCuQ68pGs0qGKVh0ts62978HYHHbjFywfMIkYWqTwRxzU UT5zMoREJHY0QmQgG/DCi5ayjewT38IrMjlQqwndBTNwzsl51aupFCCGPRlVl+mSjEQA Km5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=sSg7WNDn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q21-20020a056a00089500b0056e6d31b27asi12257759pfj.160.2022.12.03.18.54.15; Sat, 03 Dec 2022 18:54:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=sSg7WNDn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229897AbiLDChc (ORCPT + 84 others); Sat, 3 Dec 2022 21:37:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229450AbiLDChb (ORCPT ); Sat, 3 Dec 2022 21:37:31 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3971B1B9DE; Sat, 3 Dec 2022 18:37:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=SOme4rNJC+GgoyaJJOvsD0k7gpqezBS3tzWfsFGOMpg=; b=sSg7WNDnK6gKTpes03xcQuvW+7 lx+nsJMCmWDQk6mA/gnhMvPuN8CLy0qMqXZl3pOEfYvrC67HI9IvxGB6auHW4cSUJUzgI8SO1iVBj pzLor/7Vw/odSg22R10UoR5masFsWH5ilMHqVSLozVpp/EIWboEmFySepxEJr6CdS55CwSDSPoubj zS7X1xtRq3a0vmuuWcJDseVxCHzkecd02JF2367fZSX/odb6sSpLZuAkgpiZbfKj5SDoyLCQyJPbT wXg+JrhBSJG2wyKbVNyqaI5Em1VXyP7gfTHIvQTpOh9QsI3jSLY2VIzFyuUqTSIh5m/ojSkmoUsiU c4pD7ULg==; Received: from [2601:1c2:d80:3110::a2e7] by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1p1esT-0069XU-U4; Sun, 04 Dec 2022 02:37:14 +0000 Message-ID: Date: Sat, 3 Dec 2022 18:37:13 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH net-next 1/4] net/ethtool: Add netlink interface for the PLCA RS Content-Language: en-US To: Piergiorgio Beruto , Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Oleksij Rempel References: <7209a794f6bee74fbfd76178000fd548d95c52ad.1670119328.git.piergiorgio.beruto@gmail.com> From: Randy Dunlap In-Reply-To: <7209a794f6bee74fbfd76178000fd548d95c52ad.1670119328.git.piergiorgio.beruto@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi-- On 12/3/22 18:30, Piergiorgio Beruto wrote: > Add support for configuring the PLCA Reconciliation Sublayer on > multi-drop PHYs that support IEEE802.3cg-2019 Clause 148 (e.g., > 10BASE-T1S). This patch adds the appropriate netlink interface > to ethtool. > > Signed-off-by: Piergiorgio Beruto > --- > diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c > index e5b6cb1a77f9..99e3497b6aa1 100644 > --- a/drivers/net/phy/phy.c > +++ b/drivers/net/phy/phy.c > @@ -543,6 +543,40 @@ int phy_ethtool_get_stats(struct phy_device *phydev, > } > EXPORT_SYMBOL(phy_ethtool_get_stats); > What is the meaning of all these empty kernel-doc comment blocks? Why are they here? Please delete them. > +/** > + * > + */ > +int phy_ethtool_get_plca_cfg(struct phy_device *dev, > + struct phy_plca_cfg *plca_cfg) > +{ > + // TODO > + return 0; > +} > +EXPORT_SYMBOL(phy_ethtool_get_plca_cfg); > + > +/** > + * > + */ > +int phy_ethtool_set_plca_cfg(struct phy_device *dev, > + struct netlink_ext_ack *extack, > + const struct phy_plca_cfg *plca_cfg) > +{ > + // TODO > + return 0; > +} > +EXPORT_SYMBOL(phy_ethtool_set_plca_cfg); > + > +/** > + * > + */ > +int phy_ethtool_get_plca_status(struct phy_device *dev, > + struct phy_plca_status *plca_st) > +{ > + // TODO > + return 0; > +} > +EXPORT_SYMBOL(phy_ethtool_get_plca_status); Thanks. -- ~Randy