diff options
author | Nimrod Andy <B38611@freescale.com> | 2014-06-12 08:16:19 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-12 11:01:57 -0700 |
commit | 96c50caa5148e0e0a077672574785700885c6764 (patch) | |
tree | 0fee259417371589404fa1732072f0df82e9753e /mm/madvise.c | |
parent | 61a4427b955f79dfaa735788511ce558962c9d70 (diff) |
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>
Diffstat (limited to 'mm/madvise.c')
0 files changed, 0 insertions, 0 deletions