ib_qp_state_to_pvrdma
cmd->attrs.qp_state = ib_qp_state_to_pvrdma(attr->qp_state);
ib_qp_state_to_pvrdma(attr->cur_qp_state);