Lines Matching refs:qp_attr
986 struct ib_qp_attr qp_attr; in srpt_ch_qp_rtr() local
990 qp_attr.qp_state = IB_QPS_RTR; in srpt_ch_qp_rtr()
991 ret = ib_cm_init_qp_attr(ch->cm_id, &qp_attr, &attr_mask); in srpt_ch_qp_rtr()
995 qp_attr.max_dest_rd_atomic = 4; in srpt_ch_qp_rtr()
997 ret = ib_modify_qp(qp, &qp_attr, attr_mask); in srpt_ch_qp_rtr()
1016 struct ib_qp_attr qp_attr; in srpt_ch_qp_rts() local
1020 qp_attr.qp_state = IB_QPS_RTS; in srpt_ch_qp_rts()
1021 ret = ib_cm_init_qp_attr(ch->cm_id, &qp_attr, &attr_mask); in srpt_ch_qp_rts()
1025 qp_attr.max_rd_atomic = 4; in srpt_ch_qp_rts()
1027 ret = ib_modify_qp(qp, &qp_attr, attr_mask); in srpt_ch_qp_rts()
1038 struct ib_qp_attr qp_attr; in srpt_ch_qp_err() local
1040 qp_attr.qp_state = IB_QPS_ERR; in srpt_ch_qp_err()
1041 return ib_modify_qp(ch->qp, &qp_attr, IB_QP_STATE); in srpt_ch_qp_err()