From: Jack Morgenstein Date: Mon, 25 Dec 2006 07:24:52 +0000 (+0200) Subject: IB/mthca: Fix PRM compliance problem in atomic-send completions X-Git-Tag: v2.6.20-rc5~31^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98714cb161b4b1a5d0c5bd0337a8578196b73677;p=pandora-kernel.git IB/mthca: Fix PRM compliance problem in atomic-send completions According to the Tavor and Arbel programmer's reference manuals, the number of bytes transferred is not provided in the byte_cnt field of the CQ entry for atomic operation completions. For atomic operations, the number of bytes transferred is always 8 (when the status is "success"), and this constant value should always be used by the driver in the ib_wc entry returned, rather than using the CQE. Signed-off-by: Jack Morgenstein Signed-off-by: Roland Dreier --- Reading git-diff-tree failed