From 29072f4acdda7c8693477ce9b8553c9370306314 Mon Sep 17 00:00:00 2001 From: Sean Hefty Date: Mon, 16 Aug 2010 12:16:58 -0700 Subject: [PATCH] refresh (create temporary patch) --- meta | 5 ++-- patches/refresh-temp | 57 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+), 2 deletions(-) create mode 100644 patches/refresh-temp diff --git a/meta b/meta index 9a0eceef..76102d3d 100644 --- a/meta +++ b/meta @@ -1,6 +1,6 @@ Version: 1 -Previous: 2d00f5ec4d9845d97d2f181472e378a58a24596d -Head: 80fbc07c5d55393f54c1cecfc69cc4de9d576f52 +Previous: 68d0377c62904cd07ddd020c977f726d83690ca2 +Head: 61d58a1446b6c89ef644bcbaa6ff12423d9395b2 Applied: sync: 452ce3b051e10e10363baa77834962a89267e052 pre-af-ib: 73504ef1f812bea6d1fd59f194f90e5194ca2efa @@ -11,6 +11,7 @@ Applied: gai: 22a27cbc8c17e08322878c0b84167c75dde413d2 getreq: e7e1236356b8048c88055b7ff076d0674fd35de9 ep: 80fbc07c5d55393f54c1cecfc69cc4de9d576f52 + refresh-temp: 61d58a1446b6c89ef644bcbaa6ff12423d9395b2 Unapplied: samples: 67c06eb1db23b9c95900616dd49acd83f388f3f0 cq-status: d4535a68c8d41302c9ee9d44b98a75ea19b4f172 diff --git a/patches/refresh-temp b/patches/refresh-temp new file mode 100644 index 00000000..1a2ff2fb --- /dev/null +++ b/patches/refresh-temp @@ -0,0 +1,57 @@ +Bottom: 6aab82405bfcc6e44e1ac2024cc6c51fb0556993 +Top: df75a059b0d2b3c5fd0544055c2f2cbbb05a2707 +Author: Sean Hefty +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, + enum rdma_port_space ps); + ++/** ++ * 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); ++ + /** + * rdma_destroy_id - Release a communication identifier. + * @id: The communication identifier to destroy. -- 2.46.0