net: fec: Enable imx6 enet checksum acceleration.
authorJim Baxter <jim_baxter@mentor.com>
Fri, 19 Apr 2013 08:10:49 +0000 (08:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Apr 2013 07:58:26 +0000 (03:58 -0400)
commit4c09eed9dc422e980fabdb25434ef68e599b704c
treea00da8b76aed9cc916649eafdaf9504e27038b03
parentcf62cb72d63944f4dcc7376efd84959afc9366cb
net: fec: Enable imx6 enet checksum acceleration.

Enables hardware generation of IP header and
protocol specific checksums for transmitted
packets.

Enabled hardware discarding of received packets with
invalid IP header or protocol specific checksums.

The feature is enabled by default but can be
enabled/disabled by ethtool.

Signed-off-by: Fugang Duan <B38611@freescale.com>
Signed-off-by: Jim Baxter <jim_baxter@mentor.com>
Reviewed-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec.h
drivers/net/ethernet/freescale/fec_main.c