Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp2111354rdb; Mon, 20 Nov 2023 02:11:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IGolHuQ6olj8fn36FLir2ms+Kun6hWbVl2KJ8I46OlMzfmc43R8sdJ7l9rKuG4dhyAoLNTS X-Received: by 2002:a5d:938e:0:b0:792:96e5:962 with SMTP id c14-20020a5d938e000000b0079296e50962mr7537647iol.6.1700475065601; Mon, 20 Nov 2023 02:11:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700475065; cv=none; d=google.com; s=arc-20160816; b=v7PCe0rnwLQWOeC7X8g3m49/jCxQagzYxNvxonnXj7Sa7r5KnxSUVp0jQPmQ4eGlH5 QQwY5fwzH/7KtqCyP1vRg9+Mts4lnAvLmNZMIqtciXiEbnvd1FiCrisAokuGaXB/gNCX alUZen7cOVPQSfle/Ju3LSY0R8OqT1xouYZgDdf6+AXdIneqYhAhB8wHhUFJwup6QDuF ineRkCMswKumuKHGVy5k7FIQGyDdEJ/nBGERpsHd4CsdjGPO+IuJ1N8dJVDszIbhRrSN JkUHzGhK89WV9WruSsBcYbRmrsGmATiS3SEzmjHe/BFuV8mS98vceNs71uEQYewbn5am YvrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=cwpNNNLmUEdlAV7YRR3v1NKd/qp4dY+yMavuDYSXmwI=; fh=rAQmuHbdAojqYm3rlF7UqgGEoe3ks7rnEmtMSElJxhs=; b=Rh/LTJY2YNw4f8aEvczaoHtcf5VKze9i/G7q4hprxyOCfJ+WYm3Qabygfk3MYV8hv9 3kjaHND6xf3ETrHVgdaPtxhRl1+nl+ZDXlP1IIKuxlxIxNDEFLx1WN52dmyNE7L7Uf0M 2T8nd992ANo+aFl0jl9Dgnyc+ftSwpPftC9Z7lk3LCeIQsFyeXEmU7ELzOjQi/PFq5lH iLWeeqvIE2CLqgoewgNKAxuI12EXgfj/R91Y/+26x89uwYYGAizB+fjkG6BmXbP5R/RO fRzBuiFLQ0eE/67QntiPlUcZhlL0KZVvC/67nqU+z8ac6Og2fwc+g/z1Dl0R2BliZJEg Gtkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=VgQrxdeS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id f10-20020a6547ca000000b005a9b0fe6afbsi7853650pgs.144.2023.11.20.02.11.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 02:11:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=VgQrxdeS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 685B38084967; Mon, 20 Nov 2023 02:10:31 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232838AbjKTKJy (ORCPT + 99 others); Mon, 20 Nov 2023 05:09:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232833AbjKTKJw (ORCPT ); Mon, 20 Nov 2023 05:09:52 -0500 Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::227]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 011E794; Mon, 20 Nov 2023 02:09:47 -0800 (PST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 2E2DB2000D; Mon, 20 Nov 2023 10:09:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1700474986; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cwpNNNLmUEdlAV7YRR3v1NKd/qp4dY+yMavuDYSXmwI=; b=VgQrxdeSTbCnuH15lof1JX82UZTIKsJA/mcYec4Y57kHWqIikYGBk/gkk5oMa+dnxC5uTj jsEKkaooB9EufqeBsn+vMn47NUN06/wvh5BUJitJnAclyzTch794V1MqWNkNeyj4tJsVbt aKZWT0j6adb23riAIzSKMDr7U7EuIB6qQ5V0rfg4rDWPT2AAa3CbIpVMddHsTioOlcTl2f AqgugCkets/megXLxtVTmor+R6x/GgL1emYZVJcFctXNjL6KwQtkQkhdsI5hgPWQG66rF8 A6RS1mVisS2BemRPonuv3VTZqsbK7Z+cTXXJR4Y52G2jn+wwkDUERhLVnPTfmw== Date: Mon, 20 Nov 2023 11:09:44 +0100 From: =?UTF-8?B?S8O2cnk=?= Maincent To: Andrew Lunn Cc: "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, Oleksij Rempel Subject: Re: [PATCH net-next 2/9] ethtool: Expand Ethernet Power Equipment with PoE alongside PoDL Message-ID: <20231120110944.66938859@kmaincent-XPS-13-7390> In-Reply-To: <04cb7d87-bb6b-4997-878d-490c17bfdfd0@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> Organization: bootlin X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: kory.maincent@bootlin.com X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,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 groat.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 (groat.vger.email [0.0.0.0]); Mon, 20 Nov 2023 02:10:31 -0800 (PST) +Oleksij Sorry forgot to CC you the series. Maybe you should add yourself to the MAINTAINERS of pse-pd drivers subsyste= m? On Sat, 18 Nov 2023 18:38:43 +0100 Andrew Lunn wrote: > On Thu, Nov 16, 2023 at 03:01:34PM +0100, Kory Maincent wrote: > > In the current PSE interface for Ethernet Power Equipment, support is > > limited to PoDL. This patch extends the interface to accommodate the > > objects specified in IEEE 802.3-2022 145.2 for Power sourcing > > Equipment (PSE). =20 >=20 > Sorry for taking a while getting to these patches. Plumbers and other > patches have been keeping me busy. Don't worry you are doing a great job as a net maintainer and I won't raise= any remarks on delay considering how you are doing your job. Thanks again for your review!! > I'm trying to get my head around naming... Is there some sort of > hierarchy? Is PSE the generic concept for putting power down the > cable? Then you have the sub-type PoDL, and the sub-type PoE? In fact as we discussed with Oleksij I decided to keep the naming as close = as possible to the IEEE 802.3 standard. On the standard the PODL is naming like this aPoDLPSE* (ex: aPoDLPSEAdminSt= ate) and the PSE is naming like this aPSE* (ex: aPSEAdminState) without any PoE prefix. Maybe it is due to PoE being supported before PoDL and they didn't expect the PoDL part. > > struct pse_control_config { > > enum ethtool_podl_pse_admin_state podl_admin_control; > > + enum ethtool_pse_admin_state admin_control; =20 >=20 > When i look at this, it seems to me admin_control should be generic > across all schemes which put power down the cable, and > podl_admin_control is specific to how PoDL puts power down the cable. > > Since you appear to be adding support for a second way to put power > down the cable, i would expect something like poe_admin_control being > added here. But maybe that is in a later patch? No as said above admin_control is for PoE and podl_admin_control is for PoD= L. Maybe you prefer to use poe_admin_control, and add poe prefix in the poe variables. It will differ a bit from the IEEE standard naming but I agreed = that it would be more understandable in the development part. I am open to the change. Oleksij do you agree? Regards, --=20 K=C3=B6ry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com