diff options
| author | Alexey Denisov <[email protected]> | 2021-01-28 09:48:59 +0500 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2021-01-28 18:37:48 -0800 |
| commit | 462512824f902a24de794290dd622e664587da1d (patch) | |
| tree | 8a45cada76a45a55a86a04582febd1e6b92553b9 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | 4140ff1ba06d3fc16afd518736940ab742886317 (diff) | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions