]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
RDMA/nes: Fix fast memory registration opcode
authorTatyana Nikolova <Tatyana.E.Nikolova@intel.com>
Sat, 7 Jan 2012 00:17:19 +0000 (18:17 -0600)
committerRoland Dreier <roland@purestorage.com>
Fri, 27 Jan 2012 18:15:13 +0000 (10:15 -0800)
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>
drivers/infiniband/hw/nes/nes_verbs.c

index ba2eb002fd29fc9f9a3b0c5d805e5444d105a25d..3875365a284b1a45e01d55c6333520d0d4cbe92d 100644 (file)
@@ -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;