/linux-6.6.21/drivers/net/ethernet/mellanox/mlxbf_gige/ |
D | mlxbf_gige_rx.c | 84 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.6.21/include/uapi/rdma/ |
D | irdma-abi.h | 40 __u32 wq_size; /* size of the WQs (SQ+RQ) in the mmaped area */ member
|
/linux-6.6.21/drivers/gpu/drm/i915/gt/uc/ |
D | intel_guc_fwif.h | 235 u32 wq_size; member 260 u32 wq_size; member
|
D | intel_guc_submission.c | 2304 action[len++] = info->wq_size; in __guc_action_register_multi_lrc_v70() 2355 info->wq_size, in __guc_action_register_context_v70() 2631 desc->wq_size = WQ_SIZE; in prepare_context_registration_info_v69() 2637 pdesc->wq_size_bytes = desc->wq_size; in prepare_context_registration_info_v69() 2708 info->wq_size = WQ_SIZE; in prepare_context_registration_info_v70()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | params.c | 888 int wq_size = BIT(mlx5e_mpwqe_get_log_rq_size(mdev, params, xsk)); in mlx5e_shampo_get_log_cq_size() local 894 return order_base_2((wqe_size / rsrv_size) * wq_size * (pkt_per_rsrv + 1)); in mlx5e_shampo_get_log_cq_size() 1120 int wq_size = BIT(MLX5_GET(wq, wqc, log_wq_sz)); in mlx5e_shampo_hd_per_wq() local 1124 hd_per_wq = roundup_pow_of_two(hd_per_wqe * wq_size); in mlx5e_shampo_hd_per_wq() 1134 int wq_size = BIT(MLX5_GET(wq, wqc, log_wq_sz)); in mlx5e_shampo_icosq_sz() local 1144 wqebbs *= wq_size; in mlx5e_shampo_icosq_sz()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en.h | 179 static inline u16 mlx5_min_rx_wqes(int wq_type, u32 wq_size) in mlx5_min_rx_wqes() argument 184 wq_size / 2); in mlx5_min_rx_wqes() 187 wq_size / 2); in mlx5_min_rx_wqes()
|
D | en_main.c | 477 u32 wq_size = mlx5_wq_ll_get_size(&rq->mpwqe.wq); in mlx5e_create_rq_umr_mkey() local 485 if (WARN_ON_ONCE(check_mul_overflow(wq_size, (u32)rq->mpwqe.mtts_per_wqe, in mlx5e_create_rq_umr_mkey() 489 __func__, wq_size, rq->mpwqe.mtts_per_wqe, in mlx5e_create_rq_umr_mkey() 680 int wq_size; in mlx5_rq_shampo_alloc() local 705 wq_size = BIT(MLX5_GET(wq, wqc, log_wq_sz)); in mlx5_rq_shampo_alloc() 706 *pool_size += (rq->mpwqe.shampo->hd_per_wqe * wq_size) / in mlx5_rq_shampo_alloc()
|
/linux-6.6.21/drivers/dma/idxd/ |
D | registers.h | 364 u16 wq_size; member
|
D | sysfs.c | 718 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()
|
D | device.c | 929 wq->wqcfg->wq_size = wq->size; in idxd_wq_config_write() 1137 wq->size = wq->wqcfg->wq_size; in idxd_wq_load_config()
|
/linux-6.6.21/drivers/net/ethernet/microsoft/mana/ |
D | gdma_main.c | 1008 u32 wq_size = wq->queue_size; in mana_gd_wq_avail_space() local 1010 WARN_ON_ONCE(used_space > wq_size); in mana_gd_wq_avail_space() 1012 return wq_size - used_space; in mana_gd_wq_avail_space()
|
D | mana_en.c | 1139 req.wq_size = wq_spec->queue_size; in mana_create_wq_obj()
|
/linux-6.6.21/include/net/mana/ |
D | mana.h | 560 u32 wq_size; member
|
/linux-6.6.21/drivers/infiniband/hw/mlx5/ |
D | qp.c | 437 int wq_size; in set_rq_size() local 472 wq_size = roundup_pow_of_two(cap->max_recv_wr) * wqe_size; in set_rq_size() 473 wq_size = max_t(int, wq_size, MLX5_SEND_WQE_BB); in set_rq_size() 474 qp->rq.wqe_cnt = wq_size / wqe_size; in set_rq_size() 595 int wq_size; in calc_sq_size() local 615 wq_size = roundup_pow_of_two(attr->cap.max_send_wr * wqe_size); in calc_sq_size() 616 qp->sq.wqe_cnt = wq_size / MLX5_SEND_WQE_BB; in calc_sq_size() 630 qp->sq.max_post = wq_size / wqe_size; in calc_sq_size() 633 return wq_size; in calc_sq_size()
|
/linux-6.6.21/drivers/staging/qlge/ |
D | qlge_main.c | 2675 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()
|
D | qlge.h | 1379 u32 wq_size; /* size in bytes of queue area */ member
|
/linux-6.6.21/drivers/infiniband/hw/irdma/ |
D | verbs.c | 306 uresp.wq_size = iwdev->rf->sc_dev.hw_attrs.max_qp_wr * 2; in irdma_alloc_ucontext()
|