r8169: Support RX-ALL flag.
authorBen Greear <greearb@candelatech.com>
Fri, 10 Feb 2012 15:04:33 +0000 (15:04 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 24 Feb 2012 09:56:27 +0000 (01:56 -0800)
commit6bbe021d405fff46b64a08dca51b06897b897a67
treeda4693452e8ce75b456955914966a1f7c4739bd2
parenteeb69aa443e8cdc945405c48f21ce03f5a3b1f86
r8169: Support RX-ALL flag.

This allows the NIC to receive packets with bad FCS and
Runts, which can help when sniffing.

NOTE:  r8169, at least on my NIC, silently drops packets
with bad FCS instead of counting them.  It seems they are
only received in any fashion if the RxCRC flag is set
(which this patch allows).

Signed-off-by: Ben Greear <greearb@candelatech.com>
drivers/net/ethernet/realtek/r8169.c