summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/nes/nes_verbs.c
diff options
context:
space:
mode:
authorTatyana Nikolova <Tatyana.E.Nikolova@intel.com>2012-01-06 18:17:19 -0600
committerRoland Dreier <roland@purestorage.com>2012-01-27 10:15:13 -0800
commit4a4b03f4efdcf9f4dd8ce68f305c5fb8ff8e56c4 (patch)
treed327ecc6cc1be3dd9b94968d568546897e0f49ed /drivers/infiniband/hw/nes/nes_verbs.c
parent94f622bdac82dd0542741382ea8c9359fd9c163b (diff)
downloadop-kernel-dev-4a4b03f4efdcf9f4dd8ce68f305c5fb8ff8e56c4.zip
op-kernel-dev-4a4b03f4efdcf9f4dd8ce68f305c5fb8ff8e56c4.tar.gz
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/nes/nes_verbs.c')
-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 ba2eb00..3875365 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;
OpenPOWER on IntegriCloud