gianfar: prevent buggy hw rx vlan tagging
authorJiri Pirko <jpirko@redhat.com>
Wed, 10 Aug 2011 01:19:48 +0000 (01:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 14 Aug 2011 01:00:33 +0000 (18:00 -0700)
On some buggy chips, "vlan tag present" flag is set which causes packet
loss. Fix this by checking if rx vlan accel is enabled in features.

Reported-by: Michael Guntsche <mguntsche@gmail.com>
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found