diff options
author | Florian Fainelli <florian.fainelli@broadcom.com> | 2025-01-30 02:13:42 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-02-02 03:53:33 +0300 |
commit | 46ded709232344b5750a852747a8881763c721ab (patch) | |
tree | ab07eabb64e74674761679f735b3a88af68c3b5d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c2933b2befe25309f4c5cfbea0ca80909735fd76 (diff) | |
download | linux-46ded709232344b5750a852747a8881763c721ab.tar.xz |
net: bcmgenet: Correct overlaying of PHY and MAC Wake-on-LAN
Some Wake-on-LAN modes such as WAKE_FILTER may only be supported by the MAC,
while others might be only supported by the PHY. Make sure that the .get_wol()
returns the union of both rather than only that of the PHY if the PHY supports
Wake-on-LAN.
When disabling Wake-on-LAN, make sure that this is done at both the PHY
and MAC level, rather than doing an early return from the PHY driver.
Fixes: 7e400ff35cbe ("net: bcmgenet: Add support for PHY-based Wake-on-LAN")
Fixes: 9ee09edc05f2 ("net: bcmgenet: Properly overlay PHY and MAC Wake-on-LAN capabilities")
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
Link: https://patch.msgid.link/20250129231342.35013-1-florian.fainelli@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions