projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d1ff48
)
IB/mlx4: Fix opcode returned in RDMA read completion
author
Vu Pham
<vu@mellanox.com>
Fri, 3 Aug 2007 21:25:48 +0000
(14:25 -0700)
committer
Roland Dreier
<rolandd@cisco.com>
Fri, 3 Aug 2007 21:29:06 +0000
(14:29 -0700)
Current code has a cut-and-paste error and returns IB_WC_SEND when it
should return IB_WC_RDMA_READ.
Signed-off-by: Vu Pham <vu@mellanox.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mlx4/cq.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/mlx4/cq.c
b/drivers/infiniband/hw/mlx4/cq.c
index
660b27a
..
8bf44da
100644
(file)
--- a/
drivers/infiniband/hw/mlx4/cq.c
+++ b/
drivers/infiniband/hw/mlx4/cq.c
@@
-389,7
+389,7
@@
static int mlx4_ib_poll_one(struct mlx4_ib_cq *cq,
wc->opcode = IB_WC_SEND;
break;
case MLX4_OPCODE_RDMA_READ:
- wc->opcode = IB_WC_
SEN
D;
+ wc->opcode = IB_WC_
RDMA_REA
D;
wc->byte_len = be32_to_cpu(cqe->byte_cnt);
break;
case MLX4_OPCODE_ATOMIC_CS: