| /Linux-v5.4/drivers/infiniband/ulp/ipoib/ |
| D | ipoib_verbs.c | 150 .max_send_sge = min_t(u32, priv->ca->attrs.max_send_sge, in ipoib_transport_dev_init() 233 if (init_attr.cap.max_send_sge > 1) in ipoib_transport_dev_init() 236 priv->max_send_sge = init_attr.cap.max_send_sge; in ipoib_transport_dev_init()
|
| D | ipoib_cm.c | 259 .cap.max_send_sge = 1, /* FIXME: 0 Seems not to work */ in ipoib_cm_create_rx_qp() 713 unsigned int usable_sge = tx->max_send_sge - !!skb_headlen(skb); in ipoib_cm_send() 1063 .cap.max_send_sge = 1, in ipoib_cm_create_tx_qp() 1072 attr.cap.max_send_sge = min_t(u32, priv->ca->attrs.max_send_sge, in ipoib_cm_create_tx_qp() 1076 tx->max_send_sge = attr.cap.max_send_sge; in ipoib_cm_create_tx_qp()
|
| D | ipoib.h | 256 unsigned int max_send_sge; member 411 unsigned int max_send_sge; member
|
| /Linux-v5.4/drivers/infiniband/hw/vmw_pvrdma/ |
| D | pvrdma_misc.c | 229 dst->max_send_sge = src->max_send_sge; in pvrdma_qp_cap_to_ib() 238 dst->max_send_sge = src->max_send_sge; in ib_qp_cap_to_pvrdma()
|
| D | pvrdma_qp.c | 157 req_cap->max_send_sge > dev->dsr->caps.max_sge) { in pvrdma_set_sq_size() 163 qp->sq.max_sg = roundup_pow_of_two(max(1U, req_cap->max_send_sge)); in pvrdma_set_sq_size() 167 req_cap->max_send_sge = qp->sq.max_sg; in pvrdma_set_sq_size() 358 cmd->max_send_sge = init_attr->cap.max_send_sge; in pvrdma_create_qp() 371 cmd->max_send_wr, cmd->max_recv_wr, cmd->max_send_sge, in pvrdma_create_qp()
|
| D | pvrdma_dev_api.h | 560 u32 max_send_sge; member 579 u32 max_send_sge; member
|
| D | pvrdma_verbs.h | 251 u32 max_send_sge; member
|
| /Linux-v5.4/drivers/infiniband/sw/rxe/ |
| D | rxe_qp.c | 54 if (cap->max_send_sge > rxe->attr.max_send_sge) { in rxe_qp_chk_cap() 56 cap->max_send_sge, rxe->attr.max_send_sge); in rxe_qp_chk_cap() 242 qp->sq.max_sge = init->cap.max_send_sge; in rxe_qp_init_req() 395 init->cap.max_send_sge = qp->sq.max_sge; in rxe_qp_to_init() 754 attr->cap.max_send_sge = qp->sq.max_sge; in rxe_qp_to_attr()
|
| D | rxe.c | 89 rxe->attr.max_send_sge = RXE_MAX_SGE; in rxe_init_device_param()
|
| /Linux-v5.4/include/uapi/linux/ |
| D | rds.h | 249 __u32 max_send_sge; member 265 __u32 max_send_sge; member
|
| /Linux-v5.4/net/sunrpc/xprtrdma/ |
| D | svc_rdma_transport.c | 427 if (newxprt->sc_max_send_sges > dev->attrs.max_send_sge) in svc_rdma_accept() 428 newxprt->sc_max_send_sges = dev->attrs.max_send_sge; in svc_rdma_accept() 476 qp_attr.cap.max_send_sge = newxprt->sc_max_send_sges; in svc_rdma_accept() 487 qp_attr.cap.max_send_sge, qp_attr.cap.max_recv_sge); in svc_rdma_accept()
|
| D | verbs.c | 490 max_sge = min_t(unsigned int, ia->ri_id->device->attrs.max_send_sge, in rpcrdma_ep_create() 505 ep->rep_attr.cap.max_send_sge = max_sge; in rpcrdma_ep_create() 517 ep->rep_attr.cap.max_send_sge, in rpcrdma_ep_create()
|
| /Linux-v5.4/include/uapi/rdma/ |
| D | ib_user_verbs.h | 541 __u32 max_send_sge; member 570 __u32 max_send_sge; member 610 __u32 max_send_sge; member 639 __u32 max_send_sge; member 683 __u32 max_send_sge; member
|
| /Linux-v5.4/net/rds/ |
| D | ib.c | 150 rds_ibdev->max_sge = min(device->attrs.max_send_sge, RDS_IB_MAX_SGE); in rds_ib_add_one() 320 iinfo->max_send_sge = rds_ibdev->max_sge; in rds_ib_conn_info_visitor() 357 iinfo6->max_send_sge = rds_ibdev->max_sge; in rds6_ib_conn_info_visitor()
|
| /Linux-v5.4/drivers/infiniband/core/ |
| D | uverbs_marshall.c | 112 dst->max_send_sge = src->cap.max_send_sge; in ib_copy_qp_attr_to_user()
|
| D | uverbs_cmd.c | 325 resp->max_sge = min(attr->max_send_sge, attr->max_recv_sge); in copy_query_dev_fields() 1388 attr.cap.max_send_sge = cmd->max_send_sge; in create_qp() 1464 resp.base.max_send_sge = attr.cap.max_send_sge; in create_qp() 1532 cmd_ex.max_send_sge = cmd.max_send_sge; in ib_uverbs_create_qp() 1719 resp.max_send_sge = init_attr->cap.max_send_sge; in ib_uverbs_query_qp()
|
| /Linux-v5.4/drivers/infiniband/hw/mlx5/ |
| D | gsi.c | 184 hw_init_attr.cap.max_send_sge = 0; in mlx5_ib_gsi_create_qp() 261 .max_send_sge = gsi->cap.max_send_sge, in create_gsi_ud_qp()
|
| /Linux-v5.4/drivers/infiniband/hw/hns/ |
| D | hns_roce_qp.c | 342 if (cap->max_send_sge > hr_dev->caps.max_sq_sg) { in check_sq_size_with_integrity() 344 cap->max_send_sge); in check_sq_size_with_integrity() 370 max_cnt = max(1U, cap->max_send_sge); in hns_roce_set_user_sq_size() 559 cap->max_send_sge > hr_dev->caps.max_sq_sg || in hns_roce_set_kernel_sq_size() 579 max_cnt = max(1U, cap->max_send_sge); in hns_roce_set_kernel_sq_size() 612 cap->max_send_sge = hr_qp->sq.max_gs; in hns_roce_set_kernel_sq_size()
|
| /Linux-v5.4/drivers/infiniband/hw/efa/ |
| D | efa.h | 107 u32 max_send_sge; member
|
| D | efa_verbs.c | 307 props->max_send_sge = dev_attr->max_sq_sge; in efa_query_device() 386 qp_attr->cap.max_send_sge = qp->max_send_sge; in efa_query_qp() 582 if (init_attr->cap.max_send_sge > dev->dev_attr.max_sq_sge) { in efa_qp_validate_cap() 585 init_attr->cap.max_send_sge, dev->dev_attr.max_sq_sge); in efa_qp_validate_cap() 751 qp->max_send_sge = init_attr->cap.max_send_sge; in efa_create_qp()
|
| /Linux-v5.4/drivers/infiniband/hw/ocrdma/ |
| D | ocrdma_verbs.c | 93 attr->max_send_sge = dev->attr.max_send_sge; in ocrdma_query_device() 1145 if (attrs->cap.max_send_sge > dev->attr.max_send_sge) { in ocrdma_check_qp_params() 1147 __func__, dev->id, attrs->cap.max_send_sge); in ocrdma_check_qp_params() 1149 __func__, dev->id, dev->attr.max_send_sge); in ocrdma_check_qp_params() 1290 qp->sq.max_sges = attrs->cap.max_send_sge; in ocrdma_set_qp_init_params() 1499 qp_attr->cap.max_send_sge = qp->sq.max_sges; in ocrdma_query_qp()
|
| D | ocrdma.h | 93 int max_send_sge; member
|
| /Linux-v5.4/drivers/infiniband/sw/siw/ |
| D | siw_verbs.c | 182 attr->max_send_sge = sdev->attrs.max_sge; in siw_query_device() 335 (attrs->cap.max_send_sge > SIW_MAX_SGE) || in siw_create_qp() 444 qp->attrs.sq_max_sges = attrs->cap.max_send_sge; in siw_create_qp() 537 qp_attr->cap.max_send_sge = qp->attrs.sq_max_sges; in siw_query_qp()
|
| /Linux-v5.4/drivers/infiniband/sw/rdmavt/ |
| D | qp.c | 1057 if (init_attr->cap.max_send_sge > rdi->dparms.props.max_send_sge || in rvt_create_qp() 1069 if (init_attr->cap.max_send_sge + in rvt_create_qp() 1088 sz = struct_size(swq, sg_list, init_attr->cap.max_send_sge); in rvt_create_qp() 1169 qp->s_max_sge = init_attr->cap.max_send_sge; in rvt_create_qp() 1758 attr->cap.max_send_sge = qp->s_max_sge; in rvt_query_qp()
|
| /Linux-v5.4/drivers/infiniband/hw/cxgb3/ |
| D | iwch_provider.c | 774 qhp->attr.sq_max_sges = attrs->cap.max_send_sge; in iwch_create_qp() 775 qhp->attr.sq_max_sges_rdma_write = attrs->cap.max_send_sge; in iwch_create_qp() 976 props->max_send_sge = dev->attr.max_sge_per_wr; in iwch_query_device()
|