IB/mthca: Fix PRM compliance problem in atomic-send completions
authorJack Morgenstein <jackm@dev.mellanox.co.il>
Mon, 25 Dec 2006 07:24:52 +0000 (09:24 +0200)
committerRoland Dreier <rolandd@cisco.com>
Mon, 8 Jan 2007 04:25:24 +0000 (20:25 -0800)
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 <jackm@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found