Hi Sergei, On Sat, Jun 2, 2018 at 9:32 PM, Sergei Shtylyov <sergei.shtylyov@xxxxxxxxxxxxxxxxxx> wrote: > Here's a set of 3 patches against DaveM's 'net-next.git' repo. First one fixes an > old buffer endiannes issue (luckily, the ARM SoCs are smart enough to not actually > care) plus couple clean ups around sh_eth_soft_swap()... > > [1/1] sh_eth: make sh_eth_soft_swap() work on ARM > [2/3] sh_eth: uninline sh_eth_soft_swap() > [3/3] sh_eth: use DIV_ROUND_UP() in sh_eth_soft_swap() Does the swapping actually work? In sh_eth_rx(), it's called before dma_unmap_single(), without calling dma_sync_single_for_cpu() first. Shouldn't it be called after the unmap instead? In addition, why is it passed the dma_addr converted to virt, while the skb address is available? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds