Lines Matching refs:qp_attr
278 struct ib_qp_attr qp_attr; in ipoib_cm_modify_rx_qp() local
281 qp_attr.qp_state = IB_QPS_INIT; in ipoib_cm_modify_rx_qp()
282 ret = ib_cm_init_qp_attr(cm_id, &qp_attr, &qp_attr_mask); in ipoib_cm_modify_rx_qp()
287 ret = ib_modify_qp(qp, &qp_attr, qp_attr_mask); in ipoib_cm_modify_rx_qp()
292 qp_attr.qp_state = IB_QPS_RTR; in ipoib_cm_modify_rx_qp()
293 ret = ib_cm_init_qp_attr(cm_id, &qp_attr, &qp_attr_mask); in ipoib_cm_modify_rx_qp()
298 qp_attr.rq_psn = psn; in ipoib_cm_modify_rx_qp()
299 ret = ib_modify_qp(qp, &qp_attr, qp_attr_mask); in ipoib_cm_modify_rx_qp()
313 qp_attr.qp_state = IB_QPS_RTS; in ipoib_cm_modify_rx_qp()
314 ret = ib_cm_init_qp_attr(cm_id, &qp_attr, &qp_attr_mask); in ipoib_cm_modify_rx_qp()
319 ret = ib_modify_qp(qp, &qp_attr, qp_attr_mask); in ipoib_cm_modify_rx_qp()
992 struct ib_qp_attr qp_attr; in ipoib_cm_rep_handler() local
1004 qp_attr.qp_state = IB_QPS_RTR; in ipoib_cm_rep_handler()
1005 ret = ib_cm_init_qp_attr(cm_id, &qp_attr, &qp_attr_mask); in ipoib_cm_rep_handler()
1011 qp_attr.rq_psn = 0 /* FIXME */; in ipoib_cm_rep_handler()
1012 ret = ib_modify_qp(p->qp, &qp_attr, qp_attr_mask); in ipoib_cm_rep_handler()
1018 qp_attr.qp_state = IB_QPS_RTS; in ipoib_cm_rep_handler()
1019 ret = ib_cm_init_qp_attr(cm_id, &qp_attr, &qp_attr_mask); in ipoib_cm_rep_handler()
1024 ret = ib_modify_qp(p->qp, &qp_attr, qp_attr_mask); in ipoib_cm_rep_handler()
1123 struct ib_qp_attr qp_attr; in ipoib_cm_modify_tx_init() local
1126 qp_attr.pkey_index = priv->pkey_index; in ipoib_cm_modify_tx_init()
1127 qp_attr.qp_state = IB_QPS_INIT; in ipoib_cm_modify_tx_init()
1128 qp_attr.qp_access_flags = IB_ACCESS_LOCAL_WRITE; in ipoib_cm_modify_tx_init()
1129 qp_attr.port_num = priv->port; in ipoib_cm_modify_tx_init()
1132 ret = ib_modify_qp(qp, &qp_attr, qp_attr_mask); in ipoib_cm_modify_tx_init()