aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJulian Wiedmann <[email protected]>2020-11-17 17:15:16 +0100
committerJakub Kicinski <[email protected]>2020-11-18 17:34:19 -0800
commit4139b2b138dd44ca215976a06846839774ca7cd4 (patch)
tree9428a6b0f07a4128149801f2299f046596f8b850 /tools/perf/scripts/python/stackcollapse.py
parent88ad4d9bb16624e6ea81aac9fb83dc34cd12460f (diff)
s390/qeth: improve QUERY CARD INFO processing
Move all the HW reply data parsing into qeth_query_card_info_cb(), and use common ethtool enums for transporting the information back to the caller. Also only look at the .port_speed field when we couldn't determine the speed from the .card_type field, and introduce some 'default' cases for SPEED_UNKNOWN, PORT_OTHER and DUPLEX_UNKNOWN. Signed-off-by: Julian Wiedmann <[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