summaryrefslogtreecommitdiff
path: root/include/linux/stackprotector.h
diff options
context:
space:
mode:
authorNicolai Buchwitz <nb@tipi-net.de>2026-03-04 13:54:30 +0300
committerJakub Kicinski <kuba@kernel.org>2026-03-06 05:56:48 +0300
commit61332b78761cb1638e2bf29273050cf009fbbc0e (patch)
treed84c36de29159231df6677314998b1187bdb0cf1 /include/linux/stackprotector.h
parent0cc425f18f59f992c61c1802331d25ce689ff5d1 (diff)
downloadlinux-61332b78761cb1638e2bf29273050cf009fbbc0e.tar.xz
net: cadence: macb: add ethtool EEE support
Implement get_eee and set_eee ethtool ops for GEM as simple passthroughs to phylink_ethtool_get_eee() and phylink_ethtool_set_eee(). No MACB_CAPS_EEE guard is needed: phylink returns -EOPNOTSUPP from both ops when mac_supports_eee is false, which is the case when lpi_capabilities and lpi_interfaces are not populated. Those fields are only set when MACB_CAPS_EEE is present (previous patch), so phylink already handles the unsupported case correctly. Reviewed-by: Claudiu Beznea <claudiu.beznea@tuxon.dev> Reviewed-by: Théo Lebrun <theo.lebrun@bootlin.com> Signed-off-by: Nicolai Buchwitz <nb@tipi-net.de> Link: https://patch.msgid.link/20260304105432.631186-4-nb@tipi-net.de Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions