/freebsd/contrib/ofed/libmlx4/ |
H A D | verbs.c | 806 attr->cap.max_recv_sge > ctx->max_sge) in mlx4_create_qp_ex() 812 attr->cap.max_recv_sge > 64) in mlx4_create_qp_ex() 839 attr->cap.max_recv_wr = qp->rq.wqe_cnt = attr->cap.max_recv_sge = 0; in mlx4_create_qp_ex() 842 if (attr->cap.max_recv_sge < 1) in mlx4_create_qp_ex() 843 attr->cap.max_recv_sge = 1; in mlx4_create_qp_ex() 858 if (attr->cap.max_recv_sge) { in mlx4_create_qp_ex() 897 qp->rq.max_gs = attr->cap.max_recv_sge; in mlx4_create_qp_ex() 914 if (attr->cap.max_recv_sge) in mlx4_create_qp_ex()
|
H A D | qp.c | 656 qp->rq.max_gs = cap->max_recv_sge; in mlx4_alloc_qp_buf()
|
/freebsd/contrib/ofed/libibverbs/ |
H A D | marshall.c | 71 dst->cap.max_recv_sge = src->max_recv_sge; in ibv_copy_qp_attr_from_kern()
|
H A D | cmd.c | 876 if (cmd->max_recv_wr || cmd->max_recv_sge || in create_qp_ex_common() 897 cmd->max_recv_sge = qp_attr->cap.max_recv_sge; in create_qp_ex_common() 940 qp_attr->cap.max_recv_sge = resp->max_recv_sge; in create_qp_handle_resp_common() 1115 cmd->max_recv_sge = attr->cap.max_recv_sge; in ibv_cmd_create_qp() 1132 attr->cap.max_recv_sge = resp->max_recv_sge; in ibv_cmd_create_qp() 1271 attr->cap.max_recv_sge = resp.max_recv_sge; in ibv_cmd_query_qp() 1306 init_attr->cap.max_recv_sge = resp.max_recv_sge; in ibv_cmd_query_qp()
|
H A D | kern-abi.h | 599 __u32 max_recv_sge; member 627 __u32 max_recv_sge; \ 667 __u32 max_recv_sge; member 722 __u32 max_recv_sge; member 1263 __u32 max_recv_sge; member
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_uverbs_marshall.c | 73 dst->max_recv_sge = src->cap.max_recv_sge; in ib_copy_qp_attr_to_user()
|
H A D | ib_uverbs_cmd.c | 337 resp->max_sge = min(attr->max_send_sge, attr->max_recv_sge); in copy_query_dev_fields() 1311 if (ind_tbl && (cmd->max_recv_wr || cmd->max_recv_sge || cmd->is_srq)) { in create_qp() 1337 cmd->max_recv_sge = 0; in create_qp() 1389 attr.cap.max_recv_sge = cmd->max_recv_sge; in create_qp() 1448 resp.base.max_recv_sge = attr.cap.max_recv_sge; in create_qp() 1525 cmd_ex.max_recv_sge = cmd.max_recv_sge; in ib_uverbs_create_qp() 1710 resp.max_recv_sge = init_attr->cap.max_recv_sge; in ib_uverbs_query_qp()
|
/freebsd/sys/ofed/include/uapi/rdma/ |
H A D | ib_user_verbs.h | 547 __u32 max_recv_sge; member 576 __u32 max_recv_sge; member 616 __u32 max_recv_sge; member 645 __u32 max_recv_sge; member 689 __u32 max_recv_sge; member
|
/freebsd/contrib/ofed/librdmacm/examples/ |
H A D | rdma_client.c | 65 attr.cap.max_send_sge = attr.cap.max_recv_sge = 1; in run()
|
H A D | rdma_server.c | 66 init_attr.cap.max_send_sge = init_attr.cap.max_recv_sge = 1; in run()
|
H A D | rdma_xclient.c | 91 attr.cap.max_send_sge = attr.cap.max_recv_sge = 1; in test()
|
H A D | rdma_xserver.c | 88 attr.cap.max_send_sge = attr.cap.max_recv_sge = 1; in test()
|
H A D | mckey.c | 154 init_qp_attr.cap.max_recv_sge = 1; in init_node()
|
H A D | cmatose.c | 134 init_qp_attr.cap.max_recv_sge = 1; in init_node()
|
H A D | cmtime.c | 652 init_qp_attr.cap.max_recv_sge = 1; in main()
|
H A D | udaddy.c | 149 init_qp_attr.cap.max_recv_sge = 1; in init_node()
|
/freebsd/sys/ofed/drivers/infiniband/ulp/sdp/ |
H A D | sdp_cma.c | 98 qp_init_attr.cap.max_recv_sge = MIN(ssk->max_sge, SDP_MAX_RECV_SGES); in sdp_init_qp() 100 qp_init_attr.cap.max_recv_sge); in sdp_init_qp()
|
/freebsd/sys/ofed/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_verbs.c | 138 .max_recv_sge = IPOIB_UD_RX_SG in ipoib_transport_dev_init()
|
/freebsd/contrib/libpcap/ |
H A D | pcap-rdmasniff.c | 246 qp_init_attr.cap.max_recv_sge = 1; in rdmasniff_activate()
|
/freebsd/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_qp.c | 391 cap->max_recv_sge > min(dev->dev->caps.max_sq_sg, dev->dev->caps.max_rq_sg)) in set_rq_size() 401 if (is_user && (!cap->max_recv_wr || !cap->max_recv_sge)) in set_rq_size() 405 qp->rq.max_gs = roundup_pow_of_two(max(1U, cap->max_recv_sge)); in set_rq_size() 412 cap->max_recv_sge = qp->rq.max_gs; in set_rq_size() 416 cap->max_recv_sge = min(qp->rq.max_gs, in set_rq_size() 673 init_attr->cap.max_recv_sge++; in create_qp_common() 3494 qp_attr->cap.max_recv_sge = qp->rq.max_gs; in mlx4_ib_query_qp()
|
/freebsd/contrib/ofed/libirdma/ |
H A D | irdma_uverbs.c | 1378 attr->cap.max_recv_sge > uk_attrs->max_hw_wq_frags || in irdma_ucreate_qp() 1390 info.max_rq_frag_cnt = attr->cap.max_recv_sge; in irdma_ucreate_qp() 1406 __func__, attr->cap.max_recv_wr, attr->cap.max_recv_sge); in irdma_ucreate_qp()
|
/freebsd/sys/dev/bnxt/bnxt_re/ |
H A D | ib_verbs.c | 185 ib_attr->max_recv_sge = dev_attr->max_qp_sges; in bnxt_re_query_device() 1931 rq->max_sge = init_attr->cap.max_recv_sge; in bnxt_re_init_rq_attr() 1934 init_attr->cap.max_recv_sge = rq->max_sge; in bnxt_re_init_rq_attr() 2276 (init_attr->cap.max_recv_sge > dev_attr->max_qp_sges) || in bnxt_re_test_qp_limits() 2284 init_attr->cap.max_recv_sge, dev_attr->max_qp_sges, in bnxt_re_test_qp_limits() 2771 (qp_attr->cap.max_recv_sge >= dev_attr->max_qp_sges) || in bnxt_re_modify_qp() 2799 qp->qplib_qp.rq.max_sge = qp_attr->cap.max_recv_sge; in bnxt_re_modify_qp() 2895 qp_attr->cap.max_recv_sge = qp->qplib_qp.rq.max_sge; in bnxt_re_query_qp()
|
/freebsd/contrib/ofed/libibverbs/examples/ |
H A D | uc_pingpong.c | 369 .max_recv_sge = 1 in pp_init_ctx()
|
H A D | ud_pingpong.c | 380 .max_recv_sge = 1 in pp_init_ctx()
|
/freebsd/sys/dev/mthca/ |
H A D | mthca_qp.c | 502 qp_attr->cap.max_recv_sge = qp->rq.max_gs; in mthca_query_qp() 1243 cap->max_recv_sge > dev->limits.max_sg || in mthca_set_qp_size() 1264 qp->rq.max_gs = cap->max_recv_sge; in mthca_set_qp_size()
|