summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw
diff options
context:
space:
mode:
authorTatyana Nikolova <Tatyana.E.Nikolova@intel.com>2012-01-07 01:17:19 +0100
committerRoland Dreier <roland@purestorage.com>2012-01-27 19:15:13 +0100
commit4a4b03f4efdcf9f4dd8ce68f305c5fb8ff8e56c4 (patch)
treed327ecc6cc1be3dd9b94968d568546897e0f49ed /drivers/infiniband/hw
parentRDMA/nes: Fix fast memory registration length (diff)
downloadlinux-4a4b03f4efdcf9f4dd8ce68f305c5fb8ff8e56c4.tar.xz
linux-4a4b03f4efdcf9f4dd8ce68f305c5fb8ff8e56c4.zip
RDMA/nes: Fix fast memory registration opcode
Fix fast memory registration opcode in local invalidate completion. Signed-off-by: Tatyana Nikolova <Tatyana.E.Nikolova@intel.com> Signed-off-by: Donald Wood <Donald.E.Wood@intel.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw')
-rw-r--r--drivers/infiniband/hw/nes/nes_verbs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/nes/nes_verbs.c b/drivers/infiniband/hw/nes/nes_verbs.c
index ba2eb002fd29..3875365a284b 100644
--- a/drivers/infiniband/hw/nes/nes_verbs.c
+++ b/drivers/infiniband/hw/nes/nes_verbs.c
@@ -3726,7 +3726,7 @@ static int nes_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *entry)
entry->opcode = IB_WC_SEND;
break;
case NES_IWARP_SQ_OP_LOCINV:
- entry->opcode = IB_WR_LOCAL_INV;
+ entry->opcode = IB_WC_LOCAL_INV;
break;
case NES_IWARP_SQ_OP_FAST_REG:
entry->opcode = IB_WC_FAST_REG_MR;