diff options
author | Jack Morgenstein <jackm@dev.mellanox.co.il> | 2006-12-25 09:24:52 +0200 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2007-01-07 20:25:24 -0800 |
commit | 98714cb161b4b1a5d0c5bd0337a8578196b73677 (patch) | |
tree | 7ea22e79dc95a7c16bcba73430939ca2b21c348b /drivers/infiniband/hw/ehca/ehca_irq.c | |
parent | 0cefcf0bbc2d252eb48bff3289fb59c3817dd405 (diff) | |
download | op-kernel-dev-98714cb161b4b1a5d0c5bd0337a8578196b73677.zip op-kernel-dev-98714cb161b4b1a5d0c5bd0337a8578196b73677.tar.gz |
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 <jackm@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ehca/ehca_irq.c')
0 files changed, 0 insertions, 0 deletions