[openib-general] [PATCH 5/7] IB/ipath - performance improvements via mmap of queues

Ralph Campbell ralphc at pathscale.com
Fri Aug 11 14:59:09 PDT 2006


EHCA changes to correspond to the ib_core module changes.

Signed-off-by: Ralph Campbell <ralph.campbell at qlogic.com>

Index: src/linux-kernel/infiniband/hw/ehca/ehca_qp.c
===================================================================
--- src/linux-kernel/infiniband/hw/ehca/ehca_qp.c	(revision 8843)
+++ src/linux-kernel/infiniband/hw/ehca/ehca_qp.c	(working copy)
@@ -1288,7 +1288,8 @@
 	return ret;
 }
 
-int ehca_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask)
+int ehca_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask,
+		   struct ib_udata *udata)
 {
 	int ret = 0;
 	struct ehca_qp *my_qp = NULL;
Index: src/linux-kernel/infiniband/hw/ehca/ehca_iverbs.h
===================================================================
--- src/linux-kernel/infiniband/hw/ehca/ehca_iverbs.h	(revision 8843)
+++ src/linux-kernel/infiniband/hw/ehca/ehca_iverbs.h	(working copy)
@@ -143,7 +143,8 @@
 
 int ehca_destroy_qp(struct ib_qp *qp);
 
-int ehca_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask);
+int ehca_modify_qp(struct ib_qp *ibqp, struct ib_qp_attr *attr, int attr_mask,
+		   struct ib_udata *udata);
 
 int ehca_query_qp(struct ib_qp *qp, struct ib_qp_attr *qp_attr,
 		  int qp_attr_mask, struct ib_qp_init_attr *qp_init_attr);






More information about the general mailing list