Searched refs:log_wq_stride (Results 1 – 9 of 9) sorted by relevance
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/ |
D | wq.c | 41 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()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | params.c | 1005 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()
|
/linux-6.6.21/drivers/infiniband/hw/mlx5/ |
D | srq_cmd.c | 32 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()
|
D | cq.c | 674 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()
|
D | qp.c | 1399 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()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | aso.c | 280 MLX5_SET(wq, wq, log_wq_stride, ilog2(MLX5_SEND_WQE_BB)); in mlx5_aso_create_sq()
|
/linux-6.6.21/drivers/vfio/pci/mlx5/ |
D | cmd.c | 859 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()
|
/linux-6.6.21/drivers/vdpa/mlx5/net/ |
D | mlx5_vnet.c | 290 u8 log_wq_stride = 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/ |
D | mlx5_ifc.h | 2090 u8 log_wq_stride[0x4]; member
|