Re: [PATCH] net/macb: Use non-coherent memory for rx buffers

2012-11-26 Thread Nicolas Ferre
On 11/23/2012 05:12 PM, Joachim Eastwood : > Hi Nicolas, > > On 23 November 2012 14:50, Nicolas Ferre wrote: >> From: Havard Skinnemoen >> >> Allocate regular pages to use as backing for the RX ring and use the >> DMA API to sync the caches. This should give a bit better performance >> since it

Re: [PATCH] net/macb: Use non-coherent memory for rx buffers

2012-11-23 Thread Joachim Eastwood
Hi Nicolas, On 23 November 2012 14:50, Nicolas Ferre wrote: > From: Havard Skinnemoen > > Allocate regular pages to use as backing for the RX ring and use the > DMA API to sync the caches. This should give a bit better performance > since it allows the CPU to do burst transfers from memory. It i

[PATCH] net/macb: Use non-coherent memory for rx buffers

2012-11-23 Thread Nicolas Ferre
From: Havard Skinnemoen Allocate regular pages to use as backing for the RX ring and use the DMA API to sync the caches. This should give a bit better performance since it allows the CPU to do burst transfers from memory. It is also a necessary step on the way to reduce the amount of copying done