/linux/drivers/scsi/bnx2i/ |
A 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()
|
A D | bnx2i_sysfs.c | 140 static DEVICE_ATTR(sq_size, S_IRUGO | S_IWUSR,
|
A 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()
|
A D | bnx2i.h | 795 extern unsigned int sq_size;
|
/linux/drivers/infiniband/hw/irdma/ |
A D | puda.c | 651 u32 sq_size, rq_size; in irdma_puda_qp_create() local 654 sq_size = rsrc->sq_size * IRDMA_QP_WQE_MIN_SIZE; in irdma_puda_qp_create() 673 qp->rq_pa = qp->sq_pa + sq_size; in irdma_puda_qp_create() 676 ukqp->rq_base = &ukqp->sq_base[rsrc->sq_size]; in irdma_puda_qp_create() 686 ukqp->sq_size = rsrc->sq_size; in irdma_puda_qp_create() 689 IRDMA_RING_INIT(ukqp->sq_ring, ukqp->sq_size); in irdma_puda_qp_create() 690 IRDMA_RING_INIT(ukqp->initial_ring, ukqp->sq_size); in irdma_puda_qp_create() 1016 sqwridsize = info->sq_size * sizeof(struct irdma_sq_uk_wr_trk_info); in irdma_puda_create_rsrc() 1060 rsrc->tx_wqe_avail_cnt = info->sq_size - 1; in irdma_puda_create_rsrc() 1064 rsrc->sq_size = info->sq_size; in irdma_puda_create_rsrc() [all …]
|
A D | user.h | 342 u32 sq_size; member 390 u32 sq_size; member 423 u32 sq_size, u8 shift, u32 *wqdepth);
|
A D | puda.h | 90 u32 sq_size; member 113 u32 sq_size; member
|
A D | uk.c | 1307 u32 sq_size, u8 shift, u32 *sqdepth) in irdma_get_sqdepth() argument 1309 *sqdepth = irdma_qp_round_up((sq_size << shift) + IRDMA_SQ_RSVD); in irdma_get_sqdepth() 1416 qp->sq_size = info->sq_size; in irdma_uk_qp_init() 1419 sq_ring_size = qp->sq_size << sqshift; in irdma_uk_qp_init()
|
A D | hw.c | 944 cqp_init_info.sq_size = sqsize; in irdma_create_cqp() 1453 info.sq_size = min(iwdev->rf->max_qp / 2, (u32)32768); in irdma_initialize_ilq() 1454 info.rq_size = info.sq_size; in irdma_initialize_ilq() 1456 info.tx_buf_cnt = 2 * info.sq_size; in irdma_initialize_ilq() 1483 info.sq_size = min(iwdev->rf->max_qp / 2, (u32)32768); in irdma_initialize_ieq() 1484 info.rq_size = info.sq_size; in irdma_initialize_ieq()
|
A D | ctrl.c | 3083 if (info->sq_size > IRDMA_CQP_SW_SQSIZE_2048 || in irdma_sc_cqp_init() 3084 info->sq_size < IRDMA_CQP_SW_SQSIZE_4 || in irdma_sc_cqp_init() 3085 ((info->sq_size & (info->sq_size - 1)))) in irdma_sc_cqp_init() 3088 hw_sq_size = irdma_get_encoded_wqe_size(info->sq_size, in irdma_sc_cqp_init() 3091 cqp->sq_size = info->sq_size; in irdma_sc_cqp_init() 3113 IRDMA_RING_INIT(cqp->sq_ring, cqp->sq_size); in irdma_sc_cqp_init() 3125 cqp->sq_size, cqp->hw_sq_size, cqp->sq_base, in irdma_sc_cqp_init() 3145 cqp->sdbuf.size = ALIGN(IRDMA_UPDATE_SD_BUFF_SIZE * cqp->sq_size, in irdma_sc_cqp_create()
|
A D | verbs.c | 602 status = irdma_get_sqdepth(uk_attrs, ukinfo->sq_size, sqshift, in irdma_setup_kmode_qp() 654 ukinfo->sq_size = sqdepth >> sqshift; in irdma_setup_kmode_qp() 810 int sq_size; in irdma_create_qp() local 823 sq_size = init_attr->cap.max_send_wr; in irdma_create_qp() 828 init_info.qp_uk_init_info.sq_size = sq_size; in irdma_create_qp() 963 iwqp->max_send_wr = sq_size; in irdma_create_qp() 985 uresp.actual_sq_size = sq_size; in irdma_create_qp()
|
A D | type.h | 236 u32 sq_size; member 414 u32 sq_size; member
|
/linux/include/uapi/rdma/ |
A D | cxgb4-abi.h | 82 __u32 sq_size; member
|
/linux/drivers/infiniband/sw/siw/ |
A D | siw.h | 260 u32 sq_size; member 627 struct siw_sqe *sqe = &qp->sendq[qp->sq_get % qp->attrs.sq_size]; in siw_sq_empty() 634 struct siw_sqe *sqe = &qp->sendq[qp->sq_get % qp->attrs.sq_size]; in sq_get_next()
|
A D | siw_verbs.c | 422 qp->attrs.sq_size = num_sqe; in siw_create_qp() 514 qp_attr->cap.max_send_wr = qp->attrs.sq_size; in siw_query_qp() 780 u32 idx = qp->sq_put % qp->attrs.sq_size; in siw_post_send()
|
A 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()
|
/linux/drivers/infiniband/ulp/srpt/ |
A 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()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
A D | params.c | 212 size_t sq_size = 1 << params->log_sq_size; in mlx5e_validate_params() local 216 if (stop_room >= sq_size) { in mlx5e_validate_params() 218 stop_room, sq_size); in mlx5e_validate_params()
|
/linux/drivers/dma/ |
A D | hisi_dma.c | 341 size_t sq_size = sizeof(struct hisi_dma_sqe) * hdma_dev->chan_depth; in hisi_dma_alloc_qps_mem() local 349 chan->sq = dmam_alloc_coherent(dev, sq_size, &chan->sq_dma, in hisi_dma_alloc_qps_mem()
|
/linux/drivers/infiniband/hw/bnxt_re/ |
A D | roce_hsi.h | 1170 __le32 sq_size; member 1302 __le32 sq_size; member 1746 __le32 sq_size; member 2327 __le32 sq_size; member
|
A D | qplib_fp.c | 845 req.sq_size = cpu_to_le32(bnxt_qplib_set_sq_size(sq, qp->wqe_mode)); in bnxt_qplib_create_qp1() 999 req.sq_size = cpu_to_le32(bnxt_qplib_set_sq_size(sq, qp->wqe_mode)); in bnxt_qplib_create_qp() 1318 req.sq_size = cpu_to_le32(qp->sq.hwq.max_elements); in bnxt_qplib_modify_qp()
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
A 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()
|
/linux/drivers/infiniband/hw/cxgb4/ |
A D | qp.c | 2255 uresp.sq_size = qhp->wq.sq.size; in c4iw_create_qp()
|