From: Faisal Latif Date: Thu, 21 Feb 2008 14:31:22 +0000 (-0600) Subject: RDMA/nes: Fix CRC endianness for RDMA connection establishment on big-endian X-Git-Tag: v2.6.25-rc4~150^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30da7cff87f0ffa169fe07b766c3d6a5f6d1f6ab;p=pandora-kernel.git RDMA/nes: Fix CRC endianness for RDMA connection establishment on big-endian With commit ef19454b ("[LIB] crc32c: Keep intermediate crc state in cpu order"), the behavior of crc32c changes on big-endian platforms. Our algorithm expects the previous behavior; otherwise we have RDMA connection establishment failure on big-endian platforms like powerpc. Apply cpu_to_le32() to value returned by crc32c() to get the previous behavior. Signed-off-by: Faisal Latif Signed-off-by: Glenn Streiff Signed-off-by: Roland Dreier --- Reading git-diff-tree failed