linux/drivers/net
Shani Michaeli f8c6455bb0 net/mlx4_en: Extend checksum offloading by CHECKSUM COMPLETE
When processing received traffic, pass CHECKSUM_COMPLETE status to the
stack, with calculated checksum for non TCP/UDP packets (such
as GRE or ICMP).

Although the stack expects checksum which doesn't include the pseudo
header, the HW adds it. To address that, we are subtracting the pseudo
header checksum from the checksum value provided by the HW.

In the IPv6 case, we also compute/add the IP header checksum which
is not added by the HW for such packets.

Cc: Jerry Chu <hkchu@google.com>
Signed-off-by: Shani Michaeli <shanim@mellanox.com>
Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-11-11 13:20:02 -05:00
..
appletalk
arcnet
bonding net: Move bonding headers under include/net 2014-11-10 13:27:49 -05:00
caif
can
cris
dsa dsa: mv88e6171: Add support for mv88e6172 2014-11-06 15:08:05 -05:00
ethernet net/mlx4_en: Extend checksum offloading by CHECKSUM COMPLETE 2014-11-11 13:20:02 -05:00
fddi
hamradio hamradio: 6pack: remove unnecessary check 2014-11-03 15:34:31 -05:00
hippi
hyperv hyperv: Add IPv6 into the hash computation for vRSS 2014-10-30 16:10:04 -04:00
ieee802154 at86rf230: deliver with checksum 2014-10-29 23:07:46 +01:00
irda
phy amd-xgbe-phy: Let AMD_XGBE_PHY depend on HAS_IOMEM 2014-11-05 21:50:13 -05:00
plip
ppp net: Add and use skb_copy_datagram_msg() helper. 2014-11-05 16:46:40 -05:00
slip
team
usb cdc-ether: implement MULTICAST flag on the device 2014-11-07 15:17:45 -05:00
vmxnet3
wan
wimax
wireless Merge tag 'master-2014-11-04' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next 2014-11-10 14:34:59 -05:00
xen-netback xen-netback: remove unconditional __pskb_pull_tail() in guest Tx path 2014-11-06 14:40:18 -05:00
dummy.c
eql.c
ifb.c
Kconfig drivers/net: macvtap and tun depend on INET 2014-10-30 23:50:26 -04:00
LICENSE.SRC
loopback.c
macvlan.c macvlan: fix a race on port dismantle and possible skb leaks 2014-10-25 16:24:02 -04:00
macvtap.c macvtap: Use iovec iterators 2014-11-07 12:13:34 -05:00
Makefile
mdio.c
mii.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tun.c tun: Use iovec iterators 2014-11-07 12:13:34 -05:00
veth.c
virtio_net.c drivers/net: Disable UFO through virtio 2014-10-30 20:01:18 -04:00
vxlan.c vxlan: Fix to enable UDP checksums on interface 2014-11-06 21:59:55 -05:00
xen-netfront.c xen-netfront: always keep the Rx ring full of requests 2014-10-26 22:21:32 -04:00