Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp159728rdf; Mon, 20 Nov 2023 21:13:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IFPjr4j03nYcuQHp58cchsgITKcdaOmTE/ycpa2qQOi9bRD+SS3ouo+eUX7jAvZataV3VGR X-Received: by 2002:a05:6871:10d:b0:1bf:b863:b6d with SMTP id y13-20020a056871010d00b001bfb8630b6dmr5528008oab.1.1700543621107; Mon, 20 Nov 2023 21:13:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700543621; cv=none; d=google.com; s=arc-20160816; b=B9oxSokllaGkHTxXn/IRrTyEH2bvQm3gwtgTbtqxyoi0GDnAxCfCysAgXIOif8fUUl W9jA+uE7EMkffHTT9NqGkPJmDuqY+HiRRtE6Tn1hOmJi7eTkHnetfJt3GqVEuGWReykk 889BDcjvuDGFw1y0944JrCdppo5fyE3TRFeIceh8MmDCrnwgX2bdLJOPnShbpnzl1WDl rcBpMy4eTFCxLyQNm3gTxlo+TBX8VDThawsXVJYxL0iwuXEcE6V/oAi2oauKJzAohNcJ 7o9qSMmfbdzi/yJkP1vlzNQSqODhEYRvy4qgMfrtTdEoKkRu1aMqtZ4IdSOrWH7sFgQ7 ozAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=duIIWGWShqFJtvXEcarFRFoZDw6v01biAYvVYli0t24=; fh=hrvo1Y4EiB/GceNILlpQsKdUt//sdkfMwSUbIjwGzU0=; b=rfQDXFkw6q0UsmEAn4wC05yBcUjl0l9JsD6uUCF83ZjU6ls273/S+U+s28Y3+OzBOh UGm+u20WmcyOkxaY41RCfqIuCYs4e4vjr+64GzUq2Sm6yUw1LQA3+V1qOpps3FcxpOFz N0dAzhtM5nXL6E6rL2CX8NYHOV2BWdOsxk3IqrsVYi0PTHvl+5IohCFZejqJb2YF7a7h Xxrn+NxIegKL/8WKR94Yd2XkB+A2eqjOLZtKYS/Kee7KPqUwb3L7GqEc3+PJFNx1rjiP sprftLcDc8SUeA+52JBssIYsnDhLjy6ULH8nxXPAXE7JvF/hSUxye3YinHvXbkBrTfba UfIQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id b20-20020aa79514000000b0069342eade87si9307495pfp.18.2023.11.20.21.13.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 21:13:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id DA4C8807E8A1; Mon, 20 Nov 2023 21:13:14 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230356AbjKUFNH (ORCPT + 99 others); Tue, 21 Nov 2023 00:13:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229447AbjKUFNE (ORCPT ); Tue, 21 Nov 2023 00:13:04 -0500 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [IPv6:2a0a:edc0:2:b01:1d::104]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2876FE7 for ; Mon, 20 Nov 2023 21:13:01 -0800 (PST) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1r5J3t-0001tH-8h; Tue, 21 Nov 2023 06:12:37 +0100 Received: from [2a0a:edc0:2:b01:1d::c0] (helo=ptx.whiteo.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r5J3o-00AVcD-KQ; Tue, 21 Nov 2023 06:12:32 +0100 Received: from ore by ptx.whiteo.stw.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1r5J3o-0034kw-HW; Tue, 21 Nov 2023 06:12:32 +0100 Date: Tue, 21 Nov 2023 06:12:32 +0100 From: Oleksij Rempel To: Andrew Lunn Cc: =?utf-8?B?S8O2cnk=?= Maincent , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jonathan Corbet , Luis Chamberlain , Russ Weight , Greg Kroah-Hartman , "Rafael J. Wysocki" , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thomas Petazzoni , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH net-next 2/9] ethtool: Expand Ethernet Power Equipment with PoE alongside PoDL Message-ID: <20231121051232.GE590719@pengutronix.de> References: <20231116-feature_poe-v1-0-be48044bf249@bootlin.com> <20231116-feature_poe-v1-2-be48044bf249@bootlin.com> <04cb7d87-bb6b-4997-878d-490c17bfdfd0@lunn.ch> <20231120110944.66938859@kmaincent-XPS-13-7390> <20231120111008.GC590719@pengutronix.de> <2539b109-72ad-470a-9dae-9f53de4f64ec@lunn.ch> <20231120204221.GD590719@pengutronix.de> <887dbafe-def1-443f-8df2-b20b5ddc4db7@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <887dbafe-def1-443f-8df2-b20b5ddc4db7@lunn.ch> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain User-Agent: Mutt/1.10.1 (2018-07-13) X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 20 Nov 2023 21:13:15 -0800 (PST) On Mon, Nov 20, 2023 at 11:14:32PM +0100, Andrew Lunn wrote: > > > However, everything not PoDL PSE seems to be clause 33. So how about: > > > > > > enum ethtool_podl_pse_admin_state podl_admin_control; > > > enum ethtool_c33_pse_admin_state c33_admin_control; > > > > > > At least inside the kernel we use c22, c45, c37 etc. I'm not sure they > > > are visible to userspace, but if we don't have a better name, maybe we > > > have to use c33 in userspace as well. > > > > > > I do think naming like this makes it clear we are talking about two > > > parallel technologies, not a generic layer and then extensions for > > > podl. > > > > > > What do you think? > > > > I'm OK with it. > > Great. > > > > > Köry, can you please include some kernel documentation in your patches? > > Something like this. I hope it will help to clarify things :) : > > This is good. I'm just wondering where to put it. Ideally we want to > cross reference to it in both this header file, and in the netlink > UAPI. Documentation/networking/pse-pd/introduction.rst ? -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |