/drivers/scsi/bnx2i/ |
D | bnx2i_init.c | 61 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()
|
D | bnx2i_sysfs.c | 140 static DEVICE_ATTR(sq_size, S_IRUGO | S_IWUSR,
|
D | bnx2i_iscsi.c | 844 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()
|
D | bnx2i.h | 795 extern unsigned int sq_size;
|
/drivers/infiniband/hw/irdma/ |
D | puda.c | 657 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 …]
|
D | puda.h | 90 u32 sq_size; member 113 u32 sq_size; member
|
D | user.h | 352 u32 sq_size; member 401 u32 sq_size; member 434 u32 sq_size, u8 shift, u32 *wqdepth);
|
D | uk.c | 1369 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()
|
D | hw.c | 956 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()
|
D | ctrl.c | 3130 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()
|
D | verbs.c | 580 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()
|
D | type.h | 237 u32 sq_size; member 417 u32 sq_size; member
|
/drivers/infiniband/sw/siw/ |
D | siw.h | 260 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()
|
D | siw_verbs.c | 423 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()
|
D | siw_qp.c | 1233 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/ |
D | params.c | 191 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/ |
D | ib_srpt.c | 1788 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/ |
D | hisi_dma.c | 344 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/ |
D | roce_hsi.h | 1165 __le32 sq_size; member 1297 __le32 sq_size; member 1741 __le32 sq_size; member 2322 __le32 sq_size; member
|
D | qplib_fp.c | 875 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/ |
D | resource_tracker.c | 2728 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/ |
D | qp.c | 2255 uresp.sq_size = qhp->wq.sq.size; in c4iw_create_qp()
|