/freebsd/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_srq.c | 90 if (init_attr->attr.max_wr >= dev->dev->caps.max_srq_wqes || in mlx4_ib_create_srq() 96 srq->msrq.max = roundup_pow_of_two(init_attr->attr.max_wr + 1); in mlx4_ib_create_srq() 199 init_attr->attr.max_wr = srq->msrq.max - 1; in mlx4_ib_create_srq() 262 srq_attr->max_wr = srq->msrq.max - 1; in mlx4_ib_query_srq()
|
/freebsd/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_srq.c | 251 if (init_attr->attr.max_wr >= max_srq_wqes) { in mlx5_ib_create_srq() 253 init_attr->attr.max_wr, in mlx5_ib_create_srq() 260 srq->msrq.max = roundup_pow_of_two(init_attr->attr.max_wr + 1); in mlx5_ib_create_srq() 329 init_attr->attr.max_wr = srq->msrq.max - 1; in mlx5_ib_create_srq() 387 srq_attr->max_wr = srq->msrq.max - 1; in mlx5_ib_query_srq()
|
H A D | mlx5_ib_main.c | 2968 attr.attr.max_wr = 1; in create_dev_resources() 2995 attr.attr.max_wr = 1; in create_dev_resources()
|
H A D | mlx5_ib_qp.c | 4739 if (wq_init_attr->max_wr > (1 << MLX5_CAP_GEN(dev->mdev, log_max_wq_sz))) in set_user_rq_size()
|
/freebsd/sys/dev/mthca/ |
H A D | mthca_srq.c | 209 if (attr->max_wr > dev->limits.max_srq_wqes || in mthca_alloc_srq() 213 srq->max = attr->max_wr; in mthca_alloc_srq() 291 attr->max_wr = srq->max - 1; in mthca_alloc_srq() 378 u32 max_wr = mthca_is_memfree(dev) ? srq->max - 1 : srq->max; in mthca_modify_srq() local 379 if (attr->srq_limit > max_wr) in mthca_modify_srq() 415 srq_attr->max_wr = srq->max - 1; in mthca_query_srq()
|
/freebsd/sys/ofed/include/uapi/rdma/ |
H A D | ib_user_verbs.h | 1169 __u32 max_wr; member 1180 __u32 max_wr; member 1191 __u32 max_wr; member 1200 __u32 max_wr; member 1213 __u32 max_wr; member 1235 __u32 max_wr; member 1245 __u32 max_wr; member
|
/freebsd/contrib/ofed/libibverbs/ |
H A D | kern-abi.h | 1102 __u32 max_wr; member 1116 __u32 max_wr; member 1127 __u32 max_wr; member 1138 __u32 max_wr; member 1154 __u32 max_wr; member 1245 __u32 max_wr; member 1278 __u32 max_wr; member 1288 __u32 max_wr; member
|
H A D | cmd.c | 648 cmd->max_wr = attr->attr.max_wr; in ibv_cmd_create_srq() 661 attr->attr.max_wr = resp->max_wr; in ibv_cmd_create_srq() 694 cmd->max_wr = attr_ex->attr.max_wr; in ibv_cmd_create_srq_ex() 751 attr_ex->attr.max_wr = resp->max_wr; in ibv_cmd_create_srq_ex() 781 cmd->max_wr = srq_attr->max_wr; in ibv_cmd_modify_srq_v3() 805 cmd->max_wr = srq_attr->max_wr; in ibv_cmd_modify_srq() 828 srq_attr->max_wr = resp.max_wr; in ibv_cmd_query_srq() 2014 cmd->max_wr = wq_init_attr->max_wr; in ibv_cmd_create_wq() 2036 wq_init_attr->max_wr = resp->max_wr; in ibv_cmd_create_wq()
|
H A D | verbs.h | 643 uint32_t max_wr; member 695 uint32_t max_wr; member
|
/freebsd/sys/dev/qlnx/qlnxr/ |
H A D | qlnxr_def.h | 562 u16 max_wr; member 581 u32 max_wr; member 738 info->cons = (info->cons + 1) % info->max_wr; in qlnxr_inc_sw_cons() 745 info->prod = (info->prod + 1) % info->max_wr; in qlnxr_inc_sw_prod()
|
H A D | qlnxr_cm.c | 36 info->gsi_cons = (info->gsi_cons + 1) % info->max_wr; in qlnxr_inc_sw_gsi_cons() 411 qp->rq.max_wr = attrs->cap.max_recv_wr; in qlnxr_create_gsi_qp() 412 qp->sq.max_wr = attrs->cap.max_send_wr; in qlnxr_create_gsi_qp() 414 qp->rqe_wr_id = kzalloc(qp->rq.max_wr * sizeof(*qp->rqe_wr_id), in qlnxr_create_gsi_qp() 421 qp->wqe_wr_id = kzalloc(qp->sq.max_wr * sizeof(*qp->wqe_wr_id), in qlnxr_create_gsi_qp()
|
H A D | qlnxr_verbs.c | 307 if (attr->srq_limit >= srq->hw_srq.max_wr) { in qlnxr_modify_srq() 310 attr->srq_limit, srq->hw_srq.max_wr); in qlnxr_modify_srq() 346 srq_attr->max_wr = qattr->max_srq_wr; in qlnxr_query_srq() 2257 if (attrs->attr.max_wr > qattr->max_srq_wqe) { in qlnxr_check_srq_params() 2260 attrs->attr.max_wr, qattr->max_srq_wr); in qlnxr_check_srq_params() 2271 if (attrs->attr.srq_limit > attrs->attr.max_wr) { in qlnxr_check_srq_params() 2371 u32 num_elems, max_wr; in qlnxr_alloc_srq_kernel_params() local 2391 max_wr = init_attr->attr.max_wr; in qlnxr_alloc_srq_kernel_params() 2393 num_elems = max_wr * RDMA_MAX_SRQ_WQE_SIZE; in qlnxr_alloc_srq_kernel_params() 2408 hw_srq->max_wr = max_wr; in qlnxr_alloc_srq_kernel_params() [all …]
|
/freebsd/contrib/ofed/libmlx4/ |
H A D | srq.c | 250 if (attr_ex->attr.max_wr > 1 << 16 || attr_ex->attr.max_sge > 64) in mlx4_create_xrc_srq() 260 srq->max = align_queue_size(attr_ex->attr.max_wr + 1); in mlx4_create_xrc_srq()
|
H A D | verbs.c | 655 if (attr->attr.max_wr > 1 << 16 || attr->attr.max_sge > 64) in mlx4_create_srq() 665 srq->max = align_queue_size(attr->attr.max_wr + 1); in mlx4_create_srq()
|
/freebsd/contrib/ofed/libmlx5/ |
H A D | verbs.c | 650 if (attr->attr.max_wr > ctx->max_srq_recv_wr) { in mlx5_create_srq() 651 fprintf(stderr, "%s-%d:max_wr %d, max_srq_recv_wr %d\n", __func__, __LINE__, in mlx5_create_srq() 652 attr->attr.max_wr, ctx->max_srq_recv_wr); in mlx5_create_srq() 664 fprintf(stderr, "%s-%d:max_wr %d, max_srq_recv_wr %d\n", __func__, __LINE__, in mlx5_create_srq() 665 attr->attr.max_wr, ctx->max_srq_recv_wr); in mlx5_create_srq() 670 srq->max = align_queue_size(attr->attr.max_wr + 1); in mlx5_create_srq() 940 if (!attr->max_wr) in mlx5_calc_rwq_size() 954 wq_size = mlx5_round_up_power_of_two(attr->max_wr) * wqe_size; in mlx5_calc_rwq_size() 1847 if (attr->attr.max_wr > ctx->max_srq_recv_wr) { in mlx5_create_xrc_srq() 1848 fprintf(stderr, "%s-%d:max_wr in mlx5_create_xrc_srq() [all...] |
/freebsd/contrib/ofed/librdmacm/examples/ |
H A D | rdma_xserver.c | 56 attr.attr.max_wr = 1; in create_srq()
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_uverbs_cmd.c | 2934 wq_init_attr.max_wr = cmd.max_wr; in ib_uverbs_ex_create_wq() 2963 resp.max_wr = wq_init_attr.max_wr; in ib_uverbs_ex_create_wq() 3424 attr.attr.max_wr = cmd->max_wr; in __uverbs_create_xsrq() 3465 resp.max_wr = attr.attr.max_wr; in __uverbs_create_xsrq() 3525 xcmd.max_wr = cmd.max_wr; in ib_uverbs_create_srq() 3559 attr.max_wr = cmd.max_wr; in ib_uverbs_modify_srq() 3597 resp.max_wr = attr.max_wr; in ib_uverbs_query_srq()
|
/freebsd/contrib/ofed/libibverbs/examples/ |
H A D | srq_pingpong.c | 414 .max_wr = rx_depth, in pp_init_ctx()
|
H A D | xsrq_pingpong.c | 295 attr.attr.max_wr = ctx.num_clients; in pp_init_ctx()
|
/freebsd/sys/ofed/include/rdma/ |
H A D | ib_verbs.h | 940 u32 max_wr; member 1543 u32 max_wr; member
|
/freebsd/sys/ofed/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_cm.c | 1356 .max_wr = ipoib_recvq_size, in ipoib_cm_create_srq()
|
/freebsd/sys/dev/bnxt/bnxt_re/ |
H A D | ib_verbs.c | 1246 if (srq_init_attr->attr.max_wr >= dev_attr->max_srq_wqes) { in bnxt_re_create_srq() 1258 entries = srq_init_attr->attr.max_wr + 1; in bnxt_re_create_srq() 1367 srq_attr->max_wr = srq->qplib_srq.max_wqe; in bnxt_re_query_srq()
|
/freebsd/contrib/ofed/librdmacm/ |
H A D | cma.c | 1278 ret = ucma_create_cqs(id, 0, attr->attr.max_wr); in rdma_create_srq_ex()
|