Home
last modified time | relevance | path

Searched refs:wq_size (Results 1 – 17 of 17) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxbf_gige/
Dmlxbf_gige_rx.c84 size_t wq_size, cq_size; in mlxbf_gige_rx_init() local
94 wq_size = MLXBF_GIGE_RX_WQE_SZ * priv->rx_q_entries; in mlxbf_gige_rx_init()
95 priv->rx_wqe_base = dma_alloc_coherent(priv->dev, wq_size, in mlxbf_gige_rx_init()
170 dma_free_coherent(priv->dev, wq_size, in mlxbf_gige_rx_init()
/linux-6.1.9/include/uapi/rdma/
Dirdma-abi.h34 __u32 wq_size; /* size of the WQs (SQ+RQ) in the mmaped area */ member
/linux-6.1.9/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_fwif.h239 u32 wq_size; member
264 u32 wq_size; member
Dintel_guc_submission.c2210 action[len++] = info->wq_size; in __guc_action_register_multi_lrc_v70()
2261 info->wq_size, in __guc_action_register_context_v70()
2536 desc->wq_size = WQ_SIZE; in prepare_context_registration_info_v69()
2542 pdesc->wq_size_bytes = desc->wq_size; in prepare_context_registration_info_v69()
2613 info->wq_size = WQ_SIZE; in prepare_context_registration_info_v70()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dparams.c820 int wq_size = BIT(mlx5e_mpwqe_get_log_rq_size(mdev, params, xsk)); in mlx5e_shampo_get_log_cq_size() local
826 return order_base_2((wqe_size / rsrv_size) * wq_size * (pkt_per_rsrv + 1)); in mlx5e_shampo_get_log_cq_size()
1048 int wq_size = BIT(MLX5_GET(wq, wqc, log_wq_sz)); in mlx5e_shampo_hd_per_wq() local
1052 hd_per_wq = roundup_pow_of_two(hd_per_wqe * wq_size); in mlx5e_shampo_hd_per_wq()
1062 int wq_size = BIT(MLX5_GET(wq, wqc, log_wq_sz)); in mlx5e_shampo_icosq_sz() local
1072 wqebbs *= wq_size; in mlx5e_shampo_icosq_sz()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den.h188 static inline u16 mlx5_min_rx_wqes(int wq_type, u32 wq_size) in mlx5_min_rx_wqes() argument
193 wq_size / 2); in mlx5_min_rx_wqes()
196 wq_size / 2); in mlx5_min_rx_wqes()
Den_main.c454 u32 wq_size = mlx5_wq_ll_get_size(&rq->mpwqe.wq); in mlx5e_create_rq_umr_mkey() local
462 if (WARN_ON_ONCE(check_mul_overflow(wq_size, (u32)rq->mpwqe.mtts_per_wqe, in mlx5e_create_rq_umr_mkey()
466 __func__, wq_size, rq->mpwqe.mtts_per_wqe, in mlx5e_create_rq_umr_mkey()
613 int wq_size; in mlx5_rq_shampo_alloc() local
638 wq_size = BIT(MLX5_GET(wq, wqc, log_wq_sz)); in mlx5_rq_shampo_alloc()
639 *pool_size += (rq->mpwqe.shampo->hd_per_wqe * wq_size) / in mlx5_rq_shampo_alloc()
/linux-6.1.9/drivers/dma/idxd/
Dregisters.h317 u16 wq_size; member
Dsysfs.c718 int wq_size = 0; in total_claimed_wq_size() local
723 wq_size += wq->size; in total_claimed_wq_size()
726 return wq_size; in total_claimed_wq_size()
Ddevice.c842 wq->wqcfg->wq_size = wq->size; in idxd_wq_config_write()
1050 wq->size = wq->wqcfg->wq_size; in idxd_wq_load_config()
/linux-6.1.9/drivers/net/ethernet/microsoft/mana/
Dmana.h508 u32 wq_size; member
Dgdma_main.c967 u32 wq_size = wq->queue_size; in mana_gd_wq_avail_space() local
969 WARN_ON_ONCE(used_space > wq_size); in mana_gd_wq_avail_space()
971 return wq_size - used_space; in mana_gd_wq_avail_space()
Dmana_en.c754 req.wq_size = wq_spec->queue_size; in mana_create_wq_obj()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dqp.c356 int wq_size; in set_rq_size() local
391 wq_size = roundup_pow_of_two(cap->max_recv_wr) * wqe_size; in set_rq_size()
392 wq_size = max_t(int, wq_size, MLX5_SEND_WQE_BB); in set_rq_size()
393 qp->rq.wqe_cnt = wq_size / wqe_size; in set_rq_size()
514 int wq_size; in calc_sq_size() local
534 wq_size = roundup_pow_of_two(attr->cap.max_send_wr * wqe_size); in calc_sq_size()
535 qp->sq.wqe_cnt = wq_size / MLX5_SEND_WQE_BB; in calc_sq_size()
549 qp->sq.max_post = wq_size / wqe_size; in calc_sq_size()
552 return wq_size; in calc_sq_size()
/linux-6.1.9/drivers/staging/qlge/
Dqlge_main.c2675 dma_free_coherent(&qdev->pdev->dev, tx_ring->wq_size, in qlge_free_tx_resources()
2687 dma_alloc_coherent(&qdev->pdev->dev, tx_ring->wq_size, in qlge_alloc_tx_resources()
2702 dma_free_coherent(&qdev->pdev->dev, tx_ring->wq_size, in qlge_alloc_tx_resources()
3940 tx_ring->wq_size = in qlge_configure_rings()
Dqlge.h1379 u32 wq_size; /* size in bytes of queue area */ member
/linux-6.1.9/drivers/infiniband/hw/irdma/
Dverbs.c304 uresp.wq_size = iwdev->rf->sc_dev.hw_attrs.max_qp_wr * 2; in irdma_alloc_ucontext()