From a7b26dbb49139535992c6d4c282bcf258b3f7fa3 Mon Sep 17 00:00:00 2001 From: Alexey Brodkin Date: Fri, 21 Mar 2014 16:16:57 +0400 Subject: net/designware: align DMA buffer descriptors to D$ line It's important to have ability to flush/invalidate each DMA buffer descriptor individually to prevent incoherency of adjacent BDs. Signed-off-by: Alexey Brodkin Cc: Vineet Gupta Cc: Joe Hershberger Cc: Vipin Kumar Cc: Stefan Roese Cc: Shiraz Hashim Cc: Albert ARIBAUD Cc: Amit Virdi Cc: Sonic Zhang --- drivers/net/designware.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/net') diff --git a/drivers/net/designware.h b/drivers/net/designware.h index afeacce..382b0c7 100644 --- a/drivers/net/designware.h +++ b/drivers/net/designware.h @@ -110,7 +110,7 @@ struct dmamacdescr { u32 dmamac_cntl; void *dmamac_addr; struct dmamacdescr *dmamac_next; -} __aligned(16); +} __aligned(ARCH_DMA_MINALIGN); /* * txrx_status definitions -- cgit v1.1