Searched refs:opa (Results 1 – 11 of 11) sorted by relevance
/Linux-v4.19/include/rdma/ |
D | ib_sa.h | 213 struct sa_path_rec_opa opa; member 245 struct sa_path_rec *opa) in path_conv_opa_to_ib() argument 247 if ((be32_to_cpu(opa->opa.dlid) >= in path_conv_opa_to_ib() 249 (be32_to_cpu(opa->opa.slid) >= in path_conv_opa_to_ib() 253 = OPA_MAKE_ID(be32_to_cpu(opa->opa.dlid)); in path_conv_opa_to_ib() 255 = opa->dgid.global.subnet_prefix; in path_conv_opa_to_ib() 257 = OPA_MAKE_ID(be32_to_cpu(opa->opa.slid)); in path_conv_opa_to_ib() 259 = opa->dgid.global.subnet_prefix; in path_conv_opa_to_ib() 264 ib->ib.dlid = htons(ntohl(opa->opa.dlid)); in path_conv_opa_to_ib() 265 ib->ib.slid = htons(ntohl(opa->opa.slid)); in path_conv_opa_to_ib() [all …]
|
D | ib_verbs.h | 925 struct opa_ah_attr opa; member 3939 attr->opa.dlid = dlid; in rdma_ah_set_dlid() 3947 return attr->opa.dlid; in rdma_ah_get_dlid() 3967 attr->opa.src_path_bits = src_path_bits; in rdma_ah_set_path_bits() 3975 return attr->opa.src_path_bits; in rdma_ah_get_path_bits() 3983 attr->opa.make_grd = make_grd; in rdma_ah_set_make_grd() 3989 return attr->opa.make_grd; in rdma_ah_get_make_grd()
|
/Linux-v4.19/drivers/infiniband/core/ |
D | uverbs_marshall.c | 39 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()
|
D | mad.c | 800 bool opa = rdma_cap_opa_mad(mad_agent_priv->qp_info->port_priv->device, in handle_outgoing_dr_smp() local 815 if (opa && smp->class_version == OPA_SM_CLASS_VERSION) { in handle_outgoing_dr_smp() 878 if (opa && smp->base_version == OPA_MGMT_BASE_VERSION) { in handle_outgoing_dr_smp() 935 if (opa) { in handle_outgoing_dr_smp() 1031 bool opa; in ib_create_send_mad() local 1036 opa = rdma_cap_opa_mad(mad_agent->device, mad_agent->port_num); in ib_create_send_mad() 1038 if (opa && base_version == OPA_MGMT_BASE_VERSION) in ib_create_send_mad() 1070 if (opa && base_version == OPA_MGMT_BASE_VERSION && in ib_create_send_mad() 1824 bool opa) in validate_mad() argument 1831 (!opa || mad_hdr->base_version != OPA_MGMT_BASE_VERSION)) { in validate_mad() [all …]
|
D | agent.h | 49 int port_num, int qpn, size_t resp_mad_len, bool opa);
|
D | sa_query.c | 80 struct opa_class_port_info opa; member 312 { OPA_PATH_REC_FIELD(opa.dlid), 316 { OPA_PATH_REC_FIELD(opa.slid), 320 { OPA_PATH_REC_FIELD(opa.raw_traffic), 352 { OPA_PATH_REC_FIELD(opa.l2_8B), 356 { OPA_PATH_REC_FIELD(opa.l2_10B), 360 { OPA_PATH_REC_FIELD(opa.l2_9B), 364 { OPA_PATH_REC_FIELD(opa.l2_16B), 372 { OPA_PATH_REC_FIELD(opa.qos_type), 376 { OPA_PATH_REC_FIELD(opa.qos_priority), [all …]
|
D | agent.c | 83 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()
|
D | cm.c | 1288 pri_ext = opa_is_extended_lid(pri_path->opa.dlid, in cm_format_req() 1289 pri_path->opa.slid); in cm_format_req() 1321 = OPA_MAKE_ID(be32_to_cpu(pri_path->opa.slid)); in cm_format_req() 1323 = OPA_MAKE_ID(be32_to_cpu(pri_path->opa.dlid)); in cm_format_req() 1349 alt_ext = opa_is_extended_lid(alt_path->opa.dlid, in cm_format_req() 1350 alt_path->opa.slid); in cm_format_req() 1356 = OPA_MAKE_ID(be32_to_cpu(alt_path->opa.slid)); in cm_format_req() 1358 = OPA_MAKE_ID(be32_to_cpu(alt_path->opa.dlid)); in cm_format_req() 3095 alt_ext = opa_is_extended_lid(alternate_path->opa.dlid, in cm_format_lap() 3096 alternate_path->opa.slid); in cm_format_lap() [all …]
|
D | mad_rmpp.c | 439 bool opa = rdma_cap_opa_mad(rmpp_recv->agent->qp_info->port_priv->device, in get_mad_len() local 445 if (opa && rmpp_recv->base_version == OPA_MGMT_BASE_VERSION) { in get_mad_len()
|
D | ucma.c | 1274 struct sa_path_rec opa; in ucma_set_ib_path() local 1276 sa_convert_path_ib_to_opa(&opa, &sa_path); in ucma_set_ib_path() 1277 ret = rdma_set_ib_path(ctx->cm_id, &opa); in ucma_set_ib_path()
|
/Linux-v4.19/drivers/block/drbd/ |
D | drbd_nl.c | 582 struct task_struct *opa; in conn_try_outdate_peer_async() local 591 opa = kthread_run(_try_outdate_peer_async, connection, "drbd_async_h"); in conn_try_outdate_peer_async() 592 if (IS_ERR(opa)) { in conn_try_outdate_peer_async()
|