/freebsd-10-stable/contrib/ofed/libibverbs/include/infiniband/ |
H A D | sa-kern-abi.h | 44 __u8 dgid[16]; member in struct:ibv_kern_path_rec
|
H A D | sa.h | 42 union ibv_gid dgid; member in struct:ibv_sa_path_rec 104 union ibv_gid dgid; member in struct:ibv_path_record
|
H A D | driver.h | 168 union ibv_gid *dgid, uint8_t sgid_index,
|
H A D | verbs.h | 336 union ibv_gid dgid; member in struct:ibv_global_route 349 union ibv_gid dgid; member in struct:ibv_grh
|
/freebsd-10-stable/contrib/ofed/libibverbs/src/ |
H A D | marshall.c | 44 memcpy(dst->grh.dgid.raw, src->grh.dgid, sizeof dst->grh.dgid); 97 memcpy(dst->dgid.raw, src->dgid, sizeof dst->dgid); 122 memcpy(dst->dgid, src->dgid.raw, sizeof src->dgid);
|
H A D | verbs.c | 532 ah_attr->grh.dgid = grh->sgid; 534 ret = ibv_find_gid_index(context, port_num, &grh->dgid); 660 static uint16_t get_vlan_id(const union ibv_gid *dgid) argument 662 return dgid->raw[11] << 8 | dgid->raw[12]; 697 static int resolve_gid(const union ibv_gid *dgid, uint8_t *mac, uint8_t *is_mcast) argument 699 if (is_link_local_gid(dgid)) { 700 get_ll_mac(dgid, mac); 702 } else if (is_multicast_gid(dgid)) { 703 get_mcast_mac(dgid, ma 720 __ibv_resolve_eth_gid(const struct ibv_pd *pd, uint8_t port_num, union ibv_gid *dgid, uint8_t sgid_index, uint8_t mac[], uint16_t *vlan, uint8_t *tagged, uint8_t *is_mcast) argument [all...] |
H A D | cmd.c | 727 memcpy(attr->ah_attr.grh.dgid.raw, resp.dest.dgid, 16); 739 memcpy(attr->alt_ah_attr.grh.dgid.raw, resp.alt_dest.dgid, 16); 798 memcpy(cmd->dest.dgid, attr->ah_attr.grh.dgid.raw, 16); 811 memcpy(cmd->alt_dest.dgid, attr->alt_ah_attr.grh.dgid.raw, 16); 898 memcpy(cmd.dest.dgid, attr->ah_attr.grh.dgid [all...] |
/freebsd-10-stable/sys/ofed/drivers/infiniband/core/ |
H A D | uverbs_marshall.c | 38 memcpy(dst->grh.dgid, src->grh.dgid.raw, sizeof src->grh.dgid); 92 memcpy(dst->dgid, src->dgid.raw, sizeof src->dgid); 118 memcpy(dst->dgid.raw, src->dgid, sizeof dst->dgid);
|
H A D | local_sa.c | 395 path_info->rec.dgid.raw, &path_info->iter); 464 memcpy(&path_rec.dgid, &update->gid, sizeof path_rec.dgid); 755 union ib_gid *dgid, struct ib_sa_attr_iter *iter) 768 list = find_attr_list(&port->paths, dgid->raw); 951 ret = ib_create_path_iter(device, port_num, &rec->dgid, &iter); 754 ib_create_path_iter(struct ib_device *device, u8 port_num, union ib_gid *dgid, struct ib_sa_attr_iter *iter) argument
|
H A D | uverbs_cmd.c | 1249 memcpy(resp.dest.dgid, attr->ah_attr.grh.dgid.raw, 16); 1261 memcpy(resp.alt_dest.dgid, attr->alt_ah_attr.grh.dgid.raw, 16); 1339 memcpy(attr->ah_attr.grh.dgid.raw, cmd.dest.dgid, 16); 1351 memcpy(attr->alt_ah_attr.grh.dgid.raw, cmd.alt_dest.dgid, 16); 1813 memcpy(attr.grh.dgid.raw, cmd.attr.grh.dgid, 1 [all...] |
/freebsd-10-stable/sys/ofed/drivers/infiniband/hw/mlx4/ |
H A D | ah.c | 52 memcpy(&in6, ah_attr->grh.dgid.raw, sizeof in6); 78 memcpy(ah->av.ib.dgid, ah_attr->grh.dgid.raw, 16); 131 memcpy(ah->av.eth.dgid, ah_attr->grh.dgid.raw, 16); 192 memcpy(ah_attr->grh.dgid.raw, ah->av.ib.dgid, 16);
|
/freebsd-10-stable/sys/ofed/include/rdma/ |
H A D | ib_user_sa.h | 55 __u8 dgid[16]; member in struct:ib_user_path_rec
|
H A D | ib_addr.h | 299 static inline u16 rdma_get_vlan_id(union ib_gid *dgid) argument 303 vid = dgid->raw[11] << 8 | dgid->raw[12];
|
/freebsd-10-stable/sys/ofed/drivers/infiniband/hw/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-10-stable/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_ah.c | 39 memcpy(&in6, ah_attr->grh.dgid.raw, sizeof in6); 61 memcpy(ah->av.rgid, &ah_attr->grh.dgid, 16); 131 memcpy(&ah_attr->grh.dgid, ah->av.rgid, 16);
|
/freebsd-10-stable/contrib/ofed/management/opensm/opensm/ |
H A D | osm_sa_path_record.c | 788 p_pr->dgid = *p_dgid; 792 p_pr->dgid.unicast.prefix = 794 p_pr->dgid.unicast.interface_id = 1236 dest_guid = p_pr->dgid.unicast.interface_id; 1237 if (!ib_gid_is_link_local(&p_pr->dgid)) { 1238 if (!ib_gid_is_multicast(&p_pr->dgid) && 1239 ib_gid_get_subnet_prefix(&p_pr->dgid) != 1244 cl_ntoh64(p_pr->dgid.unicast.prefix)); 1255 if (r->prefix == p_pr->dgid.unicast.prefix || 1302 *p_dgid = p_pr->dgid; 1635 ib_gid_t dgid; local [all...] |
/freebsd-10-stable/contrib/ofed/libmthca/src/ |
H A D | ah.c | 152 memcpy(ah->av->dgid, attr->grh.dgid.raw, 16); 155 ah->av->dgid[3] = htonl(2);
|
/freebsd-10-stable/sys/ofed/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_main.c | 324 ret = memcmp(gid, path->pathrec.dgid.raw, 350 ret = memcmp(path->pathrec.dgid.raw, tpath->pathrec.dgid.raw, 394 memset(iter->path.pathrec.dgid.raw, 0, 16); 419 if (memcmp(iter->path.pathrec.dgid.raw, path->pathrec.dgid.raw, 452 path->pathrec.dgid.raw, ":"); 499 be16_to_cpu(pathrec->dlid), pathrec->dgid.raw, ":"); 502 status, path->pathrec.dgid.raw, ":"); 577 memcpy(path->pathrec.dgid [all...] |
H A D | ipoib_fs.c | 206 format_gid(&path.pathrec.dgid, gid_buf);
|
/freebsd-10-stable/contrib/ofed/librdmacm/include/rdma/ |
H A D | rdma_cma.h | 83 union ibv_gid dgid; member in struct:ib_addr
|
/freebsd-10-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-10-stable/contrib/ofed/management/infiniband-diags/src/ |
H A D | saquery.c | 232 inet_ntop(AF_INET6, p_pr->dgid.raw, gid_str, sizeof gid_str), 1560 " -O -U -c -s -g -m --src-to-dst <src:dst> --sgid-to-dgid <src-dst> " 1587 fprintf(stderr, " --sgid-to-dgid get a PathRecord for <sgid-dgid>\n" 1588 " where sgid and dgid are addresses in " 1626 char *sgid = NULL, *dgid = NULL; local 1654 {"sgid-to-dgid", 1, 0, 2}, 1691 dgid = strdup(tok2); 1694 "ERROR: --sgid-to-dgid <GID>-<GID>\n"); 1843 } else if (sgid && dgid) { [all...] |
/freebsd-10-stable/contrib/ofed/management/opensm/osmtest/ |
H A D | osmtest.c | 941 IN ib_gid_t dgid, 962 gid_pair.dest_gid = dgid; 971 sgid.unicast.interface_id, dgid.unicast.prefix, 972 dgid.unicast.interface_id); 1826 "dgid 0x%016" PRIx64 " 0x%016" 1840 cl_ntoh64(p_rec->dgid.unicast.prefix), 1841 cl_ntoh64(p_rec->dgid.unicast.interface_id), 3088 if ((p_path->comp.dgid.unicast.interface_id & 3089 p_path->rec.dgid.unicast.interface_id) != 3090 (p_path->comp.dgid 939 osmtest_get_path_rec_by_gid_pair(IN osmtest_t * const p_osmt, IN ib_gid_t sgid, IN ib_gid_t dgid, IN osmtest_req_context_t * p_context) argument [all...] |
/freebsd-10-stable/contrib/ofed/management/opensm/libvendor/ |
H A D | osm_vendor_ibumad_sa.c | 620 ib_gid_set_default(&path_rec.dgid, 639 memcpy(&path_rec.dgid, 689 /* Validate sgid/dgid counts against SA client limit */
|