Home
last modified time | relevance | path

Searched refs:log_wq_stride (Results 1 – 7 of 7) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A Dwq.c46 u8 log_wq_stride = MLX5_GET(wq, wqc, log_wq_stride); in mlx5_wq_cyc_create() local
59 err = mlx5_frag_buf_alloc_node(mdev, wq_get_byte_sz(log_wq_sz, log_wq_stride), in mlx5_wq_cyc_create()
66 mlx5_init_fbc(wq_ctrl->buf.frags, log_wq_stride, log_wq_sz, fbc); in mlx5_wq_cyc_create()
169 u8 log_wq_stride = MLX5_GET(cqc, cqc, cqe_sz) == CQE_STRIDE_64 ? 6 : 7; in mlx5_cqwq_create() local
181 err = mlx5_frag_buf_alloc_node(mdev, wq_get_byte_sz(log_wq_sz, log_wq_stride), in mlx5_cqwq_create()
190 mlx5_init_fbc(wq_ctrl->buf.frags, log_wq_stride, log_wq_sz, &wq->fbc); in mlx5_cqwq_create()
219 u8 log_wq_stride = MLX5_GET(wq, wqc, log_wq_stride); in mlx5_wq_ll_create() local
232 err = mlx5_frag_buf_alloc_node(mdev, wq_get_byte_sz(log_wq_sz, log_wq_stride), in mlx5_wq_ll_create()
239 mlx5_init_fbc(wq_ctrl->buf.frags, log_wq_stride, log_wq_sz, fbc); in mlx5_wq_ll_create()
H A Den_main.c2181 MLX5_SET(wq, wq, log_wq_stride, in mlx5e_build_rq_param()
2200 MLX5_SET(wq, wq, log_wq_stride, in mlx5e_build_drop_rq_param()
2213 MLX5_SET(wq, wq, log_wq_stride, ilog2(MLX5_SEND_WQE_BB)); in mlx5e_build_sq_param_common()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/mlx5/
H A Dsrq_cmd.c32 MLX5_SET(wq, wq, log_wq_stride, in->wqe_shift + 4); in set_wq()
60 in->wqe_shift = MLX5_GET(wq, wq, log_wq_stride) - 4; in get_wq()
H A Dcq.c664 u8 log_wq_stride = 6 + (cqe_size == 128 ? 1 : 0); in alloc_cq_frag_buf() local
675 mlx5_init_fbc(frag_buf->frags, log_wq_stride, log_wq_sz, &buf->fbc); in alloc_cq_frag_buf()
H A Dqp.c1249 MLX5_SET(wq, wq, log_wq_stride, ilog2(MLX5_SEND_WQE_BB)); in create_raw_packet_qp_sq()
1339 MLX5_SET(wq, wq, log_wq_stride, MLX5_GET(qpc, qpc, log_rq_stride) + 4); in create_raw_packet_qp_rq()
4859 MLX5_SET(wq, wq, log_wq_stride, rwq->log_rq_stride); in create_rq()
/OK3568_Linux_fs/kernel/drivers/vdpa/mlx5/net/
H A Dmlx5_vnet.c264 u8 log_wq_stride = MLX5_VDPA_LOG_CQE_SIZE; in cq_frag_buf_alloc() local
273 mlx5_init_fbc(frag_buf->frags, log_wq_stride, log_wq_sz, &buf->fbc); in cq_frag_buf_alloc()
/OK3568_Linux_fs/kernel/include/linux/mlx5/
H A Dmlx5_ifc.h1734 u8 log_wq_stride[0x4]; member