/freebsd-11-stable/contrib/ofed/libibverbs/ |
H A D | marshall.c | 42 memcpy(dst->grh.dgid.raw, src->grh.dgid, sizeof dst->grh.dgid); 95 memcpy(dst->dgid.raw, src->dgid, sizeof dst->dgid); 120 memcpy(dst->dgid, src->dgid.raw, sizeof src->dgid);
|
H A D | sa.h | 43 union ibv_gid dgid; member in struct:ibv_sa_path_rec 105 union ibv_gid dgid; member in struct:ibv_path_record
|
H A D | verbs.c | 812 (struct in6_addr *)&ah_attr->grh.dgid); 830 if (grh->dgid.raw[0] == 0xFF) { 835 ah_attr->grh.dgid = grh->sgid; 845 ret = ibv_find_gid_index(context, port_num, &grh->dgid, 981 dst_family = ipv6_addr_v4mapped((struct in6_addr *)attr->grh.dgid.raw) ? 986 if (create_peer_from_gid(dst_family, attr->grh.dgid.raw, &dst))
|
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/ |
H A D | ib_uverbs_marshall.c | 43 memcpy(dst->grh.dgid, src->grh.dgid.raw, sizeof src->grh.dgid); 101 memcpy(dst->dgid, src->dgid.raw, sizeof src->dgid); 127 memcpy(dst->dgid.raw, src->dgid, sizeof dst->dgid);
|
H A D | ib_verbs.c | 459 union ib_gid *sgid, union ib_gid *dgid) 465 if (!sgid || !dgid) 478 (struct in6_addr *)dgid); 482 *dgid = hdr->ibgrh.dgid; 500 union ib_gid dgid; local 512 &sgid, &dgid); 525 &dgid, gid_type, &gid_index); 529 ret = ib_get_cached_gid(device, port_num, gid_index, &dgid, &dgid_attr); 536 ret = rdma_addr_find_l2_eth_by_grh(&dgid, 457 get_gids_from_rdma_hdr(const union rdma_network_hdr *hdr, enum rdma_network_type net_type, union ib_gid *sgid, union ib_gid *dgid) argument [all...] |
H A D | ib_sa_query.c | 163 { PATH_REC_FIELD(dgid), 534 ah_attr.grh.dgid.global.subnet_prefix = cpu_to_be64(port_attr.subnet_prefix); 535 ah_attr.grh.dgid.global.interface_id = cpu_to_be64(IB_SA_WELL_KNOWN_GUID); 681 rdma_gid2ip(&dgid_addr._sockaddr, &rec->dgid); 720 ah_attr->grh.dgid = rec->dgid;
|
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_ah.c | 60 memcpy(ah->av.ib.dgid, ah_attr->grh.dgid.raw, 16); 86 memcpy(&in6, ah_attr->grh.dgid.raw, sizeof(in6)); 125 memcpy(ah->av.eth.dgid, ah_attr->grh.dgid.raw, 16); 192 memcpy(ah_attr->grh.dgid.raw, ah->av.ib.dgid, 16);
|
/freebsd-11-stable/sys/ofed/include/uapi/rdma/ |
H A D | ib_user_sa.h | 63 __u8 dgid[16]; member in struct:ib_user_path_rec
|
/freebsd-11-stable/sys/dev/mthca/ |
H A D | mthca_av.c | 66 __be32 dgid[4]; member in struct:mthca_av 215 memcpy(av->dgid, ah_attr->grh.dgid.raw, 16); 218 av->dgid[3] = cpu_to_be32(2); 286 ah->av->dgid, 16); 318 memcpy(attr->grh.dgid.raw, ah->av->dgid, 16);
|
/freebsd-11-stable/sys/ofed/include/rdma/ |
H A D | ib_addr.h | 138 const union ib_gid *dgid, 345 static inline u16 rdma_get_vlan_id(union ib_gid *dgid) argument 349 vid = dgid->raw[11] << 8 | dgid->raw[12];
|
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_ah.c | 36 memcpy(ah->av.rgid, &ah_attr->grh.dgid, 16); 115 memcpy(&ah_attr->grh.dgid, ah->av.rgid, 16);
|
/freebsd-11-stable/contrib/ofed/infiniband-diags/src/ |
H A D | ibping.c | 55 static ibmad_gid_t dgid; variable 188 if (!inet_pton(AF_INET6, optarg, &dgid)) { 189 printf("dgid format is wrong!\n"); 213 {"dgid", 25, 1, NULL, "remote gid (IPv6 format)"}, 255 memcpy(&portid.gid, &dgid, sizeof(portid.gid));
|
H A D | ibsysstat.c | 55 static ibmad_gid_t dgid; variable 290 if (!inet_pton(AF_INET6, optarg, &dgid)) { 291 fprintf(stderr, "dgid format is wrong!\n"); 315 {"dgid", 25, 1, NULL, "remote gid (IPv6 format)"}, 359 memcpy(&portid.gid, &dgid, sizeof(portid.gid));
|
H A D | ibccquery.c | 56 static ibmad_gid_t dgid; variable 349 if (!inet_pton(AF_INET6, optarg, &dgid)) { 350 fprintf(stderr, "dgid format is wrong!\n"); 374 {"dgid", 25, 1, NULL, "remote gid (IPv6 format)"}, 420 memcpy(&portid.gid, &dgid, sizeof(portid.gid));
|
H A D | vendstat.c | 64 static ibmad_gid_t dgid; variable 340 if (!inet_pton(AF_INET6, optarg, &dgid)) { 341 fprintf(stderr, "dgid format is wrong!\n"); 372 {"dgid", 25, 1, NULL, "remote gid (IPv6 format)"}, 411 memcpy(&portid.gid, &dgid, sizeof(portid.gid));
|
H A D | ibccconfig.c | 59 static ibmad_gid_t dgid; variable 554 if (!inet_pton(AF_INET6, optarg, &dgid)) { 555 fprintf(stderr, "dgid format is wrong!\n"); 579 {"dgid", 25, 1, NULL, "remote gid (IPv6 format)"}, 632 memcpy(&portid.gid, &dgid, sizeof(portid.gid));
|
H A D | saquery.c | 72 ib_gid_t sgid, dgid, gid, mgid; member in struct:query_params 235 inet_ntop(AF_INET6, p_pr->dgid.raw, gid_str, sizeof gid_str), 1063 memcpy(gid, &p_pr->dgid, 16); 1080 CHECK_AND_SET_GID(p->dgid, pr.dgid, PR, DGID); 1575 if (inet_pton(AF_INET6, dst_addr, &p->dgid) <= 0) 1657 if (inet_pton(AF_INET6, optarg, &p->dgid) <= 0) 1771 {"sa-dgid", 24, 1, "<gid>", 1775 {"sgid-to-dgid", 2, 1, "<sgid-dgid>", "ge [all...] |
/freebsd-11-stable/contrib/ofed/opensm/opensm/ |
H A D | osm_sa_path_record.c | 895 p_pr->dgid = *p_dgid; 899 p_pr->dgid.unicast.prefix = 901 p_pr->dgid.unicast.interface_id = p_dest_alias_guid->alias_guid; 1357 if (!ib_gid_is_link_local(&p_pr->dgid) && 1358 !ib_gid_is_multicast(&p_pr->dgid) && 1359 ib_gid_get_subnet_prefix(&p_pr->dgid) != 1361 dest_guid = find_router(sa, p_pr->dgid.unicast.prefix); 1367 inet_ntop(AF_INET6, p_pr->dgid.raw, 1373 *pp_dgid = &p_pr->dgid; 1375 dest_guid = p_pr->dgid [all...] |
/freebsd-11-stable/sys/dev/qlnx/qlnxe/ |
H A D | ecore_rdma.h | 185 union ecore_gid dgid; /* GRH DGID; IPv4/6 Destination IP */ member in struct:ecore_rdma_qp
|
H A D | ecore_roce_api.h | 453 union ecore_gid dgid; /* GRH DGID; IPv4/6 Destination IP */ member in struct:ecore_rdma_modify_qp_in_params 486 union ecore_gid dgid; /* GRH DGID; IPv4/6 Destination IP */ member in struct:ecore_rdma_query_qp_out_params
|
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_main.c | 386 ret = memcmp(gid, path->pathrec.dgid.raw, 412 ret = memcmp(path->pathrec.dgid.raw, tpath->pathrec.dgid.raw, 456 memset(iter->path.pathrec.dgid.raw, 0, 16); 481 if (memcmp(iter->path.pathrec.dgid.raw, path->pathrec.dgid.raw, 514 path->pathrec.dgid.raw, ":"); 561 be16_to_cpu(pathrec->dlid), pathrec->dgid.raw, ":"); 564 status, path->pathrec.dgid.raw, ":"); 639 memcpy(path->pathrec.dgid [all...] |
H A D | ipoib_fs.c | 209 format_gid(&path.pathrec.dgid, gid_buf);
|
/freebsd-11-stable/contrib/ofed/libmlx4/ |
H A D | verbs.c | 1154 if (link_local_gid(&attr->grh.dgid)) { 1155 memcpy(ah->mac, &attr->grh.dgid.raw[8], 3); 1156 memcpy(ah->mac + 3, &attr->grh.dgid.raw[13], 3); 1159 vid = get_vlan_id(&attr->grh.dgid); 1160 } else if (is_multicast_gid(&attr->grh.dgid)) { 1164 ah->mac[i] = attr->grh.dgid.raw[i + 10]; 1220 memcpy(ah->av.dgid, attr->grh.dgid.raw, 16);
|
/freebsd-11-stable/contrib/ofed/librdmacm/ |
H A D | acm.c | 199 memcpy(&dst->sib_addr, &path->dgid, 16); 419 memcpy(&data->info.path.dgid,
|
H A D | rdma_cma.h | 90 union ibv_gid dgid; member in struct:rdma_ib_addr
|