lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Fri, 19 Aug 2022 23:15:09 +0200 From: Andrew Lunn <andrew@...n.ch> To: Oleksij Rempel <o.rempel@...gutronix.de> Cc: Heiner Kallweit <hkallweit1@...il.com>, "David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>, Russell King <linux@...linux.org.uk>, Rob Herring <robh+dt@...nel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>, Jonathan Corbet <corbet@....net>, kernel@...gutronix.de, linux-kernel@...r.kernel.org, netdev@...r.kernel.org, devicetree@...r.kernel.org, linux-doc@...r.kernel.org, David Jander <david@...tonic.nl> Subject: Re: [PATCH net-next v1 7/7] ethtool: add interface to interact with Ethernet Power Equipment > $ ip l > ... > 5: t1l1@...0: <BROADCAST,MULTICAST> .. > ... > > $ ethtool --show-pse t1l1 > PSE attributs for t1l1: > PoDL PSE Admin State: disabled > PoDL PSE Power Detection Status: disabled > > $ ethtool --set-pse t1l1 podl-pse-admin-control enable > $ ethtool --show-pse t1l1 > PSE attributs for t1l1: > PoDL PSE Admin State: enabled > PoDL PSE Power Detection Status: delivering power Here you seem to indicate that delivering power is totally independent of the interface admin status, <BROADCAST,MULTICAST>. The interface is admin down, yet you can make it deliver power. I thought there might be a link between interface admin status and power? Do the standards say anything about this? Is there some sort of industrial norm? I'm also wondering about the defaults. It seems like the defaults you are proposing is power is off by default, and you have to use ethtool to enable power. That does not seem like the most friendly settings. Why not an 'auto' mode where if the PHY has PoDL PSE capabilities, on ifup it is enabled, on ifdown it is disabled? And you can put it into a 'manual' mode where you control it independent of administrative status of the interface? Andrew
Powered by blists - more mailing lists