[ewg] [PATCH] RDMA/nes: Fix for fast memory registration opcode

Tatyana Nikolova Tatyana.E.Nikolova at intel.com
Fri Jan 6 16:19:28 PST 2012


Fixes fast memory registration incorrect opcode for local 
invalidate completion.

Signed-off-by: Tatyana Nikolova <Tatyana.E.Nikolova at intel.com>
Signed-off-by: Donald Wood <Donald.E.Wood at intel.com>
---
 kernel_patches/fixes/nes_0068_fmr_compl_fix.patch |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)
 create mode 100644 kernel_patches/fixes/nes_0068_fmr_compl_fix.patch

diff --git a/kernel_patches/fixes/nes_0068_fmr_compl_fix.patch b/kernel_patches/fixes/nes_0068_fmr_compl_fix.patch
new file mode 100644
index 0000000..0108b94
--- /dev/null
+++ b/kernel_patches/fixes/nes_0068_fmr_compl_fix.patch
@@ -0,0 +1,16 @@
+diff --git a/drivers/infiniband/hw/nes/nes_verbs.c b/drivers/infiniband/hw/nes/nes_verbs.c
+index d33f563..bd09a19 100644
+--- a/drivers/infiniband/hw/nes/nes_verbs.c
++++ b/drivers/infiniband/hw/nes/nes_verbs.c
+@@ -3947,7 +3949,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;
+--
+1.7.1
+
-- 
1.7.1




More information about the ewg mailing list