Skip to contentSkip to conversation

librdmacm: support synchronous rdma_cm_id's

PATCH In review Sean Hefty 1 participant 1 message Apr 7, 2010 InfiniBand

lore
Share & tools
lore

Sean Hefty

author
#0 lore raw

PATCH 12/37 librdmacm: support synchronous rdma_cm_id's

Allow the user to specify NULL as the rdma_event_channel in order to indicate that the rdma_cm_id should process all requests synchronously.

---

 include/rdma/rdma_cma.h |    1 +
 src/cma.c               |   93 +++++++++++++++++++++++++++++++++++++++--------
 2 files changed, 78 insertions(+), 16 deletions(-)
include/rdma/rdma_cma.h +1 -0
index a071a9b..83418c3 100644
@@ -114,6 +114,7 @@ struct rdma_cm_id {
 	struct rdma_route	 route;
 	enum rdma_port_space	 ps;
 	uint8_t			 port_num;
+	struct rdma_cm_event	*event;
 };
 
 struct rdma_conn_param {
src/cma.c +77 -16

206 lines not on this page · raw message

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html