Re: [PATCH] net/macb: Use dmapool to align descriptors on 64bits

2012-12-04 Thread Nicolas Ferre
On 12/03/2012 03:01 PM, Ben Hutchings : > On Mon, 2012-12-03 at 13:15 +0100, Nicolas Ferre wrote: >> Depending on datapath, some revisions of GEM need >> 64bits aligned descriptors. Use dmapool to allocate >> these descriptors. >> Note that different size between RX and TX rings >> leads to the cre

Re: [PATCH] net/macb: Use dmapool to align descriptors on 64bits

2012-12-03 Thread Ben Hutchings
On Mon, 2012-12-03 at 13:15 +0100, Nicolas Ferre wrote: > Depending on datapath, some revisions of GEM need > 64bits aligned descriptors. Use dmapool to allocate > these descriptors. > Note that different size between RX and TX rings > leads to the creation of two pools. > > Signed-off-by: Nicolas

[PATCH] net/macb: Use dmapool to align descriptors on 64bits

2012-12-03 Thread Nicolas Ferre
Depending on datapath, some revisions of GEM need 64bits aligned descriptors. Use dmapool to allocate these descriptors. Note that different size between RX and TX rings leads to the creation of two pools. Signed-off-by: Nicolas Ferre --- drivers/net/ethernet/cadence/macb.c | 99