Home
last modified time | relevance | path

Searched refs:rq_size (Results 1 – 25 of 27) sorted by relevance

12

/freebsd/contrib/ofed/libcxgb4/
H A Dcxgb4-abi.h76 __u32 rq_size; member
92 __u32 rq_size; member
H A Dverbs.c344 qhp->wq.rq.size = resp.rq_size; in create_qp_v0()
453 qhp->wq.rq.size = resp.rq_size; in create_qp()
/freebsd/sys/dev/irdma/
H A Dirdma_puda.c166 rsrc->rx_wqe_idx = ((rsrc->rx_wqe_idx + 1) % rsrc->rq_size); in irdma_puda_replenish_rq()
689 u32 sq_size, rq_size; in irdma_puda_qp_create() local
693 rq_size = rsrc->rq_size * IRDMA_QP_WQE_MIN_SIZE; in irdma_puda_qp_create()
694 rsrc->qpmem.size = (sq_size + rq_size + (IRDMA_SHADOW_AREA_SIZE << 3) + in irdma_puda_qp_create()
704 qp->hw_rq_size = irdma_get_encoded_wqe_size(rsrc->rq_size, IRDMA_QUEUE_TYPE_SQ_RQ); in irdma_puda_qp_create()
714 ukqp->shadow_area = ukqp->rq_base[rsrc->rq_size].elem; in irdma_puda_qp_create()
716 qp->shadow_area_pa = qp->rq_pa + rq_size; in irdma_puda_qp_create()
724 ukqp->rq_size = rsrc->rq_size; in irdma_puda_qp_create()
728 IRDMA_RING_INIT(ukqp->rq_ring, ukqp->rq_size); in irdma_puda_qp_create()
1110 rqwridsize = info->rq_size * 8; in irdma_puda_create_rsrc()
[all …]
H A Dirdma_puda.h124 u32 rq_size; member
148 u32 rq_size; member
H A Dirdma_user.h475 u32 rq_size; member
530 u32 rq_size; member
567 int irdma_get_rqdepth(struct irdma_uk_attrs *uk_attrs, u32 rq_size, u8 shift, u32 *rqdepth);
H A Dirdma_uk.c1052 u32 exp_idx = (qp->last_rx_cmpl_idx + 1) % qp->rq_size; in irdma_check_rq_cqe()
1502 irdma_get_rqdepth(struct irdma_uk_attrs *uk_attrs, u32 rq_size, u8 shift, u32 *rqdepth) in irdma_get_rqdepth() argument
1506 *rqdepth = irdma_round_up_wq((rq_size << shift) + IRDMA_RQ_RSVD); in irdma_get_rqdepth()
1619 status = irdma_get_rqdepth(ukinfo->uk_attrs, ukinfo->rq_size, in irdma_uk_calc_depth_shift_rq()
1673 qp->rq_size = info->rq_size; in irdma_uk_qp_init()
1677 IRDMA_RING_INIT(qp->rq_ring, qp->rq_size); in irdma_uk_qp_init()
H A Dirdma_kcompat.c707 init_info.qp_uk_init_info.rq_size = init_attr->cap.max_recv_wr; in irdma_create_qp()
856 uresp.actual_rq_size = init_info.qp_uk_init_info.rq_size; in irdma_create_qp()
H A Dirdma_verbs.c425 ukinfo->rq_size = init_attr->cap.max_recv_wr; in irdma_setup_umode_qp()
441 ukinfo->rq_size = ukinfo->rq_depth >> ukinfo->rq_shift; in irdma_setup_umode_qp()
526 ukinfo->rq_size = ukinfo->rq_depth >> ukinfo->rq_shift; in irdma_setup_kmode_qp()
H A Dirdma_hw.c1575 info.rq_size = info.sq_size; in irdma_initialize_ilq()
1606 info.rq_size = info.sq_size; in irdma_initialize_ieq()
H A Dirdma_ctrl.c482 irdma_get_encoded_wqe_size(qp->qp_uk.rq_size * in irdma_sc_qp_init()
487 qp->hw_rq_size, qp->qp_uk.rq_size, wqe_size); in irdma_sc_qp_init()
/freebsd/contrib/ofed/librdmacm/
H A Drsocket.c371 uint16_t rq_size; member
610 rs->rq_size = inherited_rs->rq_size; in rs_alloc()
620 rs->rq_size = def_rqsize; in rs_alloc()
673 if (rs->rq_size > max_size) in rs_set_qp_size()
674 rs->rq_size = max_size; in rs_set_qp_size()
675 else if (rs->rq_size < RS_QP_MIN_SIZE) in rs_set_qp_size()
676 rs->rq_size = RS_QP_MIN_SIZE; in rs_set_qp_size()
687 if (rs->rq_size > max_size) in ds_set_qp_size()
688 rs->rq_size = max_size; in ds_set_qp_size()
690 if (rs->rq_size > (rs->rbuf_size / RS_SNDLOWAT)) in ds_set_qp_size()
[all …]
H A Dpreload.c100 static int rq_size; variable
363 rq_size = atoi(var); in getenv_options()
523 if (rq_size) in set_rsocket_options()
524 rsetsockopt(rsocket, SOL_RDMA, RDMA_RQSIZE, &rq_size, sizeof rq_size); in set_rsocket_options()
/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Duser.h67 __u32 rq_size; member
H A Dqp.c1840 uresp.rq_size = qhp->wq.rq.size; in c4iw_create_qp()
/freebsd/contrib/ofed/libirdma/
H A Dirdma_user.h374 u32 rq_size; member
429 u32 rq_size; member
466 int irdma_get_rqdepth(struct irdma_uk_attrs *uk_attrs, u32 rq_size, u8 shift, u32 *rqdepth);
H A Dirdma_uk.c1198 start_idx = (start_idx + 1) % qp->rq_size; in irdma_repost_rq_wqes()
1207 u32 exp_idx = (qp->last_rx_cmpl_idx + 1) % qp->rq_size; in irdma_check_rq_cqe()
1608 irdma_get_rqdepth(struct irdma_uk_attrs *uk_attrs, u32 rq_size, u8 shift, u32 *rqdepth) in irdma_get_rqdepth() argument
1612 *rqdepth = irdma_round_up_wq((rq_size << shift) + IRDMA_RQ_RSVD); in irdma_get_rqdepth()
1701 status = irdma_get_rqdepth(ukinfo->uk_attrs, ukinfo->rq_size, in irdma_uk_calc_depth_shift_rq()
1755 qp->rq_size = info->rq_size; in irdma_uk_qp_init()
1759 IRDMA_RING_INIT(qp->rq_ring, qp->rq_size); in irdma_uk_qp_init()
H A Dirdma_uverbs.c1327 info->rq_size = resp.actual_rq_size; in irdma_vmapped_qp()
1388 info.rq_size = attr->cap.max_recv_wr; in irdma_ucreate_qp()
1422 info.rq_size = info.rq_depth >> info.rq_shift; in irdma_ucreate_qp()
1429 attr->cap.max_recv_wr = info.rq_size; in irdma_ucreate_qp()
/freebsd/sys/netpfil/ipfw/
H A Dip_dn_glue.c103 int rq_size ; /* number of slots */ member
421 fs->buckets = f->rq_size; in dn_compat_config_queue()
647 fs->rq_size = s->sch.buckets ? s->sch.buckets : 1; in dn_c_copy_pipe()
717 fs->rq_size = (f->fs.buckets ? f->fs.buckets : 1); in dn_c_copy_fs()
/freebsd/sys/rpc/
H A Dsvc.c973 r->rq_size = sizeof(*r) + m_length(args, NULL); in svc_getreq()
1281 svc_change_space_used(pool, rqstp->rq_size); in svc_run_internal()
1328 sz = (long)rqstp->rq_size; in svc_run_internal()
H A Dsvc.h274 size_t rq_size; /* space used by request */ member
/freebsd/sys/dev/mana/
H A Dmana_en.c2318 uint32_t cq_size, rq_size; in mana_create_rxq() local
2344 err = mana_alloc_rx_wqe(apc, rxq, &rq_size, &cq_size); in mana_create_rxq()
2362 rq_size = ALIGN(rq_size, PAGE_SIZE); in mana_create_rxq()
2369 spec.queue_size = rq_size; in mana_create_rxq()
/freebsd/sys/dev/ciss/
H A Dcissreg.h453 uint32_t rq_size; member
H A Dciss.c1018 pc->rq_size = sc->ciss_max_requests; /* XXX less than the card supports? */ in ciss_init_perf()
/freebsd/sys/dev/bnxt/bnxt_re/
H A Dqplib_fp.c957 req.rq_size = cpu_to_le32(rq->max_wqe); in bnxt_qplib_create_qp1()
1151 req.rq_size = cpu_to_le32(rq->max_wqe); in bnxt_qplib_create_qp()
1461 req.rq_size = cpu_to_le32(qp->rq.hwq.max_elements); in bnxt_qplib_modify_qp()
/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_resource_tracker.c2675 int rq_size; in qp_get_mtt_size() local
2681 rq_size = (srq|rss|xrc) ? 0 : (1 << (log_rq_size + log_rq_stride + 4)); in qp_get_mtt_size()
2682 total_mem = sq_size + rq_size; in qp_get_mtt_size()

12