Home
last modified time | relevance | path

Searched refs:opa (Results 1 – 11 of 11) sorted by relevance

/linux/include/rdma/
A Dib_sa.h220 if ((be32_to_cpu(opa->opa.dlid) >= in path_conv_opa_to_ib()
222 (be32_to_cpu(opa->opa.slid) >= in path_conv_opa_to_ib()
226 = OPA_MAKE_ID(be32_to_cpu(opa->opa.dlid)); in path_conv_opa_to_ib()
230 = OPA_MAKE_ID(be32_to_cpu(opa->opa.slid)); in path_conv_opa_to_ib()
237 ib->ib.dlid = htons(ntohl(opa->opa.dlid)); in path_conv_opa_to_ib()
238 ib->ib.slid = htons(ntohl(opa->opa.slid)); in path_conv_opa_to_ib()
241 ib->ib.raw_traffic = opa->opa.raw_traffic; in path_conv_opa_to_ib()
257 opa->opa.slid = slid; in path_conv_ib_to_opa()
258 opa->opa.dlid = dlid; in path_conv_ib_to_opa()
260 opa->opa.raw_traffic = ib->ib.raw_traffic; in path_conv_ib_to_opa()
[all …]
A Dib_verbs.h931 struct opa_ah_attr opa; member
4424 attr->opa.dlid = dlid; in rdma_ah_set_dlid()
4432 return attr->opa.dlid; in rdma_ah_get_dlid()
4452 attr->opa.src_path_bits = src_path_bits; in rdma_ah_set_path_bits()
4460 return attr->opa.src_path_bits; in rdma_ah_get_path_bits()
4468 attr->opa.make_grd = make_grd; in rdma_ah_set_make_grd()
4474 return attr->opa.make_grd; in rdma_ah_get_make_grd()
/linux/drivers/infiniband/core/
A Duverbs_marshall.c39 struct rdma_ah_attr *opa) in rdma_ah_conv_opa_to_ib() argument
45 *ib = *opa; in rdma_ah_conv_opa_to_ib()
50 if (ib_query_port(dev, opa->port_num, &port_attr)) { in rdma_ah_conv_opa_to_ib()
58 rdma_ah_set_interface_id(ib, OPA_MAKE_ID(rdma_ah_get_dlid(opa))); in rdma_ah_conv_opa_to_ib()
A Dmad.c754 if (opa) { in handle_outgoing_dr_smp()
849 bool opa; in ib_create_send_mad() local
1621 bool opa) in validate_mad() argument
1914 size_t *resp_len, bool opa) in generate_unmatched_resp() argument
2010 bool opa) in handle_smi() argument
2035 bool opa; in ib_mad_recv_done() local
2097 response, opa) in ib_mad_recv_done()
2110 if (opa) in ib_mad_recv_done()
2122 mad_size, opa); in ib_mad_recv_done()
2141 qp_info->qp->qp_num, mad_size, opa); in ib_mad_recv_done()
[all …]
A Dsa_query.c80 struct opa_class_port_info opa; member
305 { OPA_PATH_REC_FIELD(opa.dlid),
309 { OPA_PATH_REC_FIELD(opa.slid),
345 { OPA_PATH_REC_FIELD(opa.l2_8B),
349 { OPA_PATH_REC_FIELD(opa.l2_10B),
353 { OPA_PATH_REC_FIELD(opa.l2_9B),
357 { OPA_PATH_REC_FIELD(opa.l2_16B),
365 { OPA_PATH_REC_FIELD(opa.qos_type),
1439 struct sa_path_rec opa; in ib_sa_path_rec_callback() local
1813 memcpy(&info->data.opa, &rec, in ib_sa_classport_info_rec_callback()
[all …]
A Dagent.c83 int port_num, int qpn, size_t resp_mad_len, bool opa) in agent_send_response() argument
109 if (opa && mad_hdr->base_version != OPA_MGMT_BASE_VERSION) in agent_send_response()
A Dagent.h49 int port_num, int qpn, size_t resp_mad_len, bool opa);
A Dmad_rmpp.c431 bool opa = rdma_cap_opa_mad(rmpp_recv->agent->qp_info->port_priv->device, in get_mad_len() local
437 if (opa && rmpp_recv->base_version == OPA_MGMT_BASE_VERSION) { in get_mad_len()
A Dcm.c1324 pri_ext = opa_is_extended_lid(pri_path->opa.dlid, in cm_format_req()
1325 pri_path->opa.slid); in cm_format_req()
1366 OPA_MAKE_ID(be32_to_cpu(pri_path->opa.slid)); in cm_format_req()
1369 OPA_MAKE_ID(be32_to_cpu(pri_path->opa.dlid)); in cm_format_req()
1403 alt_ext = opa_is_extended_lid(alt_path->opa.dlid, in cm_format_req()
1404 alt_path->opa.slid); in cm_format_req()
1414 OPA_MAKE_ID(be32_to_cpu(alt_path->opa.slid)); in cm_format_req()
1418 OPA_MAKE_ID(be32_to_cpu(alt_path->opa.dlid)); in cm_format_req()
A Ducma.c1320 struct sa_path_rec opa; in ucma_set_ib_path() local
1322 sa_convert_path_ib_to_opa(&opa, &sa_path); in ucma_set_ib_path()
1324 ret = rdma_set_ib_path(ctx->cm_id, &opa); in ucma_set_ib_path()
/linux/drivers/block/drbd/
A Ddrbd_nl.c598 struct task_struct *opa; in conn_try_outdate_peer_async() local
607 opa = kthread_run(_try_outdate_peer_async, connection, "drbd_async_h"); in conn_try_outdate_peer_async()
608 if (IS_ERR(opa)) { in conn_try_outdate_peer_async()

Completed in 56 milliseconds