Re: [PATCH] sh_eth: fix TX buffer byte-swapping

2015-12-14 Thread David Miller
From: Sergei Shtylyov Date: Sun, 13 Dec 2015 21:27:04 +0300 > For the little-endian SH771x kernels the driver has to byte-swap the RX/TX > buffers, however yet unset physcial address from the TX descriptor is used > to call sh_eth_soft_swap(). Use 'skb->data' instead... > > Fixes: 31fcb99d9958

Re: [PATCH] sh_eth: fix TX buffer byte-swapping

2015-12-13 Thread Rob Landley
On Sun, Dec 13, 2015 at 12:27 PM, Sergei Shtylyov wrote: > For the little-endian SH771x kernels the driver has to byte-swap the RX/TX > buffers, however yet unset physcial address from the TX descriptor is used > to call sh_eth_soft_swap(). Use 'skb->data' instead... Rummage rummage rummage...

[PATCH] sh_eth: fix TX buffer byte-swapping

2015-12-13 Thread Sergei Shtylyov
For the little-endian SH771x kernels the driver has to byte-swap the RX/TX buffers, however yet unset physcial address from the TX descriptor is used to call sh_eth_soft_swap(). Use 'skb->data' instead... Fixes: 31fcb99d9958 ("net: sh_eth: remove __flush_purge_region") Signed-off-by: Sergei Shtyl