tg3: Don't check undefined error bits in RXBD
authorMichael Chan <mchan@broadcom.com>
Fri, 28 Feb 2014 23:05:10 +0000 (15:05 -0800)
committerJiri Slaby <jslaby@suse.cz>
Thu, 13 Mar 2014 22:19:39 +0000 (23:19 +0100)
commitbaef79a5c127beade866aef4e4e92c1547f41c86
tree98f170ca6d3f67a391215bc4f6615d5465b51e11
parent537fc749affa05f1040f48ef7a74f5115068fc6b
tg3: Don't check undefined error bits in RXBD

[ Upstream commit d7b95315cc7f441418845a165ee56df723941487 ]

Redefine the RXD_ERR_MASK to include only relevant error bits. This fixes
a customer reported issue of randomly dropping packets on the 5719.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/net/ethernet/broadcom/tg3.c
drivers/net/ethernet/broadcom/tg3.h