]> git.baikalelectronics.ru Git - kernel.git/commit
stmmac: Allow SOCs to use Store forward mode eventhough tx_coe is 0. (V2)
authorSrinivas Kandagatla <srinivas.kandagatla@st.com>
Sun, 17 Jul 2011 20:54:09 +0000 (20:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Jul 2011 17:47:24 +0000 (10:47 -0700)
commit21277d4a884a5e111c97c9cfb2e3f76e85c7f740
treeadc39f580015301e9be3e74bef360de8145512fd
parent3872b869dac7c055b5b18c52cf01e1f4fa65676f
stmmac: Allow SOCs to use Store forward mode eventhough tx_coe is 0. (V2)

This patch adds new field 'force_sf_dma_mode' to plat_stmmacenet_data
struct to allow users to specify if they want to use force store forward
eventhough tx_coe is not available in hw.
without this flag stmmac driver will use cut-thru mode not use
store-forward mode.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/stmmac/stmmac_main.c
include/linux/stmmac.h