Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp3731rdf; Mon, 20 Nov 2023 14:14:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IEpL/J/1HOC3jzgSKjboSBfZtofqzRptXkSaWZtCm/g24mMgJmNHhc/lk0Jo9w0sM/aMYnu X-Received: by 2002:a05:6a00:2450:b0:6b6:e754:9e02 with SMTP id d16-20020a056a00245000b006b6e7549e02mr7478323pfj.12.1700518499194; Mon, 20 Nov 2023 14:14:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700518499; cv=none; d=google.com; s=arc-20160816; b=u3s6AtqpkVLq9VpJJlENCTJl21cebX8xCAh+HstC9hYaW3vI9w2rHdYhJBSYPxJGq7 r6Z+rUQSiOXjsAkqrYCf3wiRAuo9PBJ9GSSTzNbwuDDbXJEr49bwHJN4yQepDdmaRTqn RpOSoPkCkelnTI72RFAlqRkajlxNwjVKwx/sxAyV2zq+4p2yX8MCIVvtFrmGqPkpXmj0 szwqeTXiQ23t18I558VBo/X/OIXCVr2NiUlNJPPD+W8PM5ldwViEGoSVidui7p0rs+dj Nr6CJoyLueHC7kNYms5bfL5gS+hgs19ZiunUWmvsQwSpqdcbIHM03aAloK+8i5cLA3Y3 TQmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Oz1szRIZelgpWpLqYCUSXAM3v9p92mCuoFgS4JdSE8Q=; fh=YngtbU/0GOittQqM9caeaPGULvlolvGxhDuagsvqC4k=; b=X/vnCQhGnSvmBxNbknWNvvGK3C5qcV1OjQp0OwqVK+WBHBBF8E7GWSneeNMlPL6JFM YDmn1KKVZ/DGyGqnhI2hrtsymP1LHc1j7pnfncsp25EruLlMESs9I2+hSKDi7fqqUQ9r s7Ou2yh6ccpR8PznmSglnYSZKUZXYH6pOtInSprnl5wb3ImVuw9ycLasVuGOYddB1kOH w5NHl0uQETYc+TXrBrf7zDfNqF+GdcXIa5sUr8KUE9qIk4NulxRLePnvxvhxzHX02D4a 5VXm51cuG24H7epWjh+wDhfOV0svbwhFsqEDe4h+Gpcq7xDoY2klNLcMVYhCC4vjXgqy etEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=b1KIjbTv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id g10-20020aa796aa000000b006cb8a0c292esi3468442pfk.95.2023.11.20.14.14.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 14:14:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=b1KIjbTv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 997F58042591; Mon, 20 Nov 2023 14:14:54 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229719AbjKTWOx (ORCPT + 99 others); Mon, 20 Nov 2023 17:14:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49722 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229448AbjKTWOw (ORCPT ); Mon, 20 Nov 2023 17:14:52 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94E3F97; Mon, 20 Nov 2023 14:14:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Transfer-Encoding:Content-Disposition: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:From: Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Content-Disposition: In-Reply-To:References; bh=Oz1szRIZelgpWpLqYCUSXAM3v9p92mCuoFgS4JdSE8Q=; b=b1 KIjbTvMoM7PSdR5cFcjvUt8nXka1oMHQrGAooE3TCNJrlij2DWm/bbvwc1yTQZCE3vLUgKWkH8HLU 6ZehboeaBcDHgVK/JjO2MZKu1uGEX4ngJ+NC01qizzz4yoD5KWUEHy+kQLDkWLzfo7/CumDcEnvbC 6Js/xXq6gxq3eLU=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1r5CXI-000hFy-Dg; Mon, 20 Nov 2023 23:14:32 +0100 Date: Mon, 20 Nov 2023 23:14:32 +0100 From: Andrew Lunn To: Oleksij Rempel Cc: =?iso-8859-1?Q?K=F6ry?= 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: <887dbafe-def1-443f-8df2-b20b5ddc4db7@lunn.ch> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20231120204221.GD590719@pengutronix.de> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 20 Nov 2023 14:14:54 -0800 (PST) > > 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. Andrew