Lines Matching refs:id

106  *   the passed in id, or a corresponding listen id.  Returning a
107 * non-zero value from the callback will destroy the passed in id.
109 typedef int (*rdma_cm_event_handler)(struct rdma_cm_id *id,
136 * @net: The network namespace in which to create the new id.
139 * @context: User specified context associated with the id.
141 * @qp_type: type of queue pair associated with the id.
143 * Returns a new rdma_cm_id. The id holds a reference on the network
146 * The event handler callback serializes on the id's mutex and is
156 * @id: RDMA identifier.
159 * asynchronous operations associated with the id.
161 void rdma_destroy_id(struct rdma_cm_id *id);
167 * @id: RDMA identifier.
174 int rdma_bind_addr(struct rdma_cm_id *id, struct sockaddr *addr);
181 * @id: RDMA identifier.
186 int rdma_resolve_addr(struct rdma_cm_id *id, struct sockaddr *src_addr,
198 int rdma_resolve_route(struct rdma_cm_id *id, unsigned long timeout_ms);
207 int rdma_create_qp(struct rdma_cm_id *id, struct ib_pd *pd,
217 void rdma_destroy_qp(struct rdma_cm_id *id);
222 * @id: Communication identifier associated with the QP attributes to
238 int rdma_init_qp_attr(struct rdma_cm_id *id, struct ib_qp_attr *qp_attr,
241 int rdma_connect(struct rdma_cm_id *id, struct rdma_conn_param *conn_param);
242 int rdma_connect_locked(struct rdma_cm_id *id,
245 int rdma_connect_ece(struct rdma_cm_id *id, struct rdma_conn_param *conn_param,
255 int rdma_listen(struct rdma_cm_id *id, int backlog);
257 int rdma_accept(struct rdma_cm_id *id, struct rdma_conn_param *conn_param);
259 void rdma_lock_handler(struct rdma_cm_id *id);
260 void rdma_unlock_handler(struct rdma_cm_id *id);
261 int rdma_accept_ece(struct rdma_cm_id *id, struct rdma_conn_param *conn_param,
267 * @id: Connection identifier to transition to established.
277 int rdma_notify(struct rdma_cm_id *id, enum ib_event_type event);
282 int rdma_reject(struct rdma_cm_id *id, const void *private_data,
289 int rdma_disconnect(struct rdma_cm_id *id);
294 * @id: Communication identifier associated with the request.
301 int rdma_join_multicast(struct rdma_cm_id *id, struct sockaddr *addr,
308 void rdma_leave_multicast(struct rdma_cm_id *id, struct sockaddr *addr);
313 * @id: Communication identifier to associated with service type.
322 void rdma_set_service_type(struct rdma_cm_id *id, int tos);
327 * @id: Communication identifier to configure.
330 * Reuse must be set before an address is bound to the id.
332 int rdma_set_reuseaddr(struct rdma_cm_id *id, int reuse);
337 * @id: Communication identifer to configure.
342 int rdma_set_afonly(struct rdma_cm_id *id, int afonly);
344 int rdma_set_ack_timeout(struct rdma_cm_id *id, u8 timeout);
346 int rdma_set_min_rnr_timer(struct rdma_cm_id *id, u8 min_rnr_timer);
349 * @id: Communication identifier associated with the address.
352 __be64 rdma_get_service_id(struct rdma_cm_id *id, struct sockaddr *addr);
356 * @id: Communication identifier that received the REJECT event.
359 const char *__attribute_const__ rdma_reject_msg(struct rdma_cm_id *id,
364 * @id: Communication identifier that received the REJECT event.
368 const void *rdma_consumer_reject_data(struct rdma_cm_id *id,
378 * @id: Communication identifier whose GIDs are queried.