From: Tatyana Nikolova Date: Sat, 7 Jan 2012 00:17:19 +0000 (-0600) Subject: RDMA/nes: Fix fast memory registration opcode X-Git-Tag: v3.3-rc3~40^2^5~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4a4b03f4efdcf9f4dd8ce68f305c5fb8ff8e56c4;p=profile%2Fivi%2Fkernel-x86-ivi.git RDMA/nes: Fix fast memory registration opcode Fix fast memory registration opcode in local invalidate completion. Signed-off-by: Tatyana Nikolova Signed-off-by: Donald Wood Signed-off-by: Roland Dreier --- 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;