Re: [PATCH] lan743x: fix endianness when accessing descriptors

2021-01-26 Thread Jakub Kicinski
On Mon, 25 Jan 2021 14:03:20 +0500 Alexey Denisov wrote: > 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 N

[PATCH] lan743x: fix endianness when accessing descriptors

2021-01-26 Thread Alexey Denisov
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 ---