/linux/drivers/infiniband/hw/qedr/ |
H A D | qedr_iw_cm.c | 532 int qedr_iw_connect(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param) in qedr_iw_connect() argument 570 qp = qedr_iw_load_qp(dev, conn_param->qpn); in qedr_iw_connect() 629 conn_param->ord, conn_param->ird, conn_param->private_data, in qedr_iw_connect() 630 conn_param->private_data_len, qp->rq_psn); in qedr_iw_connect() 632 cm_info->ord = conn_param->ord; in qedr_iw_connect() 633 cm_info->ird = conn_param->ird; in qedr_iw_connect() 634 cm_info->private_data = conn_param->private_data; in qedr_iw_connect() 635 cm_info->private_data_len = conn_param->private_data_len; in qedr_iw_connect() 737 int qedr_iw_accept(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param) in qedr_iw_accept() argument 745 DP_DEBUG(dev, QEDR_MSG_IWARP, "Accept on qpid=%d\n", conn_param->qpn); in qedr_iw_accept() [all …]
|
H A D | qedr_iw_cm.h | 35 struct iw_cm_conn_param *conn_param); 41 int qedr_iw_accept(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param);
|
/linux/include/rdma/ |
H A D | rdma_cm.h | 241 int rdma_connect(struct rdma_cm_id *id, struct rdma_conn_param *conn_param); 243 struct rdma_conn_param *conn_param); 245 int rdma_connect_ece(struct rdma_cm_id *id, struct rdma_conn_param *conn_param, 257 int rdma_accept(struct rdma_cm_id *id, struct rdma_conn_param *conn_param); 261 int rdma_accept_ece(struct rdma_cm_id *id, struct rdma_conn_param *conn_param,
|
H A D | ib_verbs.h | 2617 struct iw_cm_conn_param *conn_param); 2619 struct iw_cm_conn_param *conn_param);
|
/linux/net/sunrpc/xprtrdma/ |
H A D | svc_rdma_transport.c | 411 struct rdma_conn_param conn_param; in svc_rdma_accept() local 537 memset(&conn_param, 0, sizeof conn_param); in svc_rdma_accept() 538 conn_param.responder_resources = 0; in svc_rdma_accept() 539 conn_param.initiator_depth = min_t(int, newxprt->sc_ord, in svc_rdma_accept() 541 if (!conn_param.initiator_depth) { in svc_rdma_accept() 546 conn_param.private_data = &pmsg; in svc_rdma_accept() 547 conn_param.private_data_len = sizeof(pmsg); in svc_rdma_accept() 550 ret = rdma_accept(newxprt->sc_cm_id, &conn_param); in svc_rdma_accept() 567 dprintk(" ord : %d\n", conn_param.initiator_depth); in svc_rdma_accept()
|
/linux/drivers/infiniband/core/ |
H A D | cma.c | 1170 struct rdma_conn_param *conn_param) in cma_modify_qp_rtr() argument 1198 if (conn_param) in cma_modify_qp_rtr() 1199 qp_attr.max_dest_rd_atomic = conn_param->responder_resources; in cma_modify_qp_rtr() 1207 struct rdma_conn_param *conn_param) in cma_modify_qp_rts() argument 1223 if (conn_param) in cma_modify_qp_rts() 1224 qp_attr.max_rd_atomic = conn_param->initiator_depth; in cma_modify_qp_rts() 4273 struct rdma_conn_param *conn_param) in cma_resolve_ib_udp() argument 4283 if (check_add_overflow(offset, conn_param->private_data_len, &req.private_data_len)) in cma_resolve_ib_udp() 4294 if (conn_param->private_data && conn_param->private_data_len) in cma_resolve_ib_udp() 4295 memcpy(private_data + offset, conn_param->private_data, in cma_resolve_ib_udp() [all …]
|
H A D | ucma.c | 1052 struct rdma_conn_param conn_param; in ucma_connect() local 1065 if (!cmd.conn_param.valid) in ucma_connect() 1072 ucma_copy_conn_param(ctx->cm_id, &conn_param, &cmd.conn_param); in ucma_connect() 1079 ret = rdma_connect_ece(ctx->cm_id, &conn_param, &ece); in ucma_connect() 1114 struct rdma_conn_param conn_param; in ucma_accept() local 1135 if (cmd.conn_param.valid) { in ucma_accept() 1136 ucma_copy_conn_param(ctx->cm_id, &conn_param, &cmd.conn_param); in ucma_accept() 1139 ret = rdma_accept_ece(ctx->cm_id, &conn_param, &ece); in ucma_accept()
|
/linux/net/rds/ |
H A D | ib_cm.c | 164 struct rdma_conn_param *conn_param, in rds_ib_cm_fill_conn_param() argument 174 memset(conn_param, 0, sizeof(struct rdma_conn_param)); in rds_ib_cm_fill_conn_param() 176 conn_param->responder_resources = in rds_ib_cm_fill_conn_param() 178 conn_param->initiator_depth = in rds_ib_cm_fill_conn_param() 180 conn_param->retry_count = min_t(unsigned int, rds_ib_retry_count, 7); in rds_ib_cm_fill_conn_param() 181 conn_param->rnr_retry_count = 7; in rds_ib_cm_fill_conn_param() 198 conn_param->private_data = &dp->ricp_v6; in rds_ib_cm_fill_conn_param() 199 conn_param->private_data_len = sizeof(dp->ricp_v6); in rds_ib_cm_fill_conn_param() 213 conn_param->private_data = &dp->ricp_v4; in rds_ib_cm_fill_conn_param() 214 conn_param->private_data_len = sizeof(dp->ricp_v4); in rds_ib_cm_fill_conn_param() [all …]
|
/linux/drivers/infiniband/ulp/iser/ |
H A D | iser_verbs.c | 574 struct rdma_conn_param conn_param; in iser_route_handler() local 591 memset(&conn_param, 0, sizeof conn_param); in iser_route_handler() 592 conn_param.responder_resources = ib_dev->attrs.max_qp_rd_atom; in iser_route_handler() 593 conn_param.initiator_depth = 1; in iser_route_handler() 594 conn_param.retry_count = 7; in iser_route_handler() 595 conn_param.rnr_retry_count = 6; in iser_route_handler() 601 conn_param.private_data = (void *)&req_hdr; in iser_route_handler() 602 conn_param.private_data_len = sizeof(struct iser_cm_hdr); in iser_route_handler() 604 ret = rdma_connect_locked(cma_id, &conn_param); in iser_route_handler()
|
/linux/net/9p/ |
H A D | trans_rdma.c | 640 struct rdma_conn_param conn_param; in rdma_create_trans() local 726 memset(&conn_param, 0, sizeof(conn_param)); in rdma_create_trans() 727 conn_param.private_data = NULL; in rdma_create_trans() 728 conn_param.private_data_len = 0; in rdma_create_trans() 729 conn_param.responder_resources = P9_RDMA_IRD; in rdma_create_trans() 730 conn_param.initiator_depth = P9_RDMA_ORD; in rdma_create_trans() 731 err = rdma_connect(rdma->cm_id, &conn_param); in rdma_create_trans()
|
/linux/fs/smb/server/ |
H A D | transport_rdma.c | 1637 struct rdma_conn_param conn_param; in smb_direct_accept_client() local 1642 memset(&conn_param, 0, sizeof(conn_param)); in smb_direct_accept_client() 1643 conn_param.initiator_depth = min_t(u8, t->cm_id->device->attrs.max_qp_rd_atom, in smb_direct_accept_client() 1645 conn_param.responder_resources = 0; in smb_direct_accept_client() 1651 ird_ord_hdr[0] = conn_param.responder_resources; in smb_direct_accept_client() 1653 conn_param.private_data = ird_ord_hdr; in smb_direct_accept_client() 1654 conn_param.private_data_len = sizeof(ird_ord_hdr); in smb_direct_accept_client() 1656 conn_param.private_data = NULL; in smb_direct_accept_client() 1657 conn_param.private_data_len = 0; in smb_direct_accept_client() 1659 conn_param.retry_count = SMB_DIRECT_CM_RETRY; in smb_direct_accept_client() [all …]
|
/linux/include/uapi/rdma/ |
H A D | rdma_user_cm.h | 219 struct rdma_ucm_conn_param conn_param; member 232 struct rdma_ucm_conn_param conn_param; member
|
/linux/fs/smb/client/ |
H A D | smbdirect.c | 1494 struct rdma_conn_param conn_param; in _smbd_get_connection() local 1585 memset(&conn_param, 0, sizeof(conn_param)); in _smbd_get_connection() 1586 conn_param.initiator_depth = 0; in _smbd_get_connection() 1588 conn_param.responder_resources = in _smbd_get_connection() 1591 info->responder_resources = conn_param.responder_resources; in _smbd_get_connection() 1601 conn_param.private_data = ird_ord_hdr; in _smbd_get_connection() 1602 conn_param.private_data_len = sizeof(ird_ord_hdr); in _smbd_get_connection() 1604 conn_param.private_data = NULL; in _smbd_get_connection() 1605 conn_param.private_data_len = 0; in _smbd_get_connection() 1608 conn_param.retry_count = SMBD_CM_RETRY; in _smbd_get_connection() [all …]
|
/linux/drivers/infiniband/hw/cxgb4/ |
H A D | cm.c | 3120 int c4iw_accept_cr(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param) in c4iw_accept_cr() argument 3127 struct c4iw_qp *qp = get_qhp(h, conn_param->qpn); in c4iw_accept_cr() 3144 if ((conn_param->ord > cur_max_read_depth(ep->com.dev)) || in c4iw_accept_cr() 3145 (conn_param->ird > cur_max_read_depth(ep->com.dev))) { in c4iw_accept_cr() 3151 if (conn_param->ord > ep->ird) { in c4iw_accept_cr() 3153 conn_param->ord = ep->ird; in c4iw_accept_cr() 3155 ep->ird = conn_param->ird; in c4iw_accept_cr() 3156 ep->ord = conn_param->ord; in c4iw_accept_cr() 3157 send_mpa_reject(ep, conn_param->private_data, in c4iw_accept_cr() 3158 conn_param->private_data_len); in c4iw_accept_cr() [all …]
|
H A D | iw_cxgb4.h | 995 int c4iw_connect(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param); 998 int c4iw_accept_cr(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param);
|
/linux/drivers/infiniband/hw/irdma/ |
H A D | cm.h | 394 int irdma_accept(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param); 396 int irdma_connect(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param);
|
H A D | cm.c | 3013 struct iw_cm_conn_param *conn_param, in irdma_create_cm_node() argument 3018 u16 private_data_len = conn_param->private_data_len; in irdma_create_cm_node() 3019 const void *private_data = conn_param->private_data; in irdma_create_cm_node() 3030 irdma_record_ird_ord(cm_node, conn_param->ird, conn_param->ord); in irdma_create_cm_node() 3636 int irdma_accept(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param) in irdma_accept() argument 3653 ibqp = irdma_get_qp(cm_id->device, conn_param->qpn); in irdma_accept() 3686 buf_len = conn_param->private_data_len + IRDMA_MAX_IETF_SIZE; in irdma_accept() 3696 cm_node->pdata.size = conn_param->private_data_len; in irdma_accept() 3699 memcpy((u8 *)accept.addr + accept.size, conn_param->private_data, in irdma_accept() 3700 conn_param->private_data_len); in irdma_accept() [all …]
|