]> git.baikalelectronics.ru Git - kernel.git/commit
stmmac: add mixed burst for DMA
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Sun, 13 May 2012 22:18:42 +0000 (22:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 May 2012 22:53:19 +0000 (18:53 -0400)
commit5980f47388d96b5e1925c13d346f1bb1fe54c681
treef9c3c69c40ecd673a77148ec0712d1f2e3f2309e
parent1b7343c904de15da3f01ff8ebba20ad38e303b6c
stmmac: add mixed burst for DMA

In mixed burst (MB) mode, the AHB master always initiates
the bursts with fixed-size when the DMA requests transfers
of size less than or equal to 16 beats.
This patch adds the MB support and the flag that can be
passed from the platform to select it.
MB mode can also give some benefits in terms of performances
on some platforms.

v2: fixed Coding Style

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