Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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);
/kernel/linux/linux-5.10/include/rdma/
Drdma_cm.h230 int rdma_connect(struct rdma_cm_id *id, struct rdma_conn_param *conn_param);
232 struct rdma_conn_param *conn_param);
234 int rdma_connect_ece(struct rdma_cm_id *id, struct rdma_conn_param *conn_param,
246 int rdma_accept(struct rdma_cm_id *id, struct rdma_conn_param *conn_param);
250 int rdma_accept_ece(struct rdma_cm_id *id, struct rdma_conn_param *conn_param,
Dib_verbs.h2563 struct iw_cm_conn_param *conn_param);
2565 struct iw_cm_conn_param *conn_param);
/kernel/linux/linux-5.10/net/sunrpc/xprtrdma/
Dsvc_rdma_transport.c370 struct rdma_conn_param conn_param; in svc_rdma_accept() local
487 memset(&conn_param, 0, sizeof conn_param); in svc_rdma_accept()
488 conn_param.responder_resources = 0; in svc_rdma_accept()
489 conn_param.initiator_depth = min_t(int, newxprt->sc_ord, in svc_rdma_accept()
491 if (!conn_param.initiator_depth) { in svc_rdma_accept()
496 conn_param.private_data = &pmsg; in svc_rdma_accept()
497 conn_param.private_data_len = sizeof(pmsg); in svc_rdma_accept()
500 ret = rdma_accept(newxprt->sc_cm_id, &conn_param); in svc_rdma_accept()
517 dprintk(" ord : %d\n", conn_param.initiator_depth); in svc_rdma_accept()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dcma.c1010 struct rdma_conn_param *conn_param) in cma_modify_qp_rtr() argument
1038 if (conn_param) in cma_modify_qp_rtr()
1039 qp_attr.max_dest_rd_atomic = conn_param->responder_resources; in cma_modify_qp_rtr()
1047 struct rdma_conn_param *conn_param) in cma_modify_qp_rts() argument
1063 if (conn_param) in cma_modify_qp_rts()
1064 qp_attr.max_rd_atomic = conn_param->initiator_depth; in cma_modify_qp_rts()
3968 struct rdma_conn_param *conn_param) in cma_resolve_ib_udp() argument
3978 req.private_data_len = offset + conn_param->private_data_len; in cma_resolve_ib_udp()
3979 if (req.private_data_len < conn_param->private_data_len) in cma_resolve_ib_udp()
3990 if (conn_param->private_data && conn_param->private_data_len) in cma_resolve_ib_udp()
[all …]
Ducma.c1050 struct rdma_conn_param conn_param; in ucma_connect() local
1063 if (!cmd.conn_param.valid) in ucma_connect()
1070 ucma_copy_conn_param(ctx->cm_id, &conn_param, &cmd.conn_param); in ucma_connect()
1077 ret = rdma_connect_ece(ctx->cm_id, &conn_param, &ece); in ucma_connect()
1112 struct rdma_conn_param conn_param; in ucma_accept() local
1133 if (cmd.conn_param.valid) { in ucma_accept()
1134 ucma_copy_conn_param(ctx->cm_id, &conn_param, &cmd.conn_param); in ucma_accept()
1137 ret = rdma_accept_ece(ctx->cm_id, &conn_param, &ece); in ucma_accept()
/kernel/linux/linux-5.10/net/rds/
Dib_cm.c198 struct rdma_conn_param *conn_param, in rds_ib_cm_fill_conn_param() argument
208 memset(conn_param, 0, sizeof(struct rdma_conn_param)); in rds_ib_cm_fill_conn_param()
210 conn_param->responder_resources = in rds_ib_cm_fill_conn_param()
212 conn_param->initiator_depth = in rds_ib_cm_fill_conn_param()
214 conn_param->retry_count = min_t(unsigned int, rds_ib_retry_count, 7); in rds_ib_cm_fill_conn_param()
215 conn_param->rnr_retry_count = 7; in rds_ib_cm_fill_conn_param()
232 conn_param->private_data = &dp->ricp_v6; in rds_ib_cm_fill_conn_param()
233 conn_param->private_data_len = sizeof(dp->ricp_v6); in rds_ib_cm_fill_conn_param()
247 conn_param->private_data = &dp->ricp_v4; in rds_ib_cm_fill_conn_param()
248 conn_param->private_data_len = sizeof(dp->ricp_v4); in rds_ib_cm_fill_conn_param()
[all …]
/kernel/linux/linux-5.10/net/9p/
Dtrans_rdma.c632 struct rdma_conn_param conn_param; in rdma_create_trans() local
718 memset(&conn_param, 0, sizeof(conn_param)); in rdma_create_trans()
719 conn_param.private_data = NULL; in rdma_create_trans()
720 conn_param.private_data_len = 0; in rdma_create_trans()
721 conn_param.responder_resources = P9_RDMA_IRD; in rdma_create_trans()
722 conn_param.initiator_depth = P9_RDMA_ORD; in rdma_create_trans()
723 err = rdma_connect(rdma->cm_id, &conn_param); in rdma_create_trans()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/iser/
Diser_verbs.c595 struct rdma_conn_param conn_param; in iser_route_handler() local
610 memset(&conn_param, 0, sizeof conn_param); in iser_route_handler()
611 conn_param.responder_resources = ib_dev->attrs.max_qp_rd_atom; in iser_route_handler()
612 conn_param.initiator_depth = 1; in iser_route_handler()
613 conn_param.retry_count = 7; in iser_route_handler()
614 conn_param.rnr_retry_count = 6; in iser_route_handler()
620 conn_param.private_data = (void *)&req_hdr; in iser_route_handler()
621 conn_param.private_data_len = sizeof(struct iser_cm_hdr); in iser_route_handler()
623 ret = rdma_connect_locked(cma_id, &conn_param); in iser_route_handler()
/kernel/linux/linux-5.10/include/uapi/rdma/
Drdma_user_cm.h219 struct rdma_ucm_conn_param conn_param; member
232 struct rdma_ucm_conn_param conn_param; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/rdma/
Drdma_user_cm.h176 struct rdma_ucm_conn_param conn_param; member
187 struct rdma_ucm_conn_param conn_param; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/rdma/
Drdma_user_cm.h155 struct rdma_ucm_conn_param conn_param; member
165 struct rdma_ucm_conn_param conn_param; member
/kernel/linux/linux-5.10/fs/cifs/
Dsmbdirect.c1512 struct rdma_conn_param conn_param; in _smbd_get_connection() local
1605 memset(&conn_param, 0, sizeof(conn_param)); in _smbd_get_connection()
1606 conn_param.initiator_depth = 0; in _smbd_get_connection()
1608 conn_param.responder_resources = in _smbd_get_connection()
1613 info->responder_resources = conn_param.responder_resources; in _smbd_get_connection()
1623 conn_param.private_data = ird_ord_hdr; in _smbd_get_connection()
1624 conn_param.private_data_len = sizeof(ird_ord_hdr); in _smbd_get_connection()
1626 conn_param.private_data = NULL; in _smbd_get_connection()
1627 conn_param.private_data_len = 0; in _smbd_get_connection()
1630 conn_param.retry_count = SMBD_CM_RETRY; in _smbd_get_connection()
[all …]
/kernel/linux/linux-5.10/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.h975 int c4iw_connect(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param);
978 int c4iw_accept_cr(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param);
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/
Di40iw_cm.c2921 struct iw_cm_conn_param *conn_param, in i40iw_create_cm_node() argument
2929 u16 private_data_len = conn_param->private_data_len; in i40iw_create_cm_node()
2930 const void *private_data = conn_param->private_data; in i40iw_create_cm_node()
2940 i40iw_record_ird_ord(cm_node, conn_param->ird, conn_param->ord); in i40iw_create_cm_node()
3634 int i40iw_accept(struct iw_cm_id *cm_id, struct iw_cm_conn_param *conn_param) in i40iw_accept() argument
3653 ibqp = i40iw_get_qp(cm_id->device, conn_param->qpn); in i40iw_accept()
3691 buf_len = conn_param->private_data_len + I40IW_MAX_IETF_SIZE; in i40iw_accept()
3697 cm_node->pdata.size = conn_param->private_data_len; in i40iw_accept()
3700 memcpy(accept.addr + accept.size, conn_param->private_data, in i40iw_accept()
3701 conn_param->private_data_len); in i40iw_accept()
[all …]