From: Eli Cohen Date: Thu, 17 Apr 2008 04:01:10 +0000 (-0700) Subject: IB/mlx4: Add IPoIB checksum offload support X-Git-Tag: v2.6.26-rc1~1156^2~78 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ff095ec4bce7be943beff3b330562e2f0e42167;p=pandora-kernel.git IB/mlx4: Add IPoIB checksum offload support ConnectX devices support checksum generation and verification of TCP and UDP packets for UD IPoIB messages. This patch checks if the HCA supports this and sets the IB_DEVICE_UD_IP_CSUM capability flag if it does. It implements support for handling the IB_SEND_IP_CSUM send flag and setting the csum_ok field in receive work completions. Signed-off-by: Eli Cohen Signed-off-by: Ali Ayub Signed-off-by: Roland Dreier --- Reading git-diff-tree failed