[ewg] [PATCH] ma/nes: set assume_alligned_header bit

Faisal Latif faisal.latif at intel.com
Fri Feb 19 13:17:40 PST 2010


Set assume_alligned_header bit in qp conext as recommended by hardware group.

Signed-off-by: Faisal Latif <faisal.latif at intel.com>
---
 kernel_patches/fixes/nes_0026_aah.patch |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)
 create mode 100644 kernel_patches/fixes/nes_0026_aah.patch

diff --git a/kernel_patches/fixes/nes_0026_aah.patch b/kernel_patches/fixes/nes_0026_aah.patch
new file mode 100644
index 0000000..1d879db
--- /dev/null
+++ b/kernel_patches/fixes/nes_0026_aah.patch
@@ -0,0 +1,15 @@
+diff --git a/drivers/infiniband/hw/nes/nes_verbs.c b/drivers/infiniband/hw/nes/nes_verbs.c
+index 6eab834..0c118e0 100644
+--- a/drivers/infiniband/hw/nes/nes_verbs.c
++++ b/drivers/infiniband/hw/nes/nes_verbs.c
+@@ -1325,6 +1325,7 @@ static struct ib_qp *nes_create_qp(struct ib_pd *ibpd,
+ 			nesqp->nesqp_context->ird_ord_sizes = cpu_to_le32(NES_QPCONTEXT_ORDIRD_ALSMM |
+ 					((((u32)nesadapter->max_irrq_wr) <<
+ 					NES_QPCONTEXT_ORDIRD_IRDSIZE_SHIFT) & NES_QPCONTEXT_ORDIRD_IRDSIZE_MASK));
++			nesqp->nesqp_context->ird_ord_sizes |= cpu_to_le32(NES_QPCONTEXT_ORDIRD_AAH);
+ 			if (disable_mpa_crc) {
+ 				nes_debug(NES_DBG_QP, "Disabling MPA crc checking due to module option.\n");
+ 				nesqp->nesqp_context->ird_ord_sizes |= cpu_to_le32(NES_QPCONTEXT_ORDIRD_RNMC);
+--
+1.6.0
+
-- 
1.6.0




More information about the ewg mailing list