Lines Matching refs:sq_state
3842 MLX5_SET(modify_sq_in, in, sq_state, sq->state); in modify_raw_packet_qp_sq()
3908 int sq_state; in modify_raw_packet_qp() local
3914 sq_state = MLX5_SQC_STATE_RST; in modify_raw_packet_qp()
3918 sq_state = MLX5_SQC_STATE_ERR; in modify_raw_packet_qp()
3922 sq_state = MLX5_SQC_STATE_RST; in modify_raw_packet_qp()
3930 sq_state = MLX5_SQC_STATE_RDY; in modify_raw_packet_qp()
3966 err = modify_raw_packet_qp_sq(dev->mdev, sq, sq_state, in modify_raw_packet_qp()
4821 u8 *sq_state) in query_raw_packet_qp_sq_state() argument
4825 err = mlx5_core_query_sq_state(dev->mdev, sq->base.mqp.qpn, sq_state); in query_raw_packet_qp_sq_state()
4828 sq->state = *sq_state; in query_raw_packet_qp_sq_state()
4861 static int sqrq_state_to_qp_state(u8 sq_state, u8 rq_state, in sqrq_state_to_qp_state() argument
4891 *qp_state = sqrq_trans[rq_state][sq_state]; in sqrq_state_to_qp_state()
4895 qp->raw_packet_qp.sq.base.mqp.qpn, sq_state, in sqrq_state_to_qp_state()
4914 u8 sq_state = MLX5_SQ_STATE_NA; in query_raw_packet_qp_state() local
4918 err = query_raw_packet_qp_sq_state(dev, sq, &sq_state); in query_raw_packet_qp_state()
4929 return sqrq_state_to_qp_state(sq_state, rq_state, qp, in query_raw_packet_qp_state()