Re: [PATCH v5 12/17] net: sgi: ioc3-eth: use dma-direct for dma allocations

2019-08-19 Thread Jakub Kicinski
On Mon, 19 Aug 2019 18:31:35 +0200, Thomas Bogendoerfer wrote: > @@ -1386,18 +1427,24 @@ static netdev_tx_t ioc3_start_xmit(struct sk_buff > *skb, struct net_device *dev) > unsigned long b2 = (data | 0x3fffUL) + 1UL; > unsigned long s1 = b2 - data; > unsig

[PATCH v5 12/17] net: sgi: ioc3-eth: use dma-direct for dma allocations

2019-08-19 Thread Thomas Bogendoerfer
Replace the homegrown DMA memory allocation, which only works on SGI-IP27 machines, with the generic dma allocations. Signed-off-by: Thomas Bogendoerfer --- drivers/net/ethernet/sgi/ioc3-eth.c | 107 ++-- 1 file changed, 77 insertions(+), 30 deletions(-) diff --g