/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/rdma/ |
H A D | iw_cm.h | 72 * @cm_id: The IW CM identifier associated with the event. 75 typedef int (*iw_cm_handler)(struct iw_cm_id *cm_id, 83 * @cm_id: The IW CM identifier associated with the event. 86 typedef int (*iw_event_handler)(struct iw_cm_id *cm_id, 98 /* Used by provider to add and remove refs on IW cm_id */ 119 int (*connect)(struct iw_cm_id *cm_id, 122 int (*accept)(struct iw_cm_id *cm_id, 125 int (*reject)(struct iw_cm_id *cm_id, 128 int (*create_listen)(struct iw_cm_id *cm_id, 131 int (*destroy_listen)(struct iw_cm_id *cm_id); [all...] |
H A D | ib_cm.h | 266 * @cm_id: Communication identifier associated with the reported event. 271 * new @cm_id. The new @cm_id is returned to the user through this callback. 272 * Clients are responsible for destroying the new @cm_id. For peer-to-peer 273 * IB_CM_REQ_RECEIVED and all other events, the returned @cm_id corresponds 278 * destroy the @cm_id after the callback completes. 280 typedef int (*ib_cm_handler)(struct ib_cm_id *cm_id, 298 * @device: Device associated with the cm_id. All related communication will 313 * @cm_id: Connection identifier to destroy. 317 void ib_destroy_cm_id(struct ib_cm_id *cm_id); [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/amso1100/ |
H A D | c2_cm.c | 39 int c2_llp_connect(struct iw_cm_id *cm_id, struct iw_cm_conn_param *iw_param) argument 41 struct c2_dev *c2dev = to_c2dev(cm_id->device); 48 ibqp = c2_get_qp(cm_id->device, iw_param->qpn); 54 cm_id->provider_data = qp; 55 cm_id->add_ref(cm_id); 56 qp->cm_id = cm_id; 92 wr->remote_addr = cm_id->remote_addr.sin_addr.s_addr; 93 wr->remote_port = cm_id 129 c2_llp_service_create(struct iw_cm_id *cm_id, int backlog) argument 214 c2_llp_service_destroy(struct iw_cm_id *cm_id) argument 281 c2_llp_accept(struct iw_cm_id *cm_id, struct iw_cm_conn_param *iw_param) argument 387 c2_llp_reject(struct iw_cm_id *cm_id, const void *pdata, u8 pdata_len) argument [all...] |
H A D | c2_ae.c | 185 struct iw_cm_id *cm_id = qp->cm_id; local 188 if (!cm_id) { 189 pr_debug("event received, but cm_id is <nul>, qp=%p!\n", 219 if (qp->cm_id) { 220 qp->cm_id->rem_ref(qp->cm_id); 221 qp->cm_id = NULL; 227 if (cm_id->event_handler) 228 cm_id 273 struct iw_cm_id *cm_id = local [all...] |
H A D | c2_intr.c | 190 cm_event.local_addr = req->cm_id->local_addr; 191 cm_event.remote_addr = req->cm_id->remote_addr; 194 req->cm_id->event_handler(req->cm_id, &cm_event);
|
H A D | c2_vq.h | 46 struct iw_cm_id *cm_id; member in struct:c2_vq_req
|
H A D | c2_qp.c | 173 if (qp->cm_id && qp->state == IB_QPS_RTS) { 175 "qp=%p, cm_id=%p\n",qp,qp->cm_id); 177 vq_req->cm_id = qp->cm_id; 235 if (vq_req->event==IW_CM_EVENT_CLOSE && qp->cm_id) { 236 qp->cm_id->rem_ref(qp->cm_id); 237 qp->cm_id = NULL; 331 if (qp->cm_id [all...] |
H A D | c2.h | 525 extern int c2_llp_connect(struct iw_cm_id *cm_id, 527 extern int c2_llp_accept(struct iw_cm_id *cm_id, 529 extern int c2_llp_reject(struct iw_cm_id *cm_id, const void *pdata, 531 extern int c2_llp_service_create(struct iw_cm_id *cm_id, int backlog); 532 extern int c2_llp_service_destroy(struct iw_cm_id *cm_id);
|
H A D | c2_provider.c | 599 static int c2_connect(struct iw_cm_id *cm_id, struct iw_cm_conn_param *iw_param) argument 604 return c2_llp_connect(cm_id, iw_param); 607 static int c2_accept(struct iw_cm_id *cm_id, struct iw_cm_conn_param *iw_param) argument 612 return c2_llp_accept(cm_id, iw_param); 615 static int c2_reject(struct iw_cm_id *cm_id, const void *pdata, u8 pdata_len) argument 621 err = c2_llp_reject(cm_id, pdata, pdata_len); 625 static int c2_service_create(struct iw_cm_id *cm_id, int backlog) argument 630 err = c2_llp_service_create(cm_id, backlog); 637 static int c2_service_destroy(struct iw_cm_id *cm_id) argument 642 err = c2_llp_service_destroy(cm_id); [all...] |
H A D | c2_provider.h | 109 struct iw_cm_id *cm_id; member in struct:c2_qp
|
H A D | c2_vq.c | 112 r->cm_id = NULL;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/cxgb3/ |
H A D | iwch_cm.h | 152 struct iw_cm_id *cm_id; member in struct:iwch_ep_common 192 static inline struct iwch_ep *to_ep(struct iw_cm_id *cm_id) argument 194 return cm_id->provider_data; 197 static inline struct iwch_listen_ep *to_listen_ep(struct iw_cm_id *cm_id) argument 199 return cm_id->provider_data; 213 int iwch_connect(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param); 214 int iwch_create_listen(struct iw_cm_id *cm_id, int backlog); 215 int iwch_destroy_listen(struct iw_cm_id *cm_id); 216 int iwch_reject_cr(struct iw_cm_id *cm_id, const void *pdata, u8 pdata_len); 217 int iwch_accept_cr(struct iw_cm_id *cm_id, struc [all...] |
H A D | iwch_cm.c | 670 if (ep->com.cm_id) { 671 PDBG("close complete delivered ep %p cm_id %p tid %d\n", 672 ep, ep->com.cm_id, ep->hwtid); 673 ep->com.cm_id->event_handler(ep->com.cm_id, &event); 674 ep->com.cm_id->rem_ref(ep->com.cm_id); 675 ep->com.cm_id = NULL; 687 if (ep->com.cm_id) { 688 PDBG("peer close delivered ep %p cm_id 1705 iwch_reject_cr(struct iw_cm_id *cm_id, const void *pdata, u8 pdata_len) argument 1725 iwch_accept_cr(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param) argument 1800 iwch_connect(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param) argument 1882 iwch_create_listen(struct iw_cm_id *cm_id, int backlog) argument 1935 iwch_destroy_listen(struct iw_cm_id *cm_id) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/core/ |
H A D | iwcm.c | 59 struct iwcm_id_private *cm_id; member in struct:iwcm_work 67 * elements. The design pre-allocates them based on the cm_id type: 77 * One exception is when creating the cm_id for incoming connection requests. 79 * 1) in the event upcall, cm_event_handler(), for a listening cm_id. If 84 * If work elements cannot be allocated for the new connect request cm_id, 103 list_add(&work->free_list, &work->cm_id->work_free_list); 125 work->cm_id = cm_id_priv; 155 * Release a reference on cm_id. If the last reference is being 171 static void add_ref(struct iw_cm_id *cm_id) argument 174 cm_id_priv = container_of(cm_id, struc 178 rem_ref(struct iw_cm_id *cm_id) argument 256 iw_cm_disconnect(struct iw_cm_id *cm_id, int abrupt) argument 323 destroy_cm_id(struct iw_cm_id *cm_id) argument 387 iw_destroy_cm_id(struct iw_cm_id *cm_id) argument 408 iw_cm_listen(struct iw_cm_id *cm_id, int backlog) argument 444 iw_cm_reject(struct iw_cm_id *cm_id, const void *private_data, u8 private_data_len) argument 482 iw_cm_accept(struct iw_cm_id *cm_id, struct iw_cm_conn_param *iw_param) argument 536 iw_cm_connect(struct iw_cm_id *cm_id, struct iw_cm_conn_param *iw_param) argument 607 struct iw_cm_id *cm_id; local 888 cm_event_handler(struct iw_cm_id *cm_id, struct iw_cm_event *iw_event) argument 981 iw_cm_init_qp_attr(struct iw_cm_id *cm_id, struct ib_qp_attr *qp_attr, int *qp_attr_mask) argument [all...] |
H A D | ucma.c | 69 struct rdma_cm_id *cm_id; member in struct:ucma_context 92 struct rdma_cm_id *cm_id; member in struct:ucma_event 245 static int ucma_event_handler(struct rdma_cm_id *cm_id, argument 249 struct ucma_context *ctx = cm_id->context; 256 uevent->cm_id = cm_id; 260 if (cm_id->ps == RDMA_PS_UDP || cm_id->ps == RDMA_PS_IPOIB) 330 ctx->cm_id = uevent->cm_id; [all...] |
H A D | cm.c | 687 * The cm_id could be destroyed by the user before we exit timewait. 688 * To protect against this, we search for the cm_id after exiting 712 static void cm_destroy_id(struct ib_cm_id *cm_id, int err) argument 718 cm_id_priv = container_of(cm_id, struct cm_id_private, id); 721 switch (cm_id->state) { 723 cm_id->state = IB_CM_IDLE; 730 cm_id->state = IB_CM_IDLE; 741 ib_send_cm_rej(cm_id, IB_CM_REJ_TIMEOUT, 753 ib_send_cm_rej(cm_id, IB_CM_REJ_CONSUMER_DEFINED, 766 ib_send_cm_rej(cm_id, IB_CM_REJ_CONSUMER_DEFINE 797 ib_destroy_cm_id(struct ib_cm_id *cm_id) argument 803 ib_cm_listen(struct ib_cm_id *cm_id, __be64 service_id, __be64 service_mask, struct ib_cm_compare_data *compare_data) argument 962 ib_send_cm_req(struct ib_cm_id *cm_id, struct ib_cm_req_param *param) argument 1348 struct ib_cm_id *cm_id; local 1455 ib_send_cm_rep(struct ib_cm_id *cm_id, struct ib_cm_rep_param *param) argument 1517 ib_send_cm_rtu(struct ib_cm_id *cm_id, const void *private_data, u8 private_data_len) argument 1799 ib_send_cm_dreq(struct ib_cm_id *cm_id, const void *private_data, u8 private_data_len) argument 1857 ib_send_cm_drep(struct ib_cm_id *cm_id, const void *private_data, u8 private_data_len) argument 2032 ib_send_cm_rej(struct ib_cm_id *cm_id, enum ib_cm_rej_reason reason, void *ari, u8 ari_length, const void *private_data, u8 private_data_len) argument 2199 ib_send_cm_mra(struct ib_cm_id *cm_id, u8 service_timeout, const void *private_data, u8 private_data_len) argument 2388 ib_send_cm_lap(struct ib_cm_id *cm_id, struct ib_sa_path_rec *alternate_path, const void *private_data, u8 private_data_len) argument 2553 ib_send_cm_apr(struct ib_cm_id *cm_id, enum ib_cm_apr_status status, void *info, u8 info_length, const void *private_data, u8 private_data_len) argument 2694 ib_send_cm_sidr_req(struct ib_cm_id *cm_id, struct ib_cm_sidr_req_param *param) argument 2760 struct ib_cm_id *cm_id; local 2837 ib_send_cm_sidr_rep(struct ib_cm_id *cm_id, struct ib_cm_sidr_rep_param *param) argument 3053 cm_establish(struct ib_cm_id *cm_id) argument 3102 cm_migrate(struct ib_cm_id *cm_id) argument 3122 ib_cm_notify(struct ib_cm_id *cm_id, enum ib_event_type event) argument 3341 ib_cm_init_qp_attr(struct ib_cm_id *cm_id, struct ib_qp_attr *qp_attr, int *qp_attr_mask) argument [all...] |
H A D | ucm.c | 83 struct ib_cm_id *cm_id; member in struct:ib_ucm_context 95 struct ib_cm_id *cm_id; member in struct:ib_ucm_event 168 ib_destroy_cm_id(uevent->cm_id); 355 static int ib_ucm_event_handler(struct ib_cm_id *cm_id, argument 362 ctx = cm_id->context; 369 uevent->cm_id = cm_id; 388 /* Destroy new cm_id's */ 431 ctx->cm_id = uevent->cm_id; 844 ib_ucm_send_private_data(struct ib_ucm_file *file, const char __user *inbuf, int in_len, int (*func)(struct ib_cm_id *cm_id, const void *private_data, u8 private_data_len)) argument 894 ib_ucm_send_info(struct ib_ucm_file *file, const char __user *inbuf, int in_len, int (*func)(struct ib_cm_id *cm_id, int status, const void *info, u8 info_len, const void *data, u8 data_len)) argument [all...] |
H A D | cma.c | 135 } cm_id; member in struct:rdma_id_private 373 return (id_priv->id.device && id_priv->cm_id.ib); 566 if (!id_priv->cm_id.ib || cma_is_ud_ps(id_priv->id.ps)) 569 ret = ib_cm_init_qp_attr(id_priv->cm_id.ib, qp_attr, 575 if (!id_priv->cm_id.iw) { 579 ret = iw_cm_init_qp_attr(id_priv->cm_id.iw, qp_attr, 731 if (id_priv->cm_id.ib && !IS_ERR(id_priv->cm_id.ib)) 732 ib_destroy_cm_id(id_priv->cm_id.ib); 735 if (id_priv->cm_id 902 cma_ib_handler(struct ib_cm_id *cm_id, struct ib_cm_event *ib_event) argument 1073 cma_req_handler(struct ib_cm_id *cm_id, struct ib_cm_event *ib_event) argument 1244 iw_conn_req_handler(struct iw_cm_id *cm_id, struct iw_cm_event *iw_event) argument 2052 cma_sidr_rep_handler(struct ib_cm_id *cm_id, struct ib_cm_event *ib_event) argument 2220 struct iw_cm_id *cm_id; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_cm.c | 70 static int ipoib_cm_tx_handler(struct ib_cm_id *cm_id, 215 struct ib_cm_id *cm_id, struct ib_qp *qp, 223 ret = ib_cm_init_qp_attr(cm_id, &qp_attr, &qp_attr_mask); 234 ret = ib_cm_init_qp_attr(cm_id, &qp_attr, &qp_attr_mask); 247 ret = ib_cm_init_qp_attr(cm_id, &qp_attr, &qp_attr_mask); 261 static int ipoib_cm_send_rep(struct net_device *dev, struct ib_cm_id *cm_id, argument 280 return ib_send_cm_rep(cm_id, &rep); 283 static int ipoib_cm_req_handler(struct ib_cm_id *cm_id, struct ib_cm_event *event) argument 285 struct net_device *dev = cm_id->context; 296 p->id = cm_id; 214 ipoib_cm_modify_rx_qp(struct net_device *dev, struct ib_cm_id *cm_id, struct ib_qp *qp, unsigned psn) argument 338 ipoib_cm_rx_handler(struct ib_cm_id *cm_id, struct ib_cm_event *event) argument 733 ipoib_cm_rep_handler(struct ib_cm_id *cm_id, struct ib_cm_event *event) argument 852 ipoib_cm_modify_tx_init(struct net_device *dev, struct ib_cm_id *cm_id, struct ib_qp *qp) argument 987 ipoib_cm_tx_handler(struct ib_cm_id *cm_id, struct ib_cm_event *event) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/ |
H A D | mbcs.h | 79 union cm_id { union 145 uint64_t cm_id:2, // 1:0 member in struct:cm_control::__anon4278 342 union cm_id id;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/ulp/srp/ |
H A D | ib_srp.h | 136 struct ib_cm_id *cm_id; member in struct:srp_target_port
|
H A D | ib_srp.c | 91 static int srp_cm_handler(struct ib_cm_id *cm_id, struct ib_cm_event *event); 372 status = ib_send_cm_req(target->cm_id, &req->param); 383 if (ib_send_cm_dreq(target->cm_id, NULL, 0)) { 408 ib_destroy_cm_id(target->cm_id); 526 ib_destroy_cm_id(target->cm_id); 527 target->cm_id = new_cm_id; 1091 static void srp_cm_rej_handler(struct ib_cm_id *cm_id, argument 1103 cm_id->remote_cm_qpn = be32_to_cpu(cpi->redirect_qp) & 0x00ffffff; 1162 static int srp_cm_handler(struct ib_cm_id *cm_id, struct ib_cm_event *event) argument 1164 struct srp_target_port *target = cm_id [all...] |