]> git.ipfire.org Git - thirdparty/linux.git/commit
net: add helpers for EEE configuration
authorRussell King <rmk+kernel@armlinux.org.uk>
Sat, 2 Mar 2024 19:53:00 +0000 (20:53 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 6 Mar 2024 03:21:17 +0000 (19:21 -0800)
commit6f2fc8584a46bb35787bfc1dad1fb7dd5898e21f
tree46ca36d00fb20d12bedd95265a8be7bbd9584ee3
parent344f7a4651497ffc62166ec6318b33f79d71c3df
net: add helpers for EEE configuration

Add helpers that phylib and phylink can use to manage EEE configuration
and determine whether the MAC should be permitted to use LPI based on
that configuration.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Link: https://lore.kernel.org/r/20240302195306.3207716-2-o.rempel@pengutronix.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/eee.h [new file with mode: 0644]