Home
last modified time | relevance | path

Searched refs:conn_param (Results 1 – 17 of 17) sorted by relevance

/Linux-v6.6/drivers/infiniband/hw/qedr/
Dqedr_iw_cm.c531 int qedr_iw_connect(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param) in qedr_iw_connect() argument
569 qp = qedr_iw_load_qp(dev, conn_param->qpn); in qedr_iw_connect()
628 conn_param->ord, conn_param->ird, conn_param->private_data, in qedr_iw_connect()
629 conn_param->private_data_len, qp->rq_psn); in qedr_iw_connect()
631 cm_info->ord = conn_param->ord; in qedr_iw_connect()
632 cm_info->ird = conn_param->ird; in qedr_iw_connect()
633 cm_info->private_data = conn_param->private_data; in qedr_iw_connect()
634 cm_info->private_data_len = conn_param->private_data_len; in qedr_iw_connect()
736 int qedr_iw_accept(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param) in qedr_iw_accept() argument
744 DP_DEBUG(dev, QEDR_MSG_IWARP, "Accept on qpid=%d\n", conn_param->qpn); in qedr_iw_accept()
[all …]
Dqedr_iw_cm.h35 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-v6.6/include/rdma/
Drdma_cm.h241 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,
Dib_verbs.h2628 struct iw_cm_conn_param *conn_param);
2630 struct iw_cm_conn_param *conn_param);
/Linux-v6.6/net/sunrpc/xprtrdma/
Dsvc_rdma_transport.c368 struct rdma_conn_param conn_param; in svc_rdma_accept() local
488 memset(&conn_param, 0, sizeof conn_param); in svc_rdma_accept()
489 conn_param.responder_resources = 0; in svc_rdma_accept()
490 conn_param.initiator_depth = min_t(int, newxprt->sc_ord, in svc_rdma_accept()
492 if (!conn_param.initiator_depth) { in svc_rdma_accept()
497 conn_param.private_data = &pmsg; in svc_rdma_accept()
498 conn_param.private_data_len = sizeof(pmsg); in svc_rdma_accept()
501 ret = rdma_accept(newxprt->sc_cm_id, &conn_param); in svc_rdma_accept()
518 dprintk(" ord : %d\n", conn_param.initiator_depth); in svc_rdma_accept()
/Linux-v6.6/drivers/infiniband/core/
Dcma.c1152 struct rdma_conn_param *conn_param) in cma_modify_qp_rtr() argument
1180 if (conn_param) in cma_modify_qp_rtr()
1181 qp_attr.max_dest_rd_atomic = conn_param->responder_resources; in cma_modify_qp_rtr()
1189 struct rdma_conn_param *conn_param) in cma_modify_qp_rts() argument
1205 if (conn_param) in cma_modify_qp_rts()
1206 qp_attr.max_rd_atomic = conn_param->initiator_depth; in cma_modify_qp_rts()
4255 struct rdma_conn_param *conn_param) in cma_resolve_ib_udp() argument
4265 if (check_add_overflow(offset, conn_param->private_data_len, &req.private_data_len)) in cma_resolve_ib_udp()
4276 if (conn_param->private_data && conn_param->private_data_len) in cma_resolve_ib_udp()
4277 memcpy(private_data + offset, conn_param->private_data, in cma_resolve_ib_udp()
[all …]
Ducma.c1053 struct rdma_conn_param conn_param; in ucma_connect() local
1066 if (!cmd.conn_param.valid) in ucma_connect()
1073 ucma_copy_conn_param(ctx->cm_id, &conn_param, &cmd.conn_param); in ucma_connect()
1080 ret = rdma_connect_ece(ctx->cm_id, &conn_param, &ece); in ucma_connect()
1115 struct rdma_conn_param conn_param; in ucma_accept() local
1136 if (cmd.conn_param.valid) { in ucma_accept()
1137 ucma_copy_conn_param(ctx->cm_id, &conn_param, &cmd.conn_param); in ucma_accept()
1140 ret = rdma_accept_ece(ctx->cm_id, &conn_param, &ece); in ucma_accept()
/Linux-v6.6/net/rds/
Dib_cm.c164 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-v6.6/drivers/infiniband/ulp/iser/
Diser_verbs.c575 struct rdma_conn_param conn_param; in iser_route_handler() local
592 memset(&conn_param, 0, sizeof conn_param); in iser_route_handler()
593 conn_param.responder_resources = ib_dev->attrs.max_qp_rd_atom; in iser_route_handler()
594 conn_param.initiator_depth = 1; in iser_route_handler()
595 conn_param.retry_count = 7; in iser_route_handler()
596 conn_param.rnr_retry_count = 6; in iser_route_handler()
602 conn_param.private_data = (void *)&req_hdr; in iser_route_handler()
603 conn_param.private_data_len = sizeof(struct iser_cm_hdr); in iser_route_handler()
605 ret = rdma_connect_locked(cma_id, &conn_param); in iser_route_handler()
/Linux-v6.6/net/9p/
Dtrans_rdma.c640 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-v6.6/include/uapi/rdma/
Drdma_user_cm.h219 struct rdma_ucm_conn_param conn_param; member
232 struct rdma_ucm_conn_param conn_param; member
/Linux-v6.6/fs/smb/server/
Dtransport_rdma.c1637 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-v6.6/fs/smb/client/
Dsmbdirect.c1493 struct rdma_conn_param conn_param; in _smbd_get_connection() local
1584 memset(&conn_param, 0, sizeof(conn_param)); in _smbd_get_connection()
1585 conn_param.initiator_depth = 0; in _smbd_get_connection()
1587 conn_param.responder_resources = in _smbd_get_connection()
1592 info->responder_resources = conn_param.responder_resources; in _smbd_get_connection()
1602 conn_param.private_data = ird_ord_hdr; in _smbd_get_connection()
1603 conn_param.private_data_len = sizeof(ird_ord_hdr); in _smbd_get_connection()
1605 conn_param.private_data = NULL; in _smbd_get_connection()
1606 conn_param.private_data_len = 0; in _smbd_get_connection()
1609 conn_param.retry_count = SMBD_CM_RETRY; in _smbd_get_connection()
[all …]
/Linux-v6.6/drivers/infiniband/hw/cxgb4/
Dcm.c3116 int c4iw_accept_cr(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param) in c4iw_accept_cr() argument
3123 struct c4iw_qp *qp = get_qhp(h, conn_param->qpn); in c4iw_accept_cr()
3140 if ((conn_param->ord > cur_max_read_depth(ep->com.dev)) || in c4iw_accept_cr()
3141 (conn_param->ird > cur_max_read_depth(ep->com.dev))) { in c4iw_accept_cr()
3147 if (conn_param->ord > ep->ird) { in c4iw_accept_cr()
3149 conn_param->ord = ep->ird; in c4iw_accept_cr()
3151 ep->ird = conn_param->ird; in c4iw_accept_cr()
3152 ep->ord = conn_param->ord; in c4iw_accept_cr()
3153 send_mpa_reject(ep, conn_param->private_data, in c4iw_accept_cr()
3154 conn_param->private_data_len); in c4iw_accept_cr()
[all …]
Diw_cxgb4.h963 int c4iw_connect(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param);
966 int c4iw_accept_cr(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param);
/Linux-v6.6/drivers/infiniband/hw/irdma/
Dcm.h394 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);
Dcm.c3012 struct iw_cm_conn_param *conn_param, in irdma_create_cm_node() argument
3017 u16 private_data_len = conn_param->private_data_len; in irdma_create_cm_node()
3018 const void *private_data = conn_param->private_data; in irdma_create_cm_node()
3029 irdma_record_ird_ord(cm_node, conn_param->ird, conn_param->ord); in irdma_create_cm_node()
3635 int irdma_accept(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param) in irdma_accept() argument
3652 ibqp = irdma_get_qp(cm_id->device, conn_param->qpn); in irdma_accept()
3685 buf_len = conn_param->private_data_len + IRDMA_MAX_IETF_SIZE; in irdma_accept()
3695 cm_node->pdata.size = conn_param->private_data_len; in irdma_accept()
3698 memcpy((u8 *)accept.addr + accept.size, conn_param->private_data, in irdma_accept()
3699 conn_param->private_data_len); in irdma_accept()
[all …]