From: Kirshenbaum Erez Date: Sun, 21 Jul 2013 08:34:37 +0000 (+0300) Subject: wil6210: Enable TCP/UDP checksum HW offload X-Git-Tag: v3.12-rc1~132^2~297^2^2~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=504937d4933fc8f5248b3af63b350ca52fc3b2f7;p=pandora-kernel.git wil6210: Enable TCP/UDP checksum HW offload Add support for TCP and UDP HW checksum offloading. RX chain is allways configured for offload mode. In case of checksum error in RX path the DMA L4 error bit(5) will be set to 1 and driver will drop the packet. TX checksum offloading is configrable (ethtool -K). TX descriptors are configured for checksum offload according to the SKB protocol type (TCP/UDP, IPV4/6), Upon mismatch drop the TX packet (checksum required but not TCP/UDP IPV4/6 type). Signed-off-by: Kirshenbaum Erez Signed-off-by: Vladimir Kondratiev Signed-off-by: John W. Linville --- Reading git-diff-tree failed