Home
last modified time | relevance | path

Searched refs:log_wq_sz (Results 1 – 11 of 11) sorted by relevance

/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
Dwq.c42 u8 log_wq_sz = MLX5_GET(wq, wqc, log_wq_sz); in mlx5_wq_cyc_create() local
54 err = mlx5_frag_buf_alloc_node(mdev, wq_get_byte_sz(log_wq_sz, log_wq_stride), in mlx5_wq_cyc_create()
61 mlx5_init_fbc(wq_ctrl->buf.frags, log_wq_stride, log_wq_sz, fbc); in mlx5_wq_cyc_create()
165 u8 log_wq_sz = MLX5_GET(cqc, cqc, log_cq_size); in mlx5_cqwq_create() local
176 err = mlx5_frag_buf_alloc_node(mdev, wq_get_byte_sz(log_wq_sz, log_wq_stride), in mlx5_cqwq_create()
185 mlx5_init_fbc(wq_ctrl->buf.frags, log_wq_stride, log_wq_sz, &wq->fbc); in mlx5_cqwq_create()
215 u8 log_wq_sz = MLX5_GET(wq, wqc, log_wq_sz); in mlx5_wq_ll_create() local
227 err = mlx5_frag_buf_alloc_node(mdev, wq_get_byte_sz(log_wq_sz, log_wq_stride), in mlx5_wq_ll_create()
234 mlx5_init_fbc(wq_ctrl->buf.frags, log_wq_stride, log_wq_sz, fbc); in mlx5_wq_ll_create()
Den_main.c638 wq_size = BIT(MLX5_GET(wq, wqc, log_wq_sz)); in mlx5_rq_shampo_alloc()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/
Dparams.c904 MLX5_SET(wq, wq, log_wq_sz, mlx5e_mpwqe_get_log_rq_size(mdev, params, xsk)); in mlx5e_build_rq_param()
924 MLX5_SET(wq, wq, log_wq_sz, params->log_rq_mtu_frames); in mlx5e_build_rq_param()
996 MLX5_SET(wq, wq, log_wq_sz, params->log_sq_size); in mlx5e_build_sq_param()
1048 int wq_size = BIT(MLX5_GET(wq, wqc, log_wq_sz)); in mlx5e_shampo_hd_per_wq()
1062 int wq_size = BIT(MLX5_GET(wq, wqc, log_wq_sz)); in mlx5e_shampo_icosq_sz()
1182 MLX5_SET(wq, wq, log_wq_sz, log_wq_size); in mlx5e_build_icosq_param()
1200 MLX5_SET(wq, wq, log_wq_sz, log_wq_size); in mlx5e_build_async_icosq_param()
1213 MLX5_SET(wq, wq, log_wq_sz, params->log_sq_size); in mlx5e_build_xdpsq_param()
Dptp.c483 MLX5_SET(wq, wq, log_wq_sz, params->log_sq_size); in mlx5e_ptp_build_sq_param()
/Linux-v6.1/drivers/infiniband/hw/mlx5/
Dsrq_cmd.c33 MLX5_SET(wq, wq, log_wq_sz, in->log_size); in set_wq()
61 in->log_size = MLX5_GET(wq, wq, log_wq_sz); in get_wq()
Dcq.c672 u8 log_wq_sz = ilog2(cqe_size); in alloc_cq_frag_buf() local
682 mlx5_init_fbc(frag_buf->frags, log_wq_stride, log_wq_sz, &buf->fbc); in alloc_cq_frag_buf()
Dqp.c1316 MLX5_SET(wq, wq, log_wq_sz, MLX5_GET(qpc, qpc, log_sq_size)); in create_raw_packet_qp_sq()
1406 MLX5_SET(wq, wq, log_wq_sz, MLX5_GET(qpc, qpc, log_rq_size)); in create_raw_packet_qp_rq()
5121 MLX5_SET(wq, wq, log_wq_sz, rwq->log_rq_size); in create_rq()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/lib/
Daso.c282 MLX5_SET(wq, wq, log_wq_sz, 1); in mlx5_aso_create_sq()
/Linux-v6.1/drivers/vfio/pci/mlx5/
Dcmd.c599 u8 log_wq_sz = ilog2(cqe_size); in alloc_cq_frag_buf() local
607 mlx5_init_fbc(frag_buf->frags, log_wq_stride, log_wq_sz, &buf->fbc); in alloc_cq_frag_buf()
/Linux-v6.1/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c332 u8 log_wq_sz = MLX5_VDPA_LOG_CQE_SIZE; in cq_frag_buf_alloc() local
340 mlx5_init_fbc(frag_buf->frags, log_wq_stride, log_wq_sz, &buf->fbc); in cq_frag_buf_alloc()
/Linux-v6.1/include/linux/mlx5/
Dmlx5_ifc.h2020 u8 log_wq_sz[0x5]; member