Searched hist:"96 c50caa5148e0e0a077672574785700885c6764" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/net/ethernet/freescale/ |
H A D | fec_main.c | diff 96c50caa5148e0e0a077672574785700885c6764 Thu Jun 12 02:16:19 CEST 2014 Nimrod Andy <B38611@freescale.com> net: fec: Enable IP header hardware checksum
IP header checksum is calcalated by network layer in default. To support software TSO, it is better to use HW calculate the IP header checksum.
FEC hw checksum feature request the checksum field in frame is zero, otherwise the calculative CRC is not correct.
For segmentated TCP packet, HW calculate the IP header checksum again, it doesn't bring any impact. For SW TSO, HW calculated checksum bring better performance.
Signed-off-by: Fugang Duan <B38611@freescale.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|