]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/net/oki-semi: Donot recompute IP header checksum
authorRongQing.Li <roy.qing.li@gmail.com>
Thu, 26 Apr 2012 21:01:13 +0000 (21:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Apr 2012 01:59:18 +0000 (21:59 -0400)
commit54d05665a1e06099030c23daa28157cc3d00cc7e
tree4db2263863675bd980745c55cd45b10503cc8a98
parentc6552aa8736df5d212c089f8a7987896e0ee43dc
drivers/net/oki-semi: Donot recompute IP header checksum

If I understand correct, NETIF_F_IP_CSUM only means the hardware
will compute the TCP/UDP checksum, IP checksum is always computed
in software

So as a workround of hardware unable to compute small packages
checksum, do not need to compute IP header checksum.

Signed-off-by: RongQing.Li <roy.qing.li@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c