mlx4_en: Remove FCS bytes from packet length.
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>
Mon, 14 Nov 2011 19:25:36 +0000 (14:25 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Nov 2011 19:25:36 +0000 (14:25 -0500)
commit4a5f4dd8595a3d3cdf75db7247b644ae37f5d460
tree4e5b274198f3a745a6388e6da043e6b5725315a4
parent06236ac3726f15124839cf16a9e2730a852dad9b
mlx4_en: Remove FCS bytes from packet length.

When HW doesn't remove FCS bytes they are reported in the completion
byte count, we don't need to take them to skb.

Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_rx.c
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h