summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2024-08-22 14:07:02 +0200
committerJakub Kicinski <kuba@kernel.org>2024-08-26 09:33:58 -0700
commit4715d87e11ac805ab95a75adfbf93d67dfbdbe81 (patch)
tree62d0e4abf6c8d22ab454ced0636cacc95beab412 /tools/perf/scripts/python/gecko.py
parentabcd3026dd63417692a5e80aff70e7cd9b5c14ea (diff)
ethtool: Add support for specifying information source in cable test results
Enhance the ethtool cable test interface by introducing the ability to specify the source of the diagnostic information for cable test results. This is particularly useful for PHYs that offer multiple diagnostic methods, such as Time Domain Reflectometry (TDR) and Active Link Cable Diagnostic (ALCD). Key changes: - Added `ethnl_cable_test_result_with_src` and `ethnl_cable_test_fault_length_with_src` functions to allow specifying the information source when reporting cable test results. - Updated existing `ethnl_cable_test_result` and `ethnl_cable_test_fault_length` functions to use TDR as the default source, ensuring backward compatibility. - Modified the UAPI to support these new attributes, enabling drivers to provide more detailed diagnostic information. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://patch.msgid.link/20240822120703.1393130-3-o.rempel@pengutronix.de Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions