Searched refs:mlx5_state (Results 1 – 1 of 1) sorted by relevance
4292 static inline enum ib_qp_state to_ib_qp_state(enum mlx5_qp_state mlx5_state) in to_ib_qp_state() argument4294 switch (mlx5_state) { in to_ib_qp_state()4492 int mlx5_state; in query_qp_attr() local4508 mlx5_state = be32_to_cpu(context->flags) >> 28; in query_qp_attr()4510 qp->state = to_ib_qp_state(mlx5_state); in query_qp_attr()4533 qp_attr->sq_draining = mlx5_state == MLX5_QP_STATE_SQ_DRAINING; in query_qp_attr()