Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_io.c373 size_t qps_size, wq_size, db_size; in hinic_io_create_qps() local
382 wq_size = num_qps * sizeof(*func_to_io->sq_wq); in hinic_io_create_qps()
383 func_to_io->sq_wq = devm_kzalloc(&pdev->dev, wq_size, GFP_KERNEL); in hinic_io_create_qps()
389 wq_size = num_qps * sizeof(*func_to_io->rq_wq); in hinic_io_create_qps()
390 func_to_io->rq_wq = devm_kzalloc(&pdev->dev, wq_size, GFP_KERNEL); in hinic_io_create_qps()
/Linux-v5.4/include/uapi/rdma/
Dnes-abi.h63 __u32 wq_size; /* size of the WQs (sq+rq) allocated to the mmaped area */ member
Di40iw-abi.h53 __u32 wq_size; /* size of the WQs (sq+rq) allocated to the mmaped area */ member
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den.h174 static inline u16 mlx5_min_rx_wqes(int wq_type, u32 wq_size) in mlx5_min_rx_wqes() argument
179 wq_size / 2); in mlx5_min_rx_wqes()
182 wq_size / 2); in mlx5_min_rx_wqes()
/Linux-v5.4/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_fwif.h179 u32 wq_size; member
Dintel_guc_submission.c376 desc->wq_size = GUC_WQ_SIZE; in guc_stage_desc_init()
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dqp.c334 int wq_size; in set_rq_size() local
360 wq_size = roundup_pow_of_two(cap->max_recv_wr) * wqe_size; in set_rq_size()
361 wq_size = max_t(int, wq_size, MLX5_SEND_WQE_BB); in set_rq_size()
362 qp->rq.wqe_cnt = wq_size / wqe_size; in set_rq_size()
480 int wq_size; in calc_sq_size() local
500 wq_size = roundup_pow_of_two(attr->cap.max_send_wr * wqe_size); in calc_sq_size()
501 qp->sq.wqe_cnt = wq_size / MLX5_SEND_WQE_BB; in calc_sq_size()
515 qp->sq.max_post = wq_size / wqe_size; in calc_sq_size()
518 return wq_size; in calc_sq_size()
/Linux-v5.4/drivers/staging/qlge/
Dqlge_main.c2786 pci_free_consistent(qdev->pdev, tx_ring->wq_size, in ql_free_tx_resources()
2798 pci_alloc_consistent(qdev->pdev, tx_ring->wq_size, in ql_alloc_tx_resources()
2813 pci_free_consistent(qdev->pdev, tx_ring->wq_size, in ql_alloc_tx_resources()
4128 tx_ring->wq_size = in ql_configure_rings()
Dqlge.h1391 u32 wq_size; /* size in bytes of queue area */ member
Dqlge_dbg.c1664 pr_err("tx_ring->size = %d\n", tx_ring->wq_size); in ql_dump_tx_ring()
/Linux-v5.4/drivers/infiniband/hw/i40iw/
Di40iw_verbs.c138 uresp.wq_size = iwdev->max_qp_wr * 2; in i40iw_alloc_ucontext()
/Linux-v5.4/drivers/gpu/drm/i915/
Di915_debugfs.c1943 desc->wq_addr, desc->wq_size); in i915_guc_stage_pool()