Lines Matching refs:qp_attr
860 ibt_qp_query_attr_t qp_attr;
863 if (ibt_query_qp(ibt_qp, &qp_attr) == IBT_SUCCESS)
865 qp_attr.qp_info.qp_state;
891 ibt_qp_query_attr_t qp_attr;
905 if (ibt_query_qp(rc_chan, &qp_attr) == IBT_SUCCESS) {
1058 ibt_qp_query_attr_t qp_attr;
1070 retval = ibt_query_qp(ud_chan, &qp_attr);
1076 if (qp_attr.qp_info.qp_state != IBT_STATE_ERROR) {
1079 ud_chan, qp_attr.qp_info.qp_state);
1080 ud_chan->ch_current_state = qp_attr.qp_info.qp_state;
1085 qp_attr.qp_info.qp_state = IBT_STATE_RESET;
1086 qp_attr.qp_info.qp_trans = ud_chan->ch_qp.qp_type;
1087 retval = ibt_modify_qp(ud_chan, IBT_CEP_SET_STATE, &qp_attr.qp_info,
1098 qp_attr.qp_info.qp_transport.ud.ud_port = hca_port_num;
1099 qp_attr.qp_info.qp_transport.ud.ud_qkey = qkey;
1100 qp_attr.qp_info.qp_transport.ud.ud_pkey_ix = pkey_ix;
1101 retval = ibt_initialize_qp(ud_chan, &qp_attr.qp_info);