opa 599 drivers/block/drbd/drbd_nl.c struct task_struct *opa; opa 608 drivers/block/drbd/drbd_nl.c opa = kthread_run(_try_outdate_peer_async, connection, "drbd_async_h"); opa 609 drivers/block/drbd/drbd_nl.c if (IS_ERR(opa)) { opa 83 drivers/infiniband/core/agent.c int port_num, int qpn, size_t resp_mad_len, bool opa) opa 109 drivers/infiniband/core/agent.c if (opa && mad_hdr->base_version != OPA_MGMT_BASE_VERSION) opa 49 drivers/infiniband/core/agent.h int port_num, int qpn, size_t resp_mad_len, bool opa); opa 1281 drivers/infiniband/core/cm.c pri_ext = opa_is_extended_lid(pri_path->opa.dlid, opa 1282 drivers/infiniband/core/cm.c pri_path->opa.slid); opa 1314 drivers/infiniband/core/cm.c = OPA_MAKE_ID(be32_to_cpu(pri_path->opa.slid)); opa 1316 drivers/infiniband/core/cm.c = OPA_MAKE_ID(be32_to_cpu(pri_path->opa.dlid)); opa 1342 drivers/infiniband/core/cm.c alt_ext = opa_is_extended_lid(alt_path->opa.dlid, opa 1343 drivers/infiniband/core/cm.c alt_path->opa.slid); opa 1349 drivers/infiniband/core/cm.c = OPA_MAKE_ID(be32_to_cpu(alt_path->opa.slid)); opa 1351 drivers/infiniband/core/cm.c = OPA_MAKE_ID(be32_to_cpu(alt_path->opa.dlid)); opa 3088 drivers/infiniband/core/cm.c alt_ext = opa_is_extended_lid(alternate_path->opa.dlid, opa 3089 drivers/infiniband/core/cm.c alternate_path->opa.slid); opa 3105 drivers/infiniband/core/cm.c = OPA_MAKE_ID(be32_to_cpu(alternate_path->opa.slid)); opa 3107 drivers/infiniband/core/cm.c = OPA_MAKE_ID(be32_to_cpu(alternate_path->opa.dlid)); opa 826 drivers/infiniband/core/mad.c bool opa = rdma_cap_opa_mad(mad_agent_priv->qp_info->port_priv->device, opa 841 drivers/infiniband/core/mad.c if (opa && smp->class_version == OPA_SM_CLASS_VERSION) { opa 908 drivers/infiniband/core/mad.c if (opa && smp->base_version == OPA_MGMT_BASE_VERSION) { opa 965 drivers/infiniband/core/mad.c if (opa) { opa 1061 drivers/infiniband/core/mad.c bool opa; opa 1066 drivers/infiniband/core/mad.c opa = rdma_cap_opa_mad(mad_agent->device, mad_agent->port_num); opa 1068 drivers/infiniband/core/mad.c if (opa && base_version == OPA_MGMT_BASE_VERSION) opa 1100 drivers/infiniband/core/mad.c if (opa && base_version == OPA_MGMT_BASE_VERSION && opa 1855 drivers/infiniband/core/mad.c bool opa) opa 1862 drivers/infiniband/core/mad.c (!opa || mad_hdr->base_version != OPA_MGMT_BASE_VERSION)) { opa 1864 drivers/infiniband/core/mad.c mad_hdr->base_version, opa ? "(opa)" : ""); opa 2148 drivers/infiniband/core/mad.c size_t *resp_len, bool opa) opa 2164 drivers/infiniband/core/mad.c if (opa && recv_hdr->base_version == OPA_MGMT_BASE_VERSION) { opa 2244 drivers/infiniband/core/mad.c bool opa) opa 2248 drivers/infiniband/core/mad.c if (opa && mad_hdr->base_version == OPA_MGMT_BASE_VERSION && opa 2269 drivers/infiniband/core/mad.c bool opa; opa 2285 drivers/infiniband/core/mad.c opa = rdma_cap_opa_mad(qp_info->port_priv->device, opa 2300 drivers/infiniband/core/mad.c if (opa && ((struct ib_mad_hdr *)(recv->mad))->base_version == OPA_MGMT_BASE_VERSION) { opa 2315 drivers/infiniband/core/mad.c if (!validate_mad((const struct ib_mad_hdr *)recv->mad, qp_info, opa)) opa 2334 drivers/infiniband/core/mad.c response, opa) opa 2347 drivers/infiniband/core/mad.c if (opa) opa 2359 drivers/infiniband/core/mad.c mad_size, opa); opa 2375 drivers/infiniband/core/mad.c generate_unmatched_resp(recv, response, &mad_size, opa)) { opa 2378 drivers/infiniband/core/mad.c qp_info->qp->qp_num, mad_size, opa); opa 2751 drivers/infiniband/core/mad.c bool opa; opa 2756 drivers/infiniband/core/mad.c opa = rdma_cap_opa_mad(mad_agent_priv->qp_info->port_priv->device, opa 2790 drivers/infiniband/core/mad.c if (opa && base_version == OPA_MGMT_BASE_VERSION) { opa 440 drivers/infiniband/core/mad_rmpp.c bool opa = rdma_cap_opa_mad(rmpp_recv->agent->qp_info->port_priv->device, opa 446 drivers/infiniband/core/mad_rmpp.c if (opa && rmpp_recv->base_version == OPA_MGMT_BASE_VERSION) { opa 80 drivers/infiniband/core/sa_query.c struct opa_class_port_info opa; opa 311 drivers/infiniband/core/sa_query.c { OPA_PATH_REC_FIELD(opa.dlid), opa 315 drivers/infiniband/core/sa_query.c { OPA_PATH_REC_FIELD(opa.slid), opa 319 drivers/infiniband/core/sa_query.c { OPA_PATH_REC_FIELD(opa.raw_traffic), opa 351 drivers/infiniband/core/sa_query.c { OPA_PATH_REC_FIELD(opa.l2_8B), opa 355 drivers/infiniband/core/sa_query.c { OPA_PATH_REC_FIELD(opa.l2_10B), opa 359 drivers/infiniband/core/sa_query.c { OPA_PATH_REC_FIELD(opa.l2_9B), opa 363 drivers/infiniband/core/sa_query.c { OPA_PATH_REC_FIELD(opa.l2_16B), opa 371 drivers/infiniband/core/sa_query.c { OPA_PATH_REC_FIELD(opa.qos_type), opa 375 drivers/infiniband/core/sa_query.c { OPA_PATH_REC_FIELD(opa.qos_priority), opa 1432 drivers/infiniband/core/sa_query.c ret = opa_get_cpi_capmask2(&port->classport_info.data.opa) & opa 1495 drivers/infiniband/core/sa_query.c struct sa_path_rec opa; opa 1497 drivers/infiniband/core/sa_query.c memset(&opa, 0, sizeof(struct sa_path_rec)); opa 1498 drivers/infiniband/core/sa_query.c sa_convert_path_ib_to_opa(&opa, &rec); opa 1499 drivers/infiniband/core/sa_query.c query->callback(status, &opa, query->context); opa 2016 drivers/infiniband/core/sa_query.c memcpy(&info->data.opa, &rec, opa 2017 drivers/infiniband/core/sa_query.c sizeof(info->data.opa)); opa 1305 drivers/infiniband/core/ucma.c struct sa_path_rec opa; opa 1307 drivers/infiniband/core/ucma.c sa_convert_path_ib_to_opa(&opa, &sa_path); opa 1309 drivers/infiniband/core/ucma.c ret = rdma_set_ib_path(ctx->cm_id, &opa); opa 39 drivers/infiniband/core/uverbs_marshall.c struct rdma_ah_attr *opa) opa 45 drivers/infiniband/core/uverbs_marshall.c *ib = *opa; opa 50 drivers/infiniband/core/uverbs_marshall.c if (ib_query_port(dev, opa->port_num, &port_attr)) { opa 58 drivers/infiniband/core/uverbs_marshall.c rdma_ah_set_interface_id(ib, OPA_MAKE_ID(rdma_ah_get_dlid(opa))); opa 213 include/rdma/ib_sa.h struct sa_path_rec_opa opa; opa 245 include/rdma/ib_sa.h struct sa_path_rec *opa) opa 247 include/rdma/ib_sa.h if ((be32_to_cpu(opa->opa.dlid) >= opa 249 include/rdma/ib_sa.h (be32_to_cpu(opa->opa.slid) >= opa 253 include/rdma/ib_sa.h = OPA_MAKE_ID(be32_to_cpu(opa->opa.dlid)); opa 255 include/rdma/ib_sa.h = opa->dgid.global.subnet_prefix; opa 257 include/rdma/ib_sa.h = OPA_MAKE_ID(be32_to_cpu(opa->opa.slid)); opa 259 include/rdma/ib_sa.h = opa->dgid.global.subnet_prefix; opa 264 include/rdma/ib_sa.h ib->ib.dlid = htons(ntohl(opa->opa.dlid)); opa 265 include/rdma/ib_sa.h ib->ib.slid = htons(ntohl(opa->opa.slid)); opa 267 include/rdma/ib_sa.h ib->service_id = opa->service_id; opa 268 include/rdma/ib_sa.h ib->ib.raw_traffic = opa->opa.raw_traffic; opa 271 include/rdma/ib_sa.h static inline void path_conv_ib_to_opa(struct sa_path_rec *opa, opa 284 include/rdma/ib_sa.h opa->opa.slid = slid; opa 285 include/rdma/ib_sa.h opa->opa.dlid = dlid; opa 286 include/rdma/ib_sa.h opa->service_id = ib->service_id; opa 287 include/rdma/ib_sa.h opa->opa.raw_traffic = ib->ib.raw_traffic; opa 597 include/rdma/ib_sa.h rec->opa.slid = cpu_to_be32(slid); opa 605 include/rdma/ib_sa.h rec->opa.dlid = cpu_to_be32(dlid); opa 614 include/rdma/ib_sa.h rec->opa.raw_traffic = raw_traffic; opa 622 include/rdma/ib_sa.h return rec->opa.slid; opa 631 include/rdma/ib_sa.h return rec->opa.dlid; opa 640 include/rdma/ib_sa.h return rec->opa.raw_traffic; opa 908 include/rdma/ib_verbs.h struct opa_ah_attr opa; opa 4373 include/rdma/ib_verbs.h attr->opa.dlid = dlid; opa 4381 include/rdma/ib_verbs.h return attr->opa.dlid; opa 4401 include/rdma/ib_verbs.h attr->opa.src_path_bits = src_path_bits; opa 4409 include/rdma/ib_verbs.h return attr->opa.src_path_bits; opa 4417 include/rdma/ib_verbs.h attr->opa.make_grd = make_grd; opa 4423 include/rdma/ib_verbs.h return attr->opa.make_grd;