stmmac: prefetch all dma_erx when use extend_desc
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Mon, 8 Apr 2013 02:10:03 +0000 (02:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Apr 2013 20:55:27 +0000 (16:55 -0400)
commit9401bb5c339d2f9529b2f859638440ce92227c83
treeb870797f96984bcd84ab0f5498cb49aa2d181b27
parent1bb6dea8cc208e6bac824fcdaa3dc63d38901ca7
stmmac: prefetch all dma_erx when use extend_desc

This patch is to prefetch, in the stmmac_rx, the whole
dma_erx descriptor in case of using the extended descriptors.

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c