diff options
author | Giuseppe CAVALLARO <peppe.cavallaro@st.com> | 2012-02-15 00:10:37 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-02-15 14:52:10 -0500 |
commit | 1cc5a735185a963ed9324a65e1f2db02bf52c0d4 (patch) | |
tree | 5e280cb7f6626080ab4ab8e2be01841fbaf6c4f6 /drivers/net/ethernet/stmicro/stmmac/common.h | |
parent | 72ba009b8a159e995e40d3b4e5d7d265acead983 (diff) | |
download | lwn-1cc5a735185a963ed9324a65e1f2db02bf52c0d4.tar.gz lwn-1cc5a735185a963ed9324a65e1f2db02bf52c0d4.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/common.h')
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/common.h b/drivers/net/ethernet/stmicro/stmmac/common.h index d0b814ef0675..0319d640f728 100644 --- a/drivers/net/ethernet/stmicro/stmmac/common.h +++ b/drivers/net/ethernet/stmicro/stmmac/common.h @@ -67,6 +67,7 @@ struct stmmac_extra_stats { unsigned long ipc_csum_error; unsigned long rx_collision; unsigned long rx_crc; + unsigned long dribbling_bit; unsigned long rx_length; unsigned long rx_mii; unsigned long rx_multicast; |