Lines Matching refs:rq_state
3706 MLX5_SET(modify_rq_in, in, rq_state, rq->state); in modify_raw_packet_qp_rq()
3819 int rq_state; in modify_raw_packet_qp() local
3825 rq_state = MLX5_RQC_STATE_RDY; in modify_raw_packet_qp()
3829 rq_state = MLX5_RQC_STATE_ERR; in modify_raw_packet_qp()
3833 rq_state = MLX5_RQC_STATE_RST; in modify_raw_packet_qp()
3856 err = modify_raw_packet_qp_rq(dev, rq, rq_state, raw_qp_param, in modify_raw_packet_qp()
4721 u8 *rq_state) in query_raw_packet_qp_rq_state() argument
4738 *rq_state = MLX5_GET(rqc, rqc, state); in query_raw_packet_qp_rq_state()
4739 rq->state = *rq_state; in query_raw_packet_qp_rq_state()
4746 static int sqrq_state_to_qp_state(u8 sq_state, u8 rq_state, in sqrq_state_to_qp_state() argument
4776 *qp_state = sqrq_trans[rq_state][sq_state]; in sqrq_state_to_qp_state()
4781 qp->raw_packet_qp.rq.base.mqp.qpn, rq_state); in sqrq_state_to_qp_state()
4800 u8 rq_state = MLX5_RQ_STATE_NA; in query_raw_packet_qp_state() local
4809 err = query_raw_packet_qp_rq_state(dev, rq, &rq_state); in query_raw_packet_qp_state()
4814 return sqrq_state_to_qp_state(sq_state, rq_state, qp, in query_raw_packet_qp_state()
5509 MLX5_SET(modify_rq_in, in, rq_state, curr_wq_state); in mlx5_ib_modify_wq()