Lines Matching refs:mqpcb
977 struct hcp_modify_qp_control_block *mqpcb;
1000 mqpcb = ehca_alloc_fw_ctrlblock(GFP_KERNEL);
1001 if (!mqpcb) {
1002 ehca_err(pd->device, "Could not get zeroed page for mqpcb "
1008 mqpcb->qp_state = EHCA_QPS_INIT;
1009 mqpcb->prim_phys_port = 1;
1015 mqpcb, my_qp->galpas.kernel);
1023 mqpcb->qp_enable = 1;
1029 mqpcb, my_qp->galpas.kernel);
1037 mqpcb->qp_state = EHCA_QPS_RTR;
1043 mqpcb, my_qp->galpas.kernel);
1051 ehca_free_fw_ctrlblock(mqpcb);
1057 ehca_free_fw_ctrlblock(mqpcb);
1245 struct hcp_modify_qp_control_block *mqpcb;
1257 mqpcb = ehca_alloc_fw_ctrlblock(GFP_ATOMIC);
1258 if (!mqpcb) {
1259 ehca_err(ibqp->device, "Could not get zeroed page for mqpcb "
1267 mqpcb, my_qp->galpas.kernel);
1278 qp_cur_state = ehca2ib_qp_state(mqpcb->qp_state);
1284 mqpcb->qp_state, my_qp, ibqp->qp_num);
1342 mqpcb->qp_state = ib2ehca_qp_state(qp_new_state);
1343 if (mqpcb->qp_state)
1386 mqpcb->send_grh_flag = 1;
1423 mqpcb->rdma_atomic_ctrl = 3;
1430 mqpcb->rdma_nr_atomic_resp_res = 1; /* default to 1 */
1443 mqpcb->prim_p_key_idx = attr->pkey_index;
1480 mqpcb->prim_phys_port = attr->port_num;
1484 mqpcb->qkey = attr->qkey;
1488 mqpcb->dlid = attr->ah_attr.dlid;
1490 mqpcb->source_path_bits = attr->ah_attr.src_path_bits;
1492 mqpcb->service_level = attr->ah_attr.sl;
1495 if (ehca_calc_ipd(shca, mqpcb->prim_phys_port,
1497 &mqpcb->max_static_rate)) {
1514 mqpcb->send_grh_flag = 1;
1516 mqpcb->source_gid_idx = attr->ah_attr.grh.sgid_index;
1521 mqpcb->dest_gid.byte[cnt] =
1525 mqpcb->flow_label = attr->ah_attr.grh.flow_label;
1527 mqpcb->hop_limit = attr->ah_attr.grh.hop_limit;
1529 mqpcb->traffic_class = attr->ah_attr.grh.traffic_class;
1538 mqpcb->path_mtu = attr->path_mtu;
1542 mqpcb->timeout = attr->timeout;
1546 mqpcb->retry_count = attr->retry_cnt;
1550 mqpcb->rnr_retry_count = attr->rnr_retry;
1554 mqpcb->receive_psn = attr->rq_psn;
1558 mqpcb->rdma_nr_atomic_resp_res = attr->max_dest_rd_atomic < 3 ?
1564 mqpcb->rdma_atomic_outst_dest_qp = attr->max_rd_atomic < 3 ?
1580 mqpcb->alt_phys_port = attr->alt_port_num;
1589 mqpcb->alt_p_key_idx = attr->alt_pkey_index;
1591 mqpcb->timeout_al = attr->alt_timeout;
1592 mqpcb->dlid_al = attr->alt_ah_attr.dlid;
1593 mqpcb->source_path_bits_al = attr->alt_ah_attr.src_path_bits;
1594 mqpcb->service_level_al = attr->alt_ah_attr.sl;
1596 if (ehca_calc_ipd(shca, mqpcb->alt_phys_port,
1598 &mqpcb->max_static_rate_al)) {
1604 mqpcb->retry_count_al = mqpcb->retry_count;
1605 mqpcb->rnr_retry_count_al = mqpcb->rnr_retry_count;
1628 mqpcb->send_grh_flag_al = 1;
1631 mqpcb->dest_gid_al.byte[cnt] =
1633 mqpcb->source_gid_idx_al =
1635 mqpcb->flow_label_al = attr->alt_ah_attr.grh.flow_label;
1636 mqpcb->hop_limit_al = attr->alt_ah_attr.grh.hop_limit;
1637 mqpcb->traffic_class_al =
1650 mqpcb->min_rnr_nak_timer_field = attr->min_rnr_timer;
1656 mqpcb->send_psn = attr->sq_psn;
1661 mqpcb->dest_qp_nr = attr->dest_qp_num;
1673 mqpcb->path_migration_state = attr->path_mig_state + 1;
1681 mqpcb->max_nr_outst_send_wr = attr->cap.max_send_wr+1;
1684 mqpcb->max_nr_outst_recv_wr = attr->cap.max_recv_wr+1;
1691 ehca_dmp(mqpcb, 4*70, "qp_num=%x", ibqp->qp_num);
1697 mqpcb, my_qp->galpas.kernel);
1718 mqpcb->qp_enable = 1;
1719 mqpcb->qp_state = EHCA_QPS_INIT;
1727 mqpcb,
1774 ehca_free_fw_ctrlblock(mqpcb);
2040 struct hcp_modify_qp_control_block *mqpcb;
2045 mqpcb = ehca_alloc_fw_ctrlblock(GFP_KERNEL);
2046 if (!mqpcb) {
2047 ehca_err(ibsrq->device, "Could not get zeroed page for mqpcb "
2058 mqpcb->curr_srq_limit = attr->srq_limit;
2059 mqpcb->qp_aff_asyn_ev_log_reg =
2072 ehca_dmp(mqpcb, 4*70, "qp_num=%x", my_qp->real_qp_num);
2075 NULL, update_mask, mqpcb,
2086 ehca_free_fw_ctrlblock(mqpcb);