Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp243387lqp; Mon, 10 Jun 2024 02:39:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVJBDkZayGSDzlf0wALLxbT+9REDqmok3zRXUuteXXkxv33/97MH5XRJJ1xVReX+Fli8X4uA/mkbqnS23dmxXgkoMh3Gdtb1DPC0yhDXQ== X-Google-Smtp-Source: AGHT+IHC7nTxTL5G6NmD0QIlf8d1Ny8YseZflr5a7GG/1sQ+tYCX9qd7TSM4VggJHmMDw24H94DO X-Received: by 2002:a17:907:5c4:b0:a67:a2e0:9dcc with SMTP id a640c23a62f3a-a6cd56108ebmr747457866b.5.1718012396456; Mon, 10 Jun 2024 02:39:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718012396; cv=pass; d=google.com; s=arc-20160816; b=FJVs10AtoY7PWP10nqJhF0tWnzE5nr15LlN/F4QcD/kW/mPDo6hZdaW9e7BY9eDLEG VrsiGp2AaJ6dJ9MufIsMeF4xTJ5m8dnC1M497pZLMWhUqpC8PsfVzMOdjzEOl4wRK6Ux Xeo3+Ooz0TQ6qYFzEECwnkQn8JN/eEqnze+9/e0ruTolq21AEVkSA1Dh/3wHupQqf/MZ kX0M9T5cJ6nPg5V40eMYxajD3AZAj2FdxIZdTuExKG/POsIaHiUZdEob5JkX2ScRRbcE xm5bVFngTnD2qiqNk2jcHfQ36DXw//J5osI3PmBpIEaZ+vTxXY2qzKVKN0rpHf9gpeF7 lOsA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=DNZzOGuJb6tUoHOZ/zBBQKUASdGttzUiL5NxwXYa0VE=; fh=rKfS+JlF6qnrT9QFJK8WCr093ZjOdR+rDBvx5lmHQTA=; b=G1/ywL8F66xcG+uspnQMqN2EEEs++TBmdpgnMevmXeUpaDMzC0cO36LJiw9BK/9z29 88ht6qciDBodHLuuFGlBWui2tnvGnQk4fZOWAoXAR7wqPHICiCV5JJu661Lyyk2H3Ul+ fMzzaXyDqz+MqpXggsgZ7tepJniKyqyddKSq/8ekDlSyH7wKdFcU6qaaXAxy0ZxkaJsC hXeiPteV+Omf9UGedMJXUR5QIlP36VwZpA4tSSTi7FdUzXo9vU4lyc4tOTXCG3KSPXLW wDCWeHYFjCu54V0eQqC/WqKFX78EJGUGk3hTmrNFusIdTqBrcd4iCrobK4zCB2iDIRxN gIhw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=PGDpWvDH; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-207956-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207956-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a6c806dbde3si435608466b.487.2024.06.10.02.39.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 02:39:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-207956-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=PGDpWvDH; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-207956-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207956-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 2FC6C1F23E68 for ; Mon, 10 Jun 2024 09:39:56 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2446974E0A; Mon, 10 Jun 2024 09:39:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="PGDpWvDH" Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3D5D9CA62; Mon, 10 Jun 2024 09:39:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718012385; cv=none; b=T+9PQoiNdhIG8KPj/H+t/oGTFB3/5yfxZU0ajQog8QE8cWC4juLJ9p57QJU36zlh0O1xAJ+3Wbt1bchy+GuKIPlvt3LDX87ci06Rwrxev4S3Vc2AHzJF+1BMyaj67RPikrng4GDWuciJ5wtHHwgEZt+sHhHpZ4fI8e2nOXbdvt0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718012385; c=relaxed/simple; bh=4sDRBYwAnPLox8vS4ELY1A2qb0SwGdJhH/Bm4YEC7Nc=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Yg4pOn7H7eGNah4FyhMC+tiqR7oe0Y6kEfSFDCd0kROAh/pGFf9wxs2rPny/Qu0cTnYt16kY/vWvNaAgFMySClH2KZxHw2D/obF/l24x3XM4F35dTQSl2ymeSiSDGaJry4x9oMz+J/pMI8xh3DUq9xPyymUK5VnXytllplDmq8A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=PGDpWvDH; arc=none smtp.client-ip=217.70.183.199 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 87A2BFF804; Mon, 10 Jun 2024 09:39:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1718012381; 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=DNZzOGuJb6tUoHOZ/zBBQKUASdGttzUiL5NxwXYa0VE=; b=PGDpWvDHoga4WmSbPQsT82tXfFilx9O3w4uXAK1xBc6npFomtrgfPNzQ4+4fd4uwg6q7R3 IyH4aEvv3RshRIw/6GCnk4e60Np9bFxvkzllmaxuKcp3sJFWh6OxGrYvZ5ut+BAY746RT2 gN0vEtxFUBTj9F1jS1QmcV/d1tEX9QkBBwtSUmSvaXD2hGNANEabKrwSwCChRCuXQigxd7 7xDYCrUR5kdJ3il1Y7+Fk9h4I5HY18TbaZHB9oSmTakdehQHrRPWSQyFiLoRCeG+xEQdCb OpI9vGP+ung/GaRdsREjxr6M1Jxwb3EMppd6tZY5PgShCnNiNXPLwNiLdSmgPg== Date: Mon, 10 Jun 2024 11:39:39 +0200 From: Kory Maincent To: Donald Hunter Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Oleksij Rempel , Thomas Petazzoni , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Dent Project , kernel@pengutronix.de Subject: Re: [PATCH net-next v2 3/8] netlink: specs: Expand the PSE netlink command with C33 new features Message-ID: <20240610113939.41d86109@kmaincent-XPS-13-7390> In-Reply-To: References: <20240607-feature_poe_power_cap-v2-0-c03c2deb83ab@bootlin.com> <20240607-feature_poe_power_cap-v2-3-c03c2deb83ab@bootlin.com> Organization: bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: kory.maincent@bootlin.com On Fri, 07 Jun 2024 11:09:38 +0100 Donald Hunter wrote: > Kory Maincent writes: >=20 > > From: "Kory Maincent (Dent Project)" > > > > Expand the c33 PSE attributes with PSE class, extended state information > > and power consumption. > > > > diff --git a/Documentation/netlink/specs/ethtool.yaml > > b/Documentation/netlink/specs/ethtool.yaml index 00dc61358be8..8aa064f2= f466 > > 100644 --- a/Documentation/netlink/specs/ethtool.yaml > > +++ b/Documentation/netlink/specs/ethtool.yaml > > @@ -922,6 +922,22 @@ attribute-sets: > > name: c33-pse-pw-d-status > > type: u32 > > name-prefix: ethtool-a- > > + - > > + name: c33-pse-pw-class > > + type: u32 > > + name-prefix: ethtool-a- > > + - > > + name: c33-pse-actual-pw > > + type: u32 > > + name-prefix: ethtool-a- > > + - > > + name: c33-pse-ext-state > > + type: u8 > > + name-prefix: ethtool-a- > > + - > > + name: c33-pse-ext-substate > > + type: u8 > > + name-prefix: ethtool-a- =20 >=20 > I see this is consistent with existing pse attributes in the spec, but > are there enumerations for the state and status attributes that could be > added to the spec? Indeed, I can add the enum also in the spec. Regards, --=20 K=C3=B6ry Maincent, Bootlin Embedded Linux and kernel engineering https://bootlin.com