Searched refs:to_mlx4_state (Results 1 – 1 of 1) sorted by relevance
900 static enum mlx4_qp_state to_mlx4_state(enum ib_qp_state state) in to_mlx4_state() function988 if (mlx4_qp_modify(dev->dev, NULL, to_mlx4_state(qp->state), in destroy_qp_common()1470 context->flags = cpu_to_be32((to_mlx4_state(new_state) << 28) | in __mlx4_ib_modify_qp()1763 err = mlx4_qp_modify(dev->dev, &qp->mtt, to_mlx4_state(cur_state), in __mlx4_ib_modify_qp()1764 to_mlx4_state(new_state), context, optpar, in __mlx4_ib_modify_qp()