aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorChristian Marangi <[email protected]>2023-06-19 22:46:59 +0200
committerJakub Kicinski <[email protected]>2023-06-21 14:30:46 -0700
commitf22f95b9ff1551c9bab13104131929f33d51f23f (patch)
treebcca25ec6d8db7e8dbc1f82657e2323f94bf491e /tools/perf/scripts/python/stackcollapse.py
parentd5e01266e7f5fa12400d4c8aa4e86fe89dcc61e9 (diff)
leds: trigger: netdev: add additional specific link duplex mode
Add additional modes for specific link duplex. Use ethtool APIs to get the current link duplex and enable the LED accordingly. Under netdev event handler the rtnl lock is already held and is not needed to be set to access ethtool APIs. This is especially useful for PHY and Switch that supports LEDs hw control for specific link duplex. Add additional modes: - half_duplex: Turn on LED when link is half duplex - full_duplex: Turn on LED when link is full duplex Signed-off-by: Christian Marangi <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Acked-by: Lee Jones <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions