to_mlx4_state
if (mlx4_qp_modify(dev->dev, NULL, to_mlx4_state(qp->state),
if (mlx4_qp_modify(dev->dev, NULL, to_mlx4_state(qp->state),
context->flags = cpu_to_be32((to_mlx4_state(new_state) << 28) |
err = mlx4_qp_modify(dev->dev, &qp->mtt, to_mlx4_state(cur_state),
to_mlx4_state(new_state), context, optpar,