summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorAlexey Denisov <rtgbnm@gmail.com>2021-01-28 07:48:59 +0300
committerJakub Kicinski <kuba@kernel.org>2021-01-29 05:37:48 +0300
commit462512824f902a24de794290dd622e664587da1d (patch)
tree8a45cada76a45a55a86a04582febd1e6b92553b9 /tools/perf/scripts/python/event_analyzing_sample.py
parent4140ff1ba06d3fc16afd518736940ab742886317 (diff)
downloadlinux-462512824f902a24de794290dd622e664587da1d.tar.xz
lan743x: fix endianness when accessing descriptors
TX/RX descriptor ring fields are always little-endian, but conversion wasn't performed for big-endian CPUs, so the driver failed to work. This patch makes the driver work on big-endian CPUs. It was tested and confirmed to work on NXP P1010 processor (PowerPC). Signed-off-by: Alexey Denisov <rtgbnm@gmail.com> Link: https://lore.kernel.org/r/20210128044859.280219-1-rtgbnm@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions