summaryrefslogtreecommitdiff
path: root/drivers/oprofile/oprof.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2017-04-06 04:02:52 +0300
committerDavid S. Miller <davem@davemloft.net>2017-04-07 01:39:45 +0300
commitd930655d4a25021b70285976745e6eee107ac0bb (patch)
treedea836b730e718b1e6f07f22ab3d0797e540a998 /drivers/oprofile/oprof.h
parent4ca24152d8919508bc53827a79e68b353ac6e333 (diff)
downloadlinux-d930655d4a25021b70285976745e6eee107ac0bb.tar.xz
ftgmac100: Work around HW bug in runt frame detection
The HW incorrectly calculates the frame size without the vlan tag and compares that against 64. It will thus flag 64-bytes frames with a vlan tag as 60-bytes frames "runt" packets which we'll then drop. Thus we end up dropping ARP packets on vlan's ... It does that whether vlan tag stripping is enabled or not. This works around it by ignoring the "runt" error bit of the frame has been vlan tagged and is at least 60 bytes. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/oprofile/oprof.h')
0 files changed, 0 insertions, 0 deletions