Fixes fast memory registration incorrect opcode for local 
invalidate completion.

Signed-off-by: Tatyana Nikolova <tatyana.e.nikol...@intel.com>
Signed-off-by: Donald Wood <donald.e.w...@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

_______________________________________________
ewg mailing list
ewg@lists.openfabrics.org
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg

Reply via email to