Searched refs:attr_ex (Results 1 – 9 of 9) sorted by relevance
/freebsd/contrib/ofed/libmlx4/ |
H A D | srq.c | 242 struct ibv_srq_init_attr_ex *attr_ex) in mlx4_create_xrc_srq() argument 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() 261 srq->max_gs = attr_ex->attr.max_sge; in mlx4_create_xrc_srq() 265 if (mlx4_alloc_srq_buf(attr_ex->pd, &attr_ex->attr, srq)) in mlx4_create_xrc_srq() 279 attr_ex, in mlx4_create_xrc_srq()
|
H A D | verbs.c | 707 struct ibv_srq_init_attr_ex *attr_ex) in mlx4_create_srq_ex() argument 709 if (!(attr_ex->comp_mask & IBV_SRQ_INIT_ATTR_TYPE) || in mlx4_create_srq_ex() 710 (attr_ex->srq_type == IBV_SRQT_BASIC)) in mlx4_create_srq_ex() 711 return mlx4_create_srq(attr_ex->pd, (struct ibv_srq_init_attr *) attr_ex); in mlx4_create_srq_ex() 712 else if (attr_ex->srq_type == IBV_SRQT_XRC) in mlx4_create_srq_ex() 713 return mlx4_create_xrc_srq(context, attr_ex); in mlx4_create_srq_ex() 934 struct ibv_qp_init_attr_ex attr_ex; in mlx4_create_qp() local 937 memcpy(&attr_ex, attr, sizeof *attr); in mlx4_create_qp() 938 attr_ex.comp_mask = IBV_QP_INIT_ATTR_PD; in mlx4_create_qp() 939 attr_ex.pd = pd; in mlx4_create_qp() [all …]
|
H A D | mlx4.h | 405 struct ibv_srq_init_attr_ex *attr_ex); 407 struct ibv_srq_init_attr_ex *attr_ex);
|
/freebsd/contrib/ofed/libirdma/ |
H A D | irdma_uverbs.c | 403 struct ibv_cq_init_attr_ex *attr_ex, in ucreate_cq() argument 428 if (hw_rev == IRDMA_GEN_1 || attr_ex->wc_flags & ~supported_flags) { in ucreate_cq() 434 if (attr_ex->cqe < uk_attrs->min_hw_cq_size || attr_ex->cqe > uk_attrs->max_hw_cq_size - 1) { in ucreate_cq() 440 ncqe = attr_ex->cqe; in ucreate_cq() 453 info.cq_size = get_cq_size(attr_ex->cqe, hw_rev); in ucreate_cq() 455 iwucq->comp_vector = attr_ex->comp_vector; in ucreate_cq() 510 attr_ex->cqe = info.cq_size; in ucreate_cq() 514 ret = ibv_cmd_create_cq_ex(context, attr_ex, &iwucq->verbs_cq.cq_ex, in ucreate_cq() 517 attr_ex->cqe = ncqe; in ucreate_cq() 522 irdma_ibvcq_ex_fill_priv_funcs(iwucq, attr_ex); in ucreate_cq() [all …]
|
H A D | irdma_umain.h | 170 struct ibv_cq_init_attr_ex *attr_ex); 172 struct ibv_cq_init_attr_ex *attr_ex);
|
/freebsd/contrib/ofed/libibverbs/ |
H A D | cmd.c | 677 struct ibv_srq_init_attr_ex *attr_ex, in ibv_cmd_create_srq_ex() argument 686 if (attr_ex->comp_mask >= IBV_SRQ_INIT_ATTR_RESERVED) in ibv_cmd_create_srq_ex() 689 if (!(attr_ex->comp_mask & IBV_SRQ_INIT_ATTR_PD)) in ibv_cmd_create_srq_ex() 693 cmd->pd_handle = attr_ex->pd->handle; in ibv_cmd_create_srq_ex() 694 cmd->max_wr = attr_ex->attr.max_wr; in ibv_cmd_create_srq_ex() 695 cmd->max_sge = attr_ex->attr.max_sge; in ibv_cmd_create_srq_ex() 696 cmd->srq_limit = attr_ex->attr.srq_limit; in ibv_cmd_create_srq_ex() 698 cmd->srq_type = (attr_ex->comp_mask & IBV_SRQ_INIT_ATTR_TYPE) ? in ibv_cmd_create_srq_ex() 699 attr_ex->srq_type : IBV_SRQT_BASIC; in ibv_cmd_create_srq_ex() 700 if (attr_ex->comp_mask & IBV_SRQ_INIT_ATTR_XRCD) { in ibv_cmd_create_srq_ex() [all …]
|
H A D | driver.h | 216 struct ibv_srq_init_attr_ex *attr_ex, 234 struct ibv_qp_init_attr_ex *attr_ex,
|
/freebsd/contrib/ofed/librdmacm/ |
H A D | cma.c | 1304 struct ibv_srq_init_attr_ex attr_ex; in rdma_create_srq() local 1307 memcpy(&attr_ex, attr, sizeof(*attr)); in rdma_create_srq() 1308 attr_ex.comp_mask = IBV_SRQ_INIT_ATTR_TYPE | IBV_SRQ_INIT_ATTR_PD; in rdma_create_srq() 1310 attr_ex.srq_type = IBV_SRQT_XRC; in rdma_create_srq() 1312 attr_ex.srq_type = IBV_SRQT_BASIC; in rdma_create_srq() 1314 attr_ex.pd = pd; in rdma_create_srq() 1315 ret = rdma_create_srq_ex(id, &attr_ex); in rdma_create_srq() 1316 memcpy(attr, &attr_ex, sizeof(*attr)); in rdma_create_srq() 1394 struct ibv_qp_init_attr_ex attr_ex; in rdma_create_qp() local 1397 memcpy(&attr_ex, qp_init_attr, sizeof(*qp_init_attr)); in rdma_create_qp() [all …]
|
/freebsd/contrib/ofed/libibverbs/examples/ |
H A D | rc_pingpong.c | 410 struct ibv_cq_init_attr_ex attr_ex = { in pp_init_ctx() local 418 ctx->cq_s.cq_ex = ibv_create_cq_ex(ctx->context, &attr_ex); in pp_init_ctx()
|