Home
last modified time | relevance | path

Searched refs:sq_size (Results 1 – 22 of 22) sorted by relevance

/drivers/scsi/bnx2i/
Dbnx2i_init.c61 unsigned int sq_size; variable
62 module_param(sq_size, int, 0664);
63 MODULE_PARM_DESC(sq_size, "Configure SQ size");
474 if (sq_size && !is_power_of_2(sq_size)) in bnx2i_mod_init()
475 sq_size = roundup_pow_of_two(sq_size); in bnx2i_mod_init()
Dbnx2i_sysfs.c140 static DEVICE_ATTR(sq_size, S_IRUGO | S_IWUSR,
Dbnx2i_iscsi.c844 if (sq_size && sq_size <= BNX2I_5770X_SQ_WQES_MAX) in bnx2i_alloc_hba()
845 hba->max_sqes = sq_size; in bnx2i_alloc_hba()
849 if (sq_size && sq_size <= BNX2I_570X_SQ_WQES_MAX) in bnx2i_alloc_hba()
850 hba->max_sqes = sq_size; in bnx2i_alloc_hba()
Dbnx2i.h795 extern unsigned int sq_size;
/drivers/infiniband/hw/irdma/
Dpuda.c657 u32 sq_size, rq_size; in irdma_puda_qp_create() local
660 sq_size = rsrc->sq_size * IRDMA_QP_WQE_MIN_SIZE; in irdma_puda_qp_create()
662 rsrc->qpmem.size = ALIGN((sq_size + rq_size + (IRDMA_SHADOW_AREA_SIZE << 3) + IRDMA_QP_CTX_SIZE), in irdma_puda_qp_create()
672 qp->hw_sq_size = irdma_get_encoded_wqe_size(rsrc->sq_size, IRDMA_QUEUE_TYPE_SQ_RQ); in irdma_puda_qp_create()
679 qp->rq_pa = qp->sq_pa + sq_size; in irdma_puda_qp_create()
682 ukqp->rq_base = &ukqp->sq_base[rsrc->sq_size]; in irdma_puda_qp_create()
692 ukqp->sq_size = rsrc->sq_size; in irdma_puda_qp_create()
695 IRDMA_RING_INIT(ukqp->sq_ring, ukqp->sq_size); in irdma_puda_qp_create()
696 IRDMA_RING_INIT(ukqp->initial_ring, ukqp->sq_size); in irdma_puda_qp_create()
1022 sqwridsize = info->sq_size * sizeof(struct irdma_sq_uk_wr_trk_info); in irdma_puda_create_rsrc()
[all …]
Dpuda.h90 u32 sq_size; member
113 u32 sq_size; member
Duser.h352 u32 sq_size; member
401 u32 sq_size; member
434 u32 sq_size, u8 shift, u32 *wqdepth);
Duk.c1369 u32 sq_size, u8 shift, u32 *sqdepth) in irdma_get_sqdepth() argument
1371 *sqdepth = irdma_qp_round_up((sq_size << shift) + IRDMA_SQ_RSVD); in irdma_get_sqdepth()
1478 qp->sq_size = info->sq_size; in irdma_uk_qp_init()
1481 sq_ring_size = qp->sq_size << sqshift; in irdma_uk_qp_init()
Dhw.c956 cqp_init_info.sq_size = sqsize; in irdma_create_cqp()
1463 info.sq_size = min(iwdev->rf->max_qp / 2, (u32)32768); in irdma_initialize_ilq()
1464 info.rq_size = info.sq_size; in irdma_initialize_ilq()
1466 info.tx_buf_cnt = 2 * info.sq_size; in irdma_initialize_ilq()
1493 info.sq_size = min(iwdev->rf->max_qp / 2, (u32)32768); in irdma_initialize_ieq()
1494 info.rq_size = info.sq_size; in irdma_initialize_ieq()
Dctrl.c3130 if (info->sq_size > IRDMA_CQP_SW_SQSIZE_2048 || in irdma_sc_cqp_init()
3131 info->sq_size < IRDMA_CQP_SW_SQSIZE_4 || in irdma_sc_cqp_init()
3132 ((info->sq_size & (info->sq_size - 1)))) in irdma_sc_cqp_init()
3135 hw_sq_size = irdma_get_encoded_wqe_size(info->sq_size, in irdma_sc_cqp_init()
3138 cqp->sq_size = info->sq_size; in irdma_sc_cqp_init()
3160 IRDMA_RING_INIT(cqp->sq_ring, cqp->sq_size); in irdma_sc_cqp_init()
3172 cqp->sq_size, cqp->hw_sq_size, cqp->sq_base, in irdma_sc_cqp_init()
3192 cqp->sdbuf.size = ALIGN(IRDMA_UPDATE_SD_BUFF_SIZE * cqp->sq_size, in irdma_sc_cqp_create()
Dverbs.c580 status = irdma_get_sqdepth(uk_attrs, ukinfo->sq_size, sqshift, in irdma_setup_kmode_qp()
632 ukinfo->sq_size = sqdepth >> sqshift; in irdma_setup_kmode_qp()
796 int sq_size; in irdma_create_qp() local
809 sq_size = init_attr->cap.max_send_wr; in irdma_create_qp()
814 init_info.qp_uk_init_info.sq_size = sq_size; in irdma_create_qp()
951 iwqp->max_send_wr = sq_size; in irdma_create_qp()
973 uresp.actual_sq_size = sq_size; in irdma_create_qp()
Dtype.h237 u32 sq_size; member
417 u32 sq_size; member
/drivers/infiniband/sw/siw/
Dsiw.h260 u32 sq_size; member
628 struct siw_sqe *sqe = &qp->sendq[qp->sq_get % qp->attrs.sq_size]; in siw_sq_empty()
635 struct siw_sqe *sqe = &qp->sendq[qp->sq_get % qp->attrs.sq_size]; in sq_get_next()
Dsiw_verbs.c423 qp->attrs.sq_size = num_sqe; in siw_create_qp()
517 qp_attr->cap.max_send_wr = qp->attrs.sq_size; in siw_query_qp()
816 u32 idx = qp->sq_put % qp->attrs.sq_size; in siw_post_send()
Dsiw_qp.c1233 while (qp->attrs.sq_size) { in siw_sq_flush()
1234 sqe = &qp->sendq[qp->sq_get % qp->attrs.sq_size]; in siw_sq_flush()
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dparams.c191 size_t sq_size = 1 << params->log_sq_size; in mlx5e_validate_params() local
195 if (stop_room >= sq_size) { in mlx5e_validate_params()
197 stop_room, sq_size); in mlx5e_validate_params()
/drivers/infiniband/ulp/srpt/
Dib_srpt.c1788 int sq_size = sport->port_attrib.srp_sq_size; in srpt_create_ch_ib() local
1799 ch->cq = ib_cq_pool_get(sdev->device, ch->rq_size + sq_size, -1, in srpt_create_ch_ib()
1804 ch->rq_size + sq_size, ret); in srpt_create_ch_ib()
1807 ch->cq_size = ch->rq_size + sq_size; in srpt_create_ch_ib()
1823 qp_init->cap.max_send_wr = min(sq_size / 2, attrs->max_qp_wr); in srpt_create_ch_ib()
1824 qp_init->cap.max_rdma_ctxs = sq_size / 2; in srpt_create_ch_ib()
1847 bool retry = sq_size > MIN_SRPT_SQ_SIZE; in srpt_create_ch_ib()
1851 sq_size, ret); in srpt_create_ch_ib()
1853 sq_size = max(sq_size / 2, MIN_SRPT_SQ_SIZE); in srpt_create_ch_ib()
1857 sq_size, ret); in srpt_create_ch_ib()
/drivers/dma/
Dhisi_dma.c344 size_t sq_size = sizeof(struct hisi_dma_sqe) * hdma_dev->chan_depth; in hisi_dma_alloc_qps_mem() local
352 chan->sq = dmam_alloc_coherent(dev, sq_size, &chan->sq_dma, in hisi_dma_alloc_qps_mem()
/drivers/infiniband/hw/bnxt_re/
Droce_hsi.h1165 __le32 sq_size; member
1297 __le32 sq_size; member
1741 __le32 sq_size; member
2322 __le32 sq_size; member
Dqplib_fp.c875 req.sq_size = cpu_to_le32(bnxt_qplib_set_sq_size(sq, qp->wqe_mode)); in bnxt_qplib_create_qp1()
1029 req.sq_size = cpu_to_le32(bnxt_qplib_set_sq_size(sq, qp->wqe_mode)); in bnxt_qplib_create_qp()
1345 req.sq_size = cpu_to_le32(qp->sq.hwq.max_elements); in bnxt_qplib_modify_qp()
/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c2728 int sq_size; in qp_get_mtt_size() local
2735 sq_size = 1 << (log_sq_size + log_sq_sride + 4); in qp_get_mtt_size()
2737 total_mem = sq_size + rq_size; in qp_get_mtt_size()
/drivers/infiniband/hw/cxgb4/
Dqp.c2255 uresp.sq_size = qhp->wq.sq.size; in c4iw_create_qp()