Home
last modified time | relevance | path

Searched refs:log_rq_stride (Results 1 – 8 of 8) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/
Dwq.c108 u8 log_rq_stride = MLX5_GET(qpc, qpc, log_rq_stride) + 4; in mlx5_wq_qp_create() local
125 wq_get_byte_sz(log_rq_sz, log_rq_stride) + in mlx5_wq_qp_create()
133 mlx5_init_fbc(wq_ctrl->buf.frags, log_rq_stride, log_rq_sz, &wq->rq.fbc); in mlx5_wq_qp_create()
135 rq_byte_size = wq_get_byte_sz(log_rq_sz, log_rq_stride); in mlx5_wq_qp_create()
Ddebugfs.c264 param = 1 << (MLX5_GET(qpc, qpc, log_rq_stride) + 4); in qp_read_field()
/drivers/infiniband/hw/mlx5/
Dsrq_cmd.c16 u32 log_rq_stride = in->wqe_shift; in get_pas_size() local
19 u32 rq_sz = 1 << (log_srq_size + 4 + log_rq_stride); in get_pas_size()
45 MLX5_SET(srqc, srqc, log_rq_stride, in->wqe_shift); in set_srqc()
73 in->wqe_shift = MLX5_GET(srqc, srqc, log_rq_stride); in get_srqc()
Dqp.c1284 u32 log_rq_stride = MLX5_GET(qpc, qpc, log_rq_stride); in get_rq_pas_size() local
1288 u32 rq_sz = 1 << (log_rq_size + 4 + log_rq_stride); in get_rq_pas_size()
1339 MLX5_SET(wq, wq, log_wq_stride, MLX5_GET(qpc, qpc, log_rq_stride) + 4); in create_raw_packet_qp_rq()
2014 MLX5_SET(qpc, qpc, log_rq_stride, qp->rq.wqe_shift - 4); in create_user_qp()
2169 MLX5_SET(qpc, qpc, log_rq_stride, qp->rq.wqe_shift - 4); in create_kernel_qp()
4907 MLX5_SET(wq, wq, log_wq_stride, rwq->log_rq_stride); in create_rq()
4993 rwq->log_rq_stride = rwq->wqe_shift; in set_user_rq_size()
Dmlx5_ib.h303 u32 log_rq_stride; member
/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_send.c129 MLX5_SET(qpc, temp_qpc, log_rq_stride, ilog2(MLX5_SEND_WQE_DS) - 4); in dr_create_rc_qp()
168 MLX5_SET(qpc, qpc, log_rq_stride, ilog2(MLX5_SEND_WQE_DS) - 4); in dr_create_rc_qp()
/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dconn.c529 MLX5_SET(qpc, temp_qpc, log_rq_stride, ilog2(MLX5_SEND_WQE_DS) - 4); in mlx5_fpga_conn_create_qp()
570 MLX5_SET(qpc, qpc, log_rq_stride, ilog2(MLX5_SEND_WQE_DS) - 4); in mlx5_fpga_conn_create_qp()
/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c2722 int log_rq_stride = qpc->rq_size_stride & 7; in qp_get_mtt_size() local
2735 rq_size = (srq|rss|xrc) ? 0 : (1 << (log_rq_size + log_rq_stride + 4)); in qp_get_mtt_size()
3600 int log_rq_stride = srqc->logstride & 7; in srq_get_mtt_size() local
3603 if (log_srq_size + log_rq_stride + 4 < page_shift) in srq_get_mtt_size()
3606 return 1 << (log_srq_size + log_rq_stride + 4 - page_shift); in srq_get_mtt_size()