Version: 1
-Previous: 2d00f5ec4d9845d97d2f181472e378a58a24596d
-Head: 80fbc07c5d55393f54c1cecfc69cc4de9d576f52
+Previous: 68d0377c62904cd07ddd020c977f726d83690ca2
+Head: 61d58a1446b6c89ef644bcbaa6ff12423d9395b2
Applied:
sync: 452ce3b051e10e10363baa77834962a89267e052
pre-af-ib: 73504ef1f812bea6d1fd59f194f90e5194ca2efa
gai: 22a27cbc8c17e08322878c0b84167c75dde413d2
getreq: e7e1236356b8048c88055b7ff076d0674fd35de9
ep: 80fbc07c5d55393f54c1cecfc69cc4de9d576f52
+ refresh-temp: 61d58a1446b6c89ef644bcbaa6ff12423d9395b2
Unapplied:
samples: 67c06eb1db23b9c95900616dd49acd83f388f3f0
cq-status: d4535a68c8d41302c9ee9d44b98a75ea19b4f172
--- /dev/null
+Bottom: 6aab82405bfcc6e44e1ac2024cc6c51fb0556993
+Top: df75a059b0d2b3c5fd0544055c2f2cbbb05a2707
+Author: Sean Hefty <sean.hefty@intel.com>
+Date: 2010-08-16 12:16:56 -0700
+
+Refresh of ep
+
+---
+
+diff --git a/trunk/ulp/librdmacm/include/rdma/rdma_cma.h b/trunk/ulp/librdmacm/include/rdma/rdma_cma.h
+index 66932ca..70b5248 100644
+--- a/trunk/ulp/librdmacm/include/rdma/rdma_cma.h
++++ b/trunk/ulp/librdmacm/include/rdma/rdma_cma.h
+@@ -264,6 +264,43 @@ int rdma_create_id(struct rdma_event_channel *channel,
+ struct rdma_cm_id **id, void *context,\r
+ enum rdma_port_space ps);\r
+ \r
++/**
++ * rdma_create_ep - Allocate a communication identifier and qp.
++ * @id: A reference where the allocated communication identifier will be
++ * returned.
++ * @res: Result from rdma_getaddrinfo, which specifies the source and
++ * destination addresses, plus optional routing and connection information.
++ * @pd: Optional protection domain. This parameter is ignored if qp_init_attr
++ * is NULL.
++ * @qp_init_attr: Optional attributes for a QP created on the rdma_cm_id.
++ * Description:
++ * Create an identifier and option QP used for communication.
++ * Notes:
++ * If qp_init_attr is provided, then a queue pair will be allocated and
++ * associated with the rdma_cm_id. If a pd is provided, the QP will be
++ * created on that PD. Otherwise, the QP will be allocated on a default
++ * PD.
++ * The rdma_cm_id will be set to use synchronous operations (connect,
++ * listen, and get_request). To convert to asynchronous operation, the
++ * rdma_cm_id should be migrated to a user allocated event channel.
++ * See also:
++ * rdma_create_id, rdma_create_qp, rdma_migrate_id, rdma_connect,
++ * rdma_listen
++ */
++int rdma_create_ep(struct rdma_cm_id **id, struct rdma_addrinfo *res,
++ struct ibv_pd *pd, struct ibv_qp_init_attr *qp_init_attr);
++
++/**
++ * rdma_destroy_ep - Deallocates a communication identifier and qp.
++ * @id: The communication identifer to destroy.
++ * Description:
++ * Destroys the specified rdma_cm_id and any associated QP created
++ * on that id.
++ * See also:
++ * rdma_create_ep
++ */
++void rdma_destroy_ep(struct rdma_cm_id *id);
++\r
+ /**\r
+ * rdma_destroy_id - Release a communication identifier.\r
+ * @id: The communication identifier to destroy.