Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dwq.c41 u8 log_wq_stride = MLX5_GET(wq, wqc, log_wq_stride); 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()
164 u8 log_wq_stride = MLX5_GET(cqc, cqc, cqe_sz) == CQE_STRIDE_64 ? 6 : 7; 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()
214 u8 log_wq_stride = MLX5_GET(wq, wqc, log_wq_stride); 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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dparams.c1005 MLX5_SET(wq, wq, log_wq_stride, in mlx5e_build_rq_param()
1026 MLX5_SET(wq, wq, log_wq_stride, in mlx5e_build_drop_rq_param()
1051 MLX5_SET(wq, wq, log_wq_stride, ilog2(MLX5_SEND_WQE_BB)); in mlx5e_build_sq_param_common()
/openbmc/linux/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.c674 u8 log_wq_stride = 6 + (cqe_size == 128 ? 1 : 0); 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()
H A Dqp.c1399 MLX5_SET(wq, wq, log_wq_stride, ilog2(MLX5_SEND_WQE_BB)); in create_raw_packet_qp_sq()
1487 MLX5_SET(wq, wq, log_wq_stride, MLX5_GET(qpc, qpc, log_rq_stride) + 4); in create_raw_packet_qp_rq()
5240 MLX5_SET(wq, wq, log_wq_stride, rwq->log_rq_stride); in create_rq()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Daso.c280 MLX5_SET(wq, wq, log_wq_stride, ilog2(MLX5_SEND_WQE_BB)); in mlx5_aso_create_sq()
/openbmc/linux/drivers/vfio/pci/mlx5/
H A Dcmd.c859 u8 log_wq_stride = 6 + (cqe_size == 128 ? 1 : 0); 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()
/openbmc/linux/drivers/vdpa/mlx5/net/
H A Dmlx5_vnet.c288 u8 log_wq_stride = MLX5_VDPA_LOG_CQE_SIZE; in cq_frag_buf_alloc() local
297 mlx5_init_fbc(frag_buf->frags, log_wq_stride, log_wq_sz, &buf->fbc); in cq_frag_buf_alloc()
/openbmc/linux/include/linux/mlx5/
H A Dmlx5_ifc.h2091 u8 log_wq_stride[0x4]; member