ib_cm 292 drivers/infiniband/ulp/srp/ib_srp.c be16_to_cpu(target->ib_cm.pkey), ib_cm 323 drivers/infiniband/ulp/srp/ib_srp.c if (ch->ib_cm.cm_id) ib_cm 324 drivers/infiniband/ulp/srp/ib_srp.c ib_destroy_cm_id(ch->ib_cm.cm_id); ib_cm 325 drivers/infiniband/ulp/srp/ib_srp.c ch->ib_cm.cm_id = new_cm_id; ib_cm 328 drivers/infiniband/ulp/srp/ib_srp.c ch->ib_cm.path.rec_type = SA_PATH_REC_TYPE_OPA; ib_cm 330 drivers/infiniband/ulp/srp/ib_srp.c ch->ib_cm.path.rec_type = SA_PATH_REC_TYPE_IB; ib_cm 331 drivers/infiniband/ulp/srp/ib_srp.c ch->ib_cm.path.sgid = target->sgid; ib_cm 332 drivers/infiniband/ulp/srp/ib_srp.c ch->ib_cm.path.dgid = target->ib_cm.orig_dgid; ib_cm 333 drivers/infiniband/ulp/srp/ib_srp.c ch->ib_cm.path.pkey = target->ib_cm.pkey; ib_cm 334 drivers/infiniband/ulp/srp/ib_srp.c ch->ib_cm.path.service_id = target->ib_cm.service_id; ib_cm 689 drivers/infiniband/ulp/srp/ib_srp.c if (ch->ib_cm.cm_id) { ib_cm 690 drivers/infiniband/ulp/srp/ib_srp.c ib_destroy_cm_id(ch->ib_cm.cm_id); ib_cm 691 drivers/infiniband/ulp/srp/ib_srp.c ch->ib_cm.cm_id = NULL; ib_cm 748 drivers/infiniband/ulp/srp/ib_srp.c ch->ib_cm.path = *pathrec; ib_cm 757 drivers/infiniband/ulp/srp/ib_srp.c ch->ib_cm.path.numb_path = 1; ib_cm 761 drivers/infiniband/ulp/srp/ib_srp.c ch->ib_cm.path_query_id = ib_sa_path_rec_get(&srp_sa_client, ib_cm 764 drivers/infiniband/ulp/srp/ib_srp.c &ch->ib_cm.path, ib_cm 773 drivers/infiniband/ulp/srp/ib_srp.c ch, &ch->ib_cm.path_query); ib_cm 774 drivers/infiniband/ulp/srp/ib_srp.c if (ch->ib_cm.path_query_id < 0) ib_cm 775 drivers/infiniband/ulp/srp/ib_srp.c return ch->ib_cm.path_query_id; ib_cm 784 drivers/infiniband/ulp/srp/ib_srp.c ch->ib_cm.path.sgid.raw, ch->ib_cm.path.dgid.raw, ib_cm 785 drivers/infiniband/ulp/srp/ib_srp.c be16_to_cpu(target->ib_cm.pkey), ib_cm 786 drivers/infiniband/ulp/srp/ib_srp.c be64_to_cpu(target->ib_cm.service_id)); ib_cm 900 drivers/infiniband/ulp/srp/ib_srp.c req->ib_param.primary_path = &ch->ib_cm.path; ib_cm 902 drivers/infiniband/ulp/srp/ib_srp.c req->ib_param.service_id = target->ib_cm.service_id; ib_cm 954 drivers/infiniband/ulp/srp/ib_srp.c status = ib_send_cm_req(ch->ib_cm.cm_id, &req->ib_param); ib_cm 993 drivers/infiniband/ulp/srp/ib_srp.c if (ch->ib_cm.cm_id) ib_cm 994 drivers/infiniband/ulp/srp/ib_srp.c ret = ib_send_cm_dreq(ch->ib_cm.cm_id, ib_cm 2631 drivers/infiniband/ulp/srp/ib_srp.c sa_path_set_dlid(&ch->ib_cm.path, dlid); ib_cm 2632 drivers/infiniband/ulp/srp/ib_srp.c ch->ib_cm.path.pkey = cpi->redirect_pkey; ib_cm 2634 drivers/infiniband/ulp/srp/ib_srp.c memcpy(ch->ib_cm.path.dgid.raw, cpi->redirect_gid, 16); ib_cm 2641 drivers/infiniband/ulp/srp/ib_srp.c union ib_gid *dgid = &ch->ib_cm.path.dgid; ib_cm 2682 drivers/infiniband/ulp/srp/ib_srp.c target->ib_cm.orig_dgid.raw, ib_cm 3089 drivers/infiniband/ulp/srp/ib_srp.c be64_to_cpu(target->ib_cm.service_id)); ib_cm 3099 drivers/infiniband/ulp/srp/ib_srp.c return sprintf(buf, "0x%04x\n", be16_to_cpu(target->ib_cm.pkey)); ib_cm 3118 drivers/infiniband/ulp/srp/ib_srp.c return sprintf(buf, "%pI6\n", ch->ib_cm.path.dgid.raw); ib_cm 3128 drivers/infiniband/ulp/srp/ib_srp.c return sprintf(buf, "%pI6\n", target->ib_cm.orig_dgid.raw); ib_cm 3561 drivers/infiniband/ulp/srp/ib_srp.c ret = hex2bin(target->ib_cm.orig_dgid.raw, p, 16); ib_cm 3572 drivers/infiniband/ulp/srp/ib_srp.c target->ib_cm.pkey = cpu_to_be16(token); ib_cm 3587 drivers/infiniband/ulp/srp/ib_srp.c target->ib_cm.service_id = cpu_to_be64(ull); ib_cm 3955 drivers/infiniband/ulp/srp/ib_srp.c target->ib_cm.orig_dgid.raw); ib_cm 3995 drivers/infiniband/ulp/srp/ib_srp.c be16_to_cpu(target->ib_cm.pkey), ib_cm 3996 drivers/infiniband/ulp/srp/ib_srp.c be64_to_cpu(target->ib_cm.service_id), ib_cm 3998 drivers/infiniband/ulp/srp/ib_srp.c target->ib_cm.orig_dgid.raw); ib_cm 179 drivers/infiniband/ulp/srp/ib_srp.h } ib_cm; ib_cm 243 drivers/infiniband/ulp/srp/ib_srp.h } ib_cm; ib_cm 228 drivers/infiniband/ulp/srpt/ib_srpt.c ib_cm_notify(ch->ib_cm.cm_id, event->event); ib_cm 1159 drivers/infiniband/ulp/srpt/ib_srpt.c ret = ib_cm_init_qp_attr(ch->ib_cm.cm_id, &qp_attr, &attr_mask); ib_cm 1189 drivers/infiniband/ulp/srpt/ib_srpt.c ret = ib_cm_init_qp_attr(ch->ib_cm.cm_id, &qp_attr, &attr_mask); ib_cm 1947 drivers/infiniband/ulp/srpt/ib_srpt.c ret = ib_send_cm_dreq(ch->ib_cm.cm_id, NULL, 0); ib_cm 1949 drivers/infiniband/ulp/srpt/ib_srpt.c ret = ib_send_cm_drep(ch->ib_cm.cm_id, NULL, 0); ib_cm 2112 drivers/infiniband/ulp/srpt/ib_srpt.c ib_destroy_cm_id(ch->ib_cm.cm_id); ib_cm 2165 drivers/infiniband/ulp/srpt/ib_srpt.c struct ib_cm_rep_param ib_cm; ib_cm 2237 drivers/infiniband/ulp/srpt/ib_srpt.c ch->ib_cm.cm_id = ib_cm_id; ib_cm 2413 drivers/infiniband/ulp/srpt/ib_srpt.c rep_param->ib_cm.qp_num = ch->qp->qp_num; ib_cm 2414 drivers/infiniband/ulp/srpt/ib_srpt.c rep_param->ib_cm.private_data = (void *)rsp; ib_cm 2415 drivers/infiniband/ulp/srpt/ib_srpt.c rep_param->ib_cm.private_data_len = sizeof(*rsp); ib_cm 2416 drivers/infiniband/ulp/srpt/ib_srpt.c rep_param->ib_cm.rnr_retry_count = 7; ib_cm 2417 drivers/infiniband/ulp/srpt/ib_srpt.c rep_param->ib_cm.flow_control = 1; ib_cm 2418 drivers/infiniband/ulp/srpt/ib_srpt.c rep_param->ib_cm.failover_accepted = 0; ib_cm 2419 drivers/infiniband/ulp/srpt/ib_srpt.c rep_param->ib_cm.srq = 1; ib_cm 2420 drivers/infiniband/ulp/srpt/ib_srpt.c rep_param->ib_cm.responder_resources = 4; ib_cm 2421 drivers/infiniband/ulp/srpt/ib_srpt.c rep_param->ib_cm.initiator_depth = 4; ib_cm 2433 drivers/infiniband/ulp/srpt/ib_srpt.c ret = ib_send_cm_rep(ib_cm_id, &rep_param->ib_cm); ib_cm 300 drivers/infiniband/ulp/srpt/ib_srpt.h } ib_cm;