]> www.infradead.org Git - users/dwmw2/linux.git/commit
net: ethtool: Add new power limit get and set features
authorKory Maincent (Dent Project) <kory.maincent@bootlin.com>
Thu, 4 Jul 2024 08:12:00 +0000 (10:12 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 6 Jul 2024 01:30:00 +0000 (18:30 -0700)
commit30d7b6727724ce3729f2cb5b8be985d2d1931d2b
tree0d1699eeb82e7b0863db865e1e1e0ba7ef45e5ff
parent4a83abcef5f4f36be4e04ba18edd64226f6f4a19
net: ethtool: Add new power limit get and set features

This patch expands the status information provided by ethtool for PSE c33
with available power limit and available power limit ranges. It also adds
a call to pse_ethtool_set_pw_limit() to configure the PSE control power
limit.

Reviewed-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Link: https://patch.msgid.link/20240704-feature_poe_power_cap-v6-5-320003204264@bootlin.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/networking/ethtool-netlink.rst
include/linux/ethtool.h
include/uapi/linux/ethtool_netlink.h
net/ethtool/pse-pd.c