Lines Matching refs:qp_attr
987 struct ib_qp_attr qp_attr; in srpt_ch_qp_rtr() local
991 qp_attr.qp_state = IB_QPS_RTR; in srpt_ch_qp_rtr()
992 ret = ib_cm_init_qp_attr(ch->cm_id, &qp_attr, &attr_mask); in srpt_ch_qp_rtr()
996 qp_attr.max_dest_rd_atomic = 4; in srpt_ch_qp_rtr()
998 ret = ib_modify_qp(qp, &qp_attr, attr_mask); in srpt_ch_qp_rtr()
1017 struct ib_qp_attr qp_attr; in srpt_ch_qp_rts() local
1021 qp_attr.qp_state = IB_QPS_RTS; in srpt_ch_qp_rts()
1022 ret = ib_cm_init_qp_attr(ch->cm_id, &qp_attr, &attr_mask); in srpt_ch_qp_rts()
1026 qp_attr.max_rd_atomic = 4; in srpt_ch_qp_rts()
1028 ret = ib_modify_qp(qp, &qp_attr, attr_mask); in srpt_ch_qp_rts()
1039 struct ib_qp_attr qp_attr; in srpt_ch_qp_err() local
1041 qp_attr.qp_state = IB_QPS_ERR; in srpt_ch_qp_err()
1042 return ib_modify_qp(ch->qp, &qp_attr, IB_QP_STATE); in srpt_ch_qp_err()