Home
last modified time | relevance | path

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

/linux-6.6.21/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.c705 wq_size = BIT(MLX5_GET(wq, wqc, log_wq_sz)); in mlx5_rq_shampo_alloc()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/
Dparams.c975 MLX5_SET(wq, wq, log_wq_sz, mlx5e_mpwqe_get_log_rq_size(mdev, params, xsk)); in mlx5e_build_rq_param()
995 MLX5_SET(wq, wq, log_wq_sz, params->log_rq_mtu_frames); in mlx5e_build_rq_param()
1068 MLX5_SET(wq, wq, log_wq_sz, params->log_sq_size); in mlx5e_build_sq_param()
1120 int wq_size = BIT(MLX5_GET(wq, wqc, log_wq_sz)); in mlx5e_shampo_hd_per_wq()
1134 int wq_size = BIT(MLX5_GET(wq, wqc, log_wq_sz)); in mlx5e_shampo_icosq_sz()
1254 MLX5_SET(wq, wq, log_wq_sz, log_wq_size); in mlx5e_build_icosq_param()
1272 MLX5_SET(wq, wq, log_wq_sz, log_wq_size); in mlx5e_build_async_icosq_param()
1285 MLX5_SET(wq, wq, log_wq_sz, params->log_sq_size); in mlx5e_build_xdpsq_param()
Dptp.c636 MLX5_SET(wq, wq, log_wq_sz, params->log_sq_size); in mlx5e_ptp_build_sq_param()
/linux-6.6.21/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.c675 u8 log_wq_sz = ilog2(cqe_size); in alloc_cq_frag_buf() local
685 mlx5_init_fbc(frag_buf->frags, log_wq_stride, log_wq_sz, &buf->fbc); in alloc_cq_frag_buf()
Dqp.c1400 MLX5_SET(wq, wq, log_wq_sz, MLX5_GET(qpc, qpc, log_sq_size)); in create_raw_packet_qp_sq()
1490 MLX5_SET(wq, wq, log_wq_sz, MLX5_GET(qpc, qpc, log_rq_size)); in create_raw_packet_qp_rq()
5258 MLX5_SET(wq, wq, log_wq_sz, rwq->log_rq_size); in create_rq()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/
Daso.c282 MLX5_SET(wq, wq, log_wq_sz, 1); in mlx5_aso_create_sq()
/linux-6.6.21/drivers/vfio/pci/mlx5/
Dcmd.c860 u8 log_wq_sz = ilog2(cqe_size); in alloc_cq_frag_buf() local
868 mlx5_init_fbc(frag_buf->frags, log_wq_stride, log_wq_sz, &buf->fbc); in alloc_cq_frag_buf()
/linux-6.6.21/drivers/vdpa/mlx5/net/
Dmlx5_vnet.c291 u8 log_wq_sz = MLX5_VDPA_LOG_CQE_SIZE; in cq_frag_buf_alloc() local
299 mlx5_init_fbc(frag_buf->frags, log_wq_stride, log_wq_sz, &buf->fbc); in cq_frag_buf_alloc()
/linux-6.6.21/include/linux/mlx5/
Dmlx5_ifc.h2094 u8 log_wq_sz[0x5]; member