Searched refs:log_rq_sz (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | wq.c | 104 u8 log_rq_sz = MLX5_GET(qpc, qpc, log_rq_size); in mlx5_wq_qp_create() local 120 wq_get_byte_sz(log_rq_sz, log_rq_stride) + in mlx5_wq_qp_create() 128 mlx5_init_fbc(wq_ctrl->buf.frags, log_rq_stride, log_rq_sz, &wq->rq.fbc); in mlx5_wq_qp_create() 130 rq_byte_size = wq_get_byte_sz(log_rq_sz, log_rq_stride); in mlx5_wq_qp_create()
|
/linux-6.1.9/drivers/vfio/pci/mlx5/ |
D | cmd.c | 762 u8 log_rq_sz; in mlx5vf_create_rc_qp() local 774 log_rq_sz = ilog2(qp->rq.wqe_cnt); in mlx5vf_create_rc_qp() 781 wq_get_byte_sz(log_rq_sz, log_rq_stride), in mlx5vf_create_rc_qp() 785 mlx5_init_fbc(qp->buf.frags, log_rq_stride, log_rq_sz, &qp->rq.fbc); in mlx5vf_create_rc_qp() 812 MLX5_SET(qpc, qpc, log_rq_size, log_rq_sz); in mlx5vf_create_rc_qp()
|