]> git.baikalelectronics.ru Git - kernel.git/commit
stmmac: do not discard frame on dribbling bit assert
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Wed, 15 Feb 2012 00:10:37 +0000 (00:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Feb 2012 19:52:10 +0000 (14:52 -0500)
commitddcddda75758df4bc9f704774a952614626a9f5e
tree5e280cb7f6626080ab4ab8e2be01841fbaf6c4f6
parenta0a1fb5a58444426d61dca1972e852c7d2381e16
stmmac: do not discard frame on dribbling bit assert

If this bit is set and the CRC error is reset, then the packet is valid.
Only report this as stat info.

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/enh_desc.c
drivers/net/ethernet/stmicro/stmmac/norm_desc.c
drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c