Home
last modified time | relevance | path

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

/drivers/infiniband/core/
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()
Dmad.c617 bool opa = rdma_cap_opa_mad(mad_agent_priv->qp_info->port_priv->device, in handle_outgoing_dr_smp() local
632 if (opa && smp->class_version == OPA_SM_CLASS_VERSION) { in handle_outgoing_dr_smp()
699 if (opa && smp->base_version == OPA_MGMT_BASE_VERSION) { in handle_outgoing_dr_smp()
756 if (opa) { in handle_outgoing_dr_smp()
852 bool opa; in ib_create_send_mad() local
857 opa = rdma_cap_opa_mad(mad_agent->device, mad_agent->port_num); in ib_create_send_mad()
859 if (opa && base_version == OPA_MGMT_BASE_VERSION) in ib_create_send_mad()
891 if (opa && base_version == OPA_MGMT_BASE_VERSION && in ib_create_send_mad()
1627 bool opa) in validate_mad() argument
1634 (!opa || mad_hdr->base_version != OPA_MGMT_BASE_VERSION)) { in validate_mad()
[all …]
Dsa_query.c80 struct opa_class_port_info opa; member
311 { OPA_PATH_REC_FIELD(opa.dlid),
315 { OPA_PATH_REC_FIELD(opa.slid),
319 { OPA_PATH_REC_FIELD(opa.raw_traffic),
351 { OPA_PATH_REC_FIELD(opa.l2_8B),
355 { OPA_PATH_REC_FIELD(opa.l2_10B),
359 { OPA_PATH_REC_FIELD(opa.l2_9B),
363 { OPA_PATH_REC_FIELD(opa.l2_16B),
371 { OPA_PATH_REC_FIELD(opa.qos_type),
375 { OPA_PATH_REC_FIELD(opa.qos_priority),
[all …]
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()
Dagent.h49 int port_num, int qpn, size_t resp_mad_len, bool opa);
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()
Dcm.c1346 pri_ext = opa_is_extended_lid(pri_path->opa.dlid, in cm_format_req()
1347 pri_path->opa.slid); in cm_format_req()
1388 OPA_MAKE_ID(be32_to_cpu(pri_path->opa.slid)); in cm_format_req()
1391 OPA_MAKE_ID(be32_to_cpu(pri_path->opa.dlid)); in cm_format_req()
1425 alt_ext = opa_is_extended_lid(alt_path->opa.dlid, in cm_format_req()
1426 alt_path->opa.slid); in cm_format_req()
1436 OPA_MAKE_ID(be32_to_cpu(alt_path->opa.slid)); in cm_format_req()
1440 OPA_MAKE_ID(be32_to_cpu(alt_path->opa.dlid)); in cm_format_req()
Ducma.c1323 struct sa_path_rec opa; in ucma_set_ib_path() local
1325 sa_convert_path_ib_to_opa(&opa, &sa_path); in ucma_set_ib_path()
1327 ret = rdma_set_ib_path(ctx->cm_id, &opa); in ucma_set_ib_path()
/drivers/block/drbd/
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()