dgid 726 drivers/infiniband/core/addr.c } sgid, dgid; dgid 734 drivers/infiniband/core/addr.c rdma_gid2ip((struct sockaddr *)&dgid, &rec->dgid); dgid 736 drivers/infiniband/core/addr.c if (sgid._sockaddr.sa_family != dgid._sockaddr.sa_family) dgid 745 drivers/infiniband/core/addr.c ret = addr_resolve((struct sockaddr *)&sgid, (struct sockaddr *)&dgid, dgid 810 drivers/infiniband/core/addr.c const union ib_gid *dgid, dgid 823 drivers/infiniband/core/addr.c rdma_gid2ip((struct sockaddr *)&dgid_addr, dgid); dgid 231 drivers/infiniband/core/cm.c union ib_gid dgid; dgid 810 drivers/infiniband/core/cm.c union ib_gid *port_gid = &cm_id_priv->av.dgid; dgid 823 drivers/infiniband/core/cm.c cmp = memcmp(port_gid, &cur_cm_id_priv->av.dgid, dgid 1311 drivers/infiniband/core/cm.c req_msg->primary_remote_gid = pri_path->dgid; dgid 1346 drivers/infiniband/core/cm.c req_msg->alt_remote_gid = alt_path->dgid; dgid 1585 drivers/infiniband/core/cm.c primary_path->dgid = req_msg->primary_local_gid; dgid 1606 drivers/infiniband/core/cm.c alt_path->dgid = req_msg->alt_local_gid; dgid 3102 drivers/infiniband/core/cm.c lap_msg->alt_remote_gid = alternate_path->dgid; dgid 3198 drivers/infiniband/core/cm.c path->dgid = lap_msg->alt_local_gid; dgid 3567 drivers/infiniband/core/cm.c cm_id_priv->av.dgid.global.subnet_prefix = cpu_to_be64(wc->slid); dgid 3568 drivers/infiniband/core/cm.c cm_id_priv->av.dgid.global.interface_id = 0; dgid 814 drivers/infiniband/core/cma.c union ib_gid gid, sgid, *dgid; dgid 822 drivers/infiniband/core/cma.c dgid = (union ib_gid *) &addr->sib_addr; dgid 839 drivers/infiniband/core/cma.c if (!memcmp(&gid, dgid, sizeof(gid))) { dgid 847 drivers/infiniband/core/cma.c dgid->global.subnet_prefix) && dgid 1266 drivers/infiniband/core/cma.c memcpy(&ib->sib_addr, &path->dgid, 16); dgid 2056 drivers/infiniband/core/cma.c rdma_addr_set_dgid(&rt->addr.dev_addr, &rt->path_rec[0].dgid); dgid 2239 drivers/infiniband/core/cma.c union ib_gid *dgid) dgid 2246 drivers/infiniband/core/cma.c if (dgid) dgid 2247 drivers/infiniband/core/cma.c memset(dgid, 0, sizeof(*dgid)); dgid 2254 drivers/infiniband/core/cma.c if (dgid) dgid 2255 drivers/infiniband/core/cma.c rdma_ip2gid((struct sockaddr *)&addr->dst_addr, dgid); dgid 2259 drivers/infiniband/core/cma.c if (dgid) dgid 2260 drivers/infiniband/core/cma.c rdma_addr_get_dgid(&addr->dev_addr, dgid); dgid 2592 drivers/infiniband/core/cma.c rdma_addr_get_dgid(dev_addr, &path_rec.dgid); dgid 2883 drivers/infiniband/core/cma.c &route->path_rec->dgid); dgid 380 drivers/infiniband/core/core_priv.h const union ib_gid *dgid, dgid 1951 drivers/infiniband/core/mad.c return !memcmp(sgid.raw, rwc->recv_buf.grh->dgid.raw, dgid 1959 drivers/infiniband/core/mad.c return !memcmp(rdma_ah_read_grh(&attr)->dgid.raw, dgid 201 drivers/infiniband/core/sa_query.c { PATH_REC_FIELD(dgid), dgid 303 drivers/infiniband/core/sa_query.c { OPA_PATH_REC_FIELD(dgid), dgid 782 drivers/infiniband/core/sa_query.c sizeof(sa_rec->dgid), &sa_rec->dgid); dgid 1235 drivers/infiniband/core/sa_query.c rdma_move_grh_sgid_attr(ah_attr, &rec->dgid, dgid 784 drivers/infiniband/core/ucma.c (union ib_gid *) &resp->ib_route[0].dgid); dgid 810 drivers/infiniband/core/ucma.c (union ib_gid *)&resp->ib_route[0].dgid); dgid 834 drivers/infiniband/core/ucma.c rdma_addr_get_dgid(dev_addr, (union ib_gid *) &resp->ib_route[0].dgid); dgid 277 drivers/infiniband/core/user_mad.c memcpy(packet->mad.hdr.gid, &grh->dgid, 16); dgid 1638 drivers/infiniband/core/uverbs_cmd.c memcpy(uverb_attr->dgid, grh->dgid.raw, 16); dgid 1748 drivers/infiniband/core/uverbs_cmd.c rdma_ah_set_dgid_raw(rdma_attr, uverb_attr->dgid); dgid 2434 drivers/infiniband/core/uverbs_cmd.c rdma_ah_set_dgid_raw(&attr, cmd.attr.grh.dgid); dgid 85 drivers/infiniband/core/uverbs_marshall.c memcpy(dst->grh.dgid, grh->dgid.raw, sizeof(grh->dgid)); dgid 139 drivers/infiniband/core/uverbs_marshall.c memcpy(dst->dgid, src->dgid.raw, sizeof(src->dgid)); dgid 182 drivers/infiniband/core/uverbs_marshall.c (ib_is_opa_gid((union ib_gid *)src->dgid))) { dgid 185 drivers/infiniband/core/uverbs_marshall.c dlid = opa_get_lid_from_gid((union ib_gid *)src->dgid); dgid 191 drivers/infiniband/core/uverbs_marshall.c memcpy(dst->dgid.raw, src->dgid, sizeof dst->dgid); dgid 692 drivers/infiniband/core/verbs.c union ib_gid *sgid, union ib_gid *dgid) dgid 698 drivers/infiniband/core/verbs.c if (!sgid || !dgid) dgid 711 drivers/infiniband/core/verbs.c (struct in6_addr *)dgid); dgid 715 drivers/infiniband/core/verbs.c *dgid = hdr->ibgrh.dgid; dgid 739 drivers/infiniband/core/verbs.c if (rdma_link_local_addr((struct in6_addr *)grh->dgid.raw) && dgid 741 drivers/infiniband/core/verbs.c rdma_get_ll_mac((struct in6_addr *)grh->dgid.raw, dgid 746 drivers/infiniband/core/verbs.c ret = rdma_addr_find_l2_eth_by_grh(&sgid_attr->gid, &grh->dgid, dgid 776 drivers/infiniband/core/verbs.c union ib_gid dgid; dgid 791 drivers/infiniband/core/verbs.c &sgid, &dgid); dgid 806 drivers/infiniband/core/verbs.c vlan_id, &dgid, dgid 831 drivers/infiniband/core/verbs.c if (dgid.global.interface_id != dgid 834 drivers/infiniband/core/verbs.c device, &dgid, IB_GID_TYPE_IB, port_num, NULL); dgid 868 drivers/infiniband/core/verbs.c void rdma_move_grh_sgid_attr(struct rdma_ah_attr *attr, union ib_gid *dgid, dgid 872 drivers/infiniband/core/verbs.c rdma_ah_set_grh(attr, dgid, flow_label, sgid_attr->index, hop_limit, dgid 1590 drivers/infiniband/core/verbs.c if (rdma_is_multicast_addr((struct in6_addr *)ah_attr->grh.dgid.raw)) { dgid 1591 drivers/infiniband/core/verbs.c if (ipv6_addr_v4mapped((struct in6_addr *)ah_attr->grh.dgid.raw)) { dgid 1594 drivers/infiniband/core/verbs.c memcpy(&addr, ah_attr->grh.dgid.raw + 12, 4); dgid 1597 drivers/infiniband/core/verbs.c ipv6_eth_mc_map((struct in6_addr *)ah_attr->grh.dgid.raw, dgid 673 drivers/infiniband/hw/bnxt_re/ib_verbs.c memcpy(ah->qplib_ah.dgid.data, grh->dgid.raw, dgid 732 drivers/infiniband/hw/bnxt_re/ib_verbs.c rdma_ah_set_dgid_raw(ah_attr, ah->qplib_ah.dgid.data); dgid 913 drivers/infiniband/hw/bnxt_re/ib_verbs.c memcpy(ah->qplib_ah.dgid.data, &sgid.raw, dgid 1620 drivers/infiniband/hw/bnxt_re/ib_verbs.c memcpy(qp->qplib_qp.ah.dgid.data, grh->dgid.raw, dgid 1621 drivers/infiniband/hw/bnxt_re/ib_verbs.c sizeof(qp->qplib_qp.ah.dgid.data)); dgid 1805 drivers/infiniband/hw/bnxt_re/ib_verbs.c rdma_ah_set_dgid_raw(&qp_attr->ah_attr, qplib_qp->ah.dgid.data); dgid 1847 drivers/infiniband/hw/bnxt_re/ib_verbs.c union ib_gid dgid; dgid 1876 drivers/infiniband/hw/bnxt_re/ib_verbs.c memcpy(&dgid.raw, &qplib_ah->dgid, 16); dgid 1914 drivers/infiniband/hw/bnxt_re/ib_verbs.c memcpy(qp->qp1_hdr.grh.destination_gid.raw, qplib_ah->dgid.data, dgid 1926 drivers/infiniband/hw/bnxt_re/ib_verbs.c memcpy(&qp->qp1_hdr.ip4.daddr, qplib_ah->dgid.data + 12, 4); dgid 1219 drivers/infiniband/hw/bnxt_re/qplib_fp.c memcpy(temp32, qp->ah.dgid.data, sizeof(struct bnxt_qplib_gid)); dgid 1220 drivers/infiniband/hw/bnxt_re/qplib_fp.c req.dgid[0] = cpu_to_le32(temp32[0]); dgid 1221 drivers/infiniband/hw/bnxt_re/qplib_fp.c req.dgid[1] = cpu_to_le32(temp32[1]); dgid 1222 drivers/infiniband/hw/bnxt_re/qplib_fp.c req.dgid[2] = cpu_to_le32(temp32[2]); dgid 1223 drivers/infiniband/hw/bnxt_re/qplib_fp.c req.dgid[3] = cpu_to_le32(temp32[3]); dgid 1322 drivers/infiniband/hw/bnxt_re/qplib_fp.c temp32[0] = le32_to_cpu(sb->dgid[0]); dgid 1323 drivers/infiniband/hw/bnxt_re/qplib_fp.c temp32[1] = le32_to_cpu(sb->dgid[1]); dgid 1324 drivers/infiniband/hw/bnxt_re/qplib_fp.c temp32[2] = le32_to_cpu(sb->dgid[2]); dgid 1325 drivers/infiniband/hw/bnxt_re/qplib_fp.c temp32[3] = le32_to_cpu(sb->dgid[3]); dgid 1326 drivers/infiniband/hw/bnxt_re/qplib_fp.c memcpy(qp->ah.dgid.data, temp32, sizeof(qp->ah.dgid.data)); dgid 509 drivers/infiniband/hw/bnxt_re/qplib_sp.c memcpy(temp32, ah->dgid.data, sizeof(struct bnxt_qplib_gid)); dgid 510 drivers/infiniband/hw/bnxt_re/qplib_sp.c req.dgid[0] = cpu_to_le32(temp32[0]); dgid 511 drivers/infiniband/hw/bnxt_re/qplib_sp.c req.dgid[1] = cpu_to_le32(temp32[1]); dgid 512 drivers/infiniband/hw/bnxt_re/qplib_sp.c req.dgid[2] = cpu_to_le32(temp32[2]); dgid 513 drivers/infiniband/hw/bnxt_re/qplib_sp.c req.dgid[3] = cpu_to_le32(temp32[3]); dgid 93 drivers/infiniband/hw/bnxt_re/qplib_sp.h struct bnxt_qplib_gid dgid; dgid 1160 drivers/infiniband/hw/bnxt_re/roce_hsi.h __le32 dgid[4]; dgid 1679 drivers/infiniband/hw/bnxt_re/roce_hsi.h __le32 dgid[4]; dgid 2181 drivers/infiniband/hw/bnxt_re/roce_hsi.h __le32 dgid[4]; dgid 1707 drivers/infiniband/hw/efa/efa_verbs.c memcpy(params.dest_addr, ah_attr->grh.dgid.raw, dgid 1714 drivers/infiniband/hw/efa/efa_verbs.c memcpy(ah->id, ah_attr->grh.dgid.raw, sizeof(ah->id)); dgid 2403 drivers/infiniband/hw/hfi1/hfi.h if (ib_is_opa_gid(&grh->dgid)) dgid 2404 drivers/infiniband/hw/hfi1/hfi.h dlid = opa_get_lid_from_gid(&grh->dgid); dgid 2439 drivers/infiniband/hw/hfi1/hfi.h return (ib_is_opa_gid(&rdma_ah_read_grh(attr)->dgid)) ? dgid 2477 drivers/infiniband/hw/hfi1/hfi.h grh->dgid.global.subnet_prefix = ibp->rvp.gid_prefix; dgid 2478 drivers/infiniband/hw/hfi1/hfi.h grh->dgid.global.interface_id = dgid 269 drivers/infiniband/hw/hfi1/mad.c grh->dgid.global.subnet_prefix = dgid 271 drivers/infiniband/hw/hfi1/mad.c grh->dgid.global.interface_id = OPA_MAKE_ID(dlid); dgid 95 drivers/infiniband/hw/hfi1/ruc.c if (!gid_ok(&packet->grh->dgid, ibp->rvp.gid_prefix, dgid 100 drivers/infiniband/hw/hfi1/ruc.c grh->dgid.global.subnet_prefix, dgid 101 drivers/infiniband/hw/hfi1/ruc.c grh->dgid.global.interface_id)) dgid 132 drivers/infiniband/hw/hfi1/ruc.c if (!gid_ok(&packet->grh->dgid, ibp->rvp.gid_prefix, dgid 137 drivers/infiniband/hw/hfi1/ruc.c grh->dgid.global.subnet_prefix, dgid 138 drivers/infiniband/hw/hfi1/ruc.c grh->dgid.global.interface_id)) dgid 185 drivers/infiniband/hw/hfi1/ruc.c hdr->dgid = grh->dgid; dgid 208 drivers/infiniband/hw/hfi1/ud.c if (ib_is_opa_gid(&grd.dgid)) dgid 209 drivers/infiniband/hw/hfi1/ud.c grd.dgid.global.interface_id = dgid 658 drivers/infiniband/hw/hfi1/ud.c grh->sgid = old_grh->dgid; dgid 659 drivers/infiniband/hw/hfi1/ud.c grh->dgid = old_grh->sgid; dgid 716 drivers/infiniband/hw/hfi1/ud.c grh->sgid = old_grh->dgid; dgid 717 drivers/infiniband/hw/hfi1/ud.c grh->dgid = old_grh->sgid; dgid 514 drivers/infiniband/hw/hfi1/verbs.c &packet->grh->dgid, dgid 79 drivers/infiniband/hw/hns/hns_roce_ah.c memcpy(ah->av.dgid, grh->dgid.raw, HNS_ROCE_GID_SIZE); dgid 96 drivers/infiniband/hw/hns/hns_roce_ah.c rdma_ah_set_dgid_raw(ah_attr, ah->av.dgid); dgid 583 drivers/infiniband/hw/hns/hns_roce_device.h u8 dgid[HNS_ROCE_GID_SIZE]; dgid 199 drivers/infiniband/hw/hns/hns_roce_hw_v1.c memcpy(&ud_sq_wqe->dgid[0], &ah->av.dgid[0], GID_LEN); dgid 710 drivers/infiniband/hw/hns/hns_roce_hw_v1.c union ib_gid dgid; dgid 823 drivers/infiniband/hw/hns/hns_roce_hw_v1.c memcpy(&dgid.raw, &subnet_prefix, sizeof(u64)); dgid 824 drivers/infiniband/hw/hns/hns_roce_hw_v1.c memcpy(&dgid.raw[8], hr_dev->dev_addr[port], 3); dgid 825 drivers/infiniband/hw/hns/hns_roce_hw_v1.c memcpy(&dgid.raw[13], hr_dev->dev_addr[port] + 3, 3); dgid 826 drivers/infiniband/hw/hns/hns_roce_hw_v1.c dgid.raw[11] = 0xff; dgid 827 drivers/infiniband/hw/hns/hns_roce_hw_v1.c dgid.raw[12] = 0xfe; dgid 828 drivers/infiniband/hw/hns/hns_roce_hw_v1.c dgid.raw[8] ^= 2; dgid 829 drivers/infiniband/hw/hns/hns_roce_hw_v1.c rdma_ah_set_dgid_raw(&attr.ah_attr, dgid.raw); dgid 2985 drivers/infiniband/hw/hns/hns_roce_hw_v1.c memcpy(context->dgid, grh->dgid.raw, dgid 2986 drivers/infiniband/hw/hns/hns_roce_hw_v1.c sizeof(grh->dgid.raw)); dgid 3544 drivers/infiniband/hw/hns/hns_roce_hw_v1.c memcpy(grh->dgid.raw, context->dgid, dgid 3545 drivers/infiniband/hw/hns/hns_roce_hw_v1.c sizeof(grh->dgid.raw)); dgid 448 drivers/infiniband/hw/hns/hns_roce_hw_v1.h unsigned char dgid[GID_LEN]; dgid 637 drivers/infiniband/hw/hns/hns_roce_hw_v1.h u8 dgid[16]; dgid 432 drivers/infiniband/hw/hns/hns_roce_hw_v2.c memcpy(&ud_sq_wqe->dgid[0], &ah->av.dgid[0], dgid 4147 drivers/infiniband/hw/hns/hns_roce_hw_v2.c memcpy(context->dgid, grh->dgid.raw, sizeof(grh->dgid.raw)); dgid 4148 drivers/infiniband/hw/hns/hns_roce_hw_v2.c memset(qpc_mask->dgid, 0, sizeof(grh->dgid.raw)); dgid 4607 drivers/infiniband/hw/hns/hns_roce_hw_v2.c memcpy(grh->dgid.raw, context.dgid, sizeof(grh->dgid.raw)); dgid 470 drivers/infiniband/hw/hns/hns_roce_hw_v2.h u8 dgid[GID_LEN_V2]; dgid 1083 drivers/infiniband/hw/hns/hns_roce_hw_v2.h u8 dgid[GID_LEN_V2]; dgid 62 drivers/infiniband/hw/mlx4/ah.c memcpy(ah->av.ib.dgid, grh->dgid.raw, 16); dgid 89 drivers/infiniband/hw/mlx4/ah.c memcpy(&in6, grh->dgid.raw, sizeof(in6)); dgid 138 drivers/infiniband/hw/mlx4/ah.c memcpy(ah->av.eth.dgid, grh->dgid.raw, 16); dgid 227 drivers/infiniband/hw/mlx4/ah.c rdma_ah_set_dgid_raw(ah_attr, ah->av.ib.dgid); dgid 487 drivers/infiniband/hw/mlx4/mad.c union ib_gid *dgid) dgid 500 drivers/infiniband/hw/mlx4/mad.c sgid, dgid); dgid 564 drivers/infiniband/hw/mlx4/mad.c union ib_gid dgid; dgid 566 drivers/infiniband/hw/mlx4/mad.c if (get_gids_from_l3_hdr(grh, &sgid, &dgid)) dgid 568 drivers/infiniband/hw/mlx4/mad.c rdma_ah_set_grh(&attr, &dgid, 0, 0, 0, 0); dgid 680 drivers/infiniband/hw/mlx4/mad.c union ib_gid dgid; dgid 683 drivers/infiniband/hw/mlx4/mad.c if (get_gids_from_l3_hdr(grh, &sgid, &dgid)) dgid 693 drivers/infiniband/hw/mlx4/mad.c err = mlx4_get_slave_from_roce_gid(dev->dev, port, dgid.raw, &slave); dgid 696 drivers/infiniband/hw/mlx4/mad.c err = mlx4_get_slave_from_roce_gid(dev->dev, other_port, dgid.raw, &slave); dgid 700 drivers/infiniband/hw/mlx4/mad.c slave, grh->dgid.raw, port, other_port); dgid 736 drivers/infiniband/hw/mlx4/mad.c if (grh->dgid.global.interface_id == dgid 738 drivers/infiniband/hw/mlx4/mad.c grh->dgid.global.subnet_prefix == cpu_to_be64( dgid 743 drivers/infiniband/hw/mlx4/mad.c grh->dgid.global.interface_id); dgid 826 drivers/infiniband/hw/mlx4/mad.c be64_to_cpu(in_grh->dgid.global.subnet_prefix), dgid 827 drivers/infiniband/hw/mlx4/mad.c be64_to_cpu(in_grh->dgid.global.interface_id)); dgid 1834 drivers/infiniband/hw/mlx4/qp.c memcpy(path->rgid, grh->dgid.raw, 16); dgid 3133 drivers/infiniband/hw/mlx4/qp.c ah->av.ib.dgid, 16); dgid 3145 drivers/infiniband/hw/mlx4/qp.c memcpy(&sqp->ud_header.ip4.daddr, ah->av.ib.dgid + 12, 4); dgid 43 drivers/infiniband/hw/mlx5/ah.c memcpy(ah->av.rgid, &grh->dgid, 16); dgid 2965 drivers/infiniband/hw/mlx5/qp.c memcpy(path->rgid, grh->dgid.raw, 16); dgid 66 drivers/infiniband/hw/mthca/mthca_av.c __be32 dgid[4]; dgid 218 drivers/infiniband/hw/mthca/mthca_av.c memcpy(av->dgid, grh->dgid.raw, 16); dgid 221 drivers/infiniband/hw/mthca/mthca_av.c av->dgid[3] = cpu_to_be32(2); dgid 286 drivers/infiniband/hw/mthca/mthca_av.c ah->av->dgid, 16); dgid 320 drivers/infiniband/hw/mthca/mthca_av.c rdma_ah_set_dgid_raw(attr, ah->av->dgid); dgid 547 drivers/infiniband/hw/mthca/mthca_qp.c memcpy(path->rgid, grh->dgid.raw, 16); dgid 534 drivers/infiniband/hw/ocrdma/ocrdma.h memcpy(&in6, rdma_ah_read_grh(ah_attr)->dgid.raw, sizeof(in6)); dgid 137 drivers/infiniband/hw/ocrdma/ocrdma_ah.c rdma_gid2ip((struct sockaddr*)&dgid_addr, &ib_grh->dgid); dgid 145 drivers/infiniband/hw/ocrdma/ocrdma_ah.c memcpy(&grh.dgid[0], ib_grh->dgid.raw, dgid 146 drivers/infiniband/hw/ocrdma/ocrdma_ah.c sizeof(ib_grh->dgid.raw)); dgid 246 drivers/infiniband/hw/ocrdma/ocrdma_ah.c rdma_ah_set_dgid_raw(attr, &grh->dgid[0]); dgid 2520 drivers/infiniband/hw/ocrdma/ocrdma_hw.c memcpy(&cmd->params.dgid[0], &grh->dgid.raw[0], dgid 2521 drivers/infiniband/hw/ocrdma/ocrdma_hw.c sizeof(cmd->params.dgid)); dgid 2541 drivers/infiniband/hw/ocrdma/ocrdma_hw.c rdma_gid2ip((struct sockaddr *)&dgid_addr, &grh->dgid); dgid 2542 drivers/infiniband/hw/ocrdma/ocrdma_hw.c memcpy(&cmd->params.dgid[0], dgid 2548 drivers/infiniband/hw/ocrdma/ocrdma_hw.c ocrdma_cpu_to_le32(&cmd->params.dgid[0], sizeof(cmd->params.dgid)); dgid 1196 drivers/infiniband/hw/ocrdma/ocrdma_sli.h u8 dgid[16]; dgid 1911 drivers/infiniband/hw/ocrdma/ocrdma_sli.h u8 dgid[16]; dgid 1515 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c rdma_ah_set_dgid_raw(&qp_attr->ah_attr, ¶ms.dgid[0]); dgid 522 drivers/infiniband/hw/qedr/qedr.h if (!memcmp(&grh->dgid, &zero_sgid, sizeof(union ib_gid))) { dgid 528 drivers/infiniband/hw/qedr/qedr.h memcpy(&in6, grh->dgid.raw, sizeof(in6)); dgid 463 drivers/infiniband/hw/qedr/qedr_roce_cm.c udh->grh.destination_gid = grh->dgid; dgid 477 drivers/infiniband/hw/qedr/qedr_roce_cm.c ipv4_addr = qedr_get_ipv4_from_gid(grh->dgid.raw); dgid 1031 drivers/infiniband/hw/qedr/verbs.c memcpy(&qp_params->dgid.bytes[0], dgid 1032 drivers/infiniband/hw/qedr/verbs.c &grh->dgid, dgid 1033 drivers/infiniband/hw/qedr/verbs.c sizeof(qp_params->dgid)); dgid 1041 drivers/infiniband/hw/qedr/verbs.c memcpy(&qp_params->dgid.bytes[0], dgid 1042 drivers/infiniband/hw/qedr/verbs.c &grh->dgid, dgid 1043 drivers/infiniband/hw/qedr/verbs.c sizeof(qp_params->dgid)); dgid 1048 drivers/infiniband/hw/qedr/verbs.c memset(&qp_params->dgid, 0, sizeof(qp_params->dgid)); dgid 1052 drivers/infiniband/hw/qedr/verbs.c qedr_get_ipv4_from_gid(grh->dgid.raw); dgid 1053 drivers/infiniband/hw/qedr/verbs.c qp_params->dgid.ipv4_addr = ipv4_addr; dgid 1062 drivers/infiniband/hw/qedr/verbs.c qp_params->dgid.dwords[i] = ntohl(qp_params->dgid.dwords[i]); dgid 2222 drivers/infiniband/hw/qedr/verbs.c qp_params.dgid.dwords[0], qp_params.dgid.dwords[1], dgid 2223 drivers/infiniband/hw/qedr/verbs.c qp_params.dgid.dwords[2], qp_params.dgid.dwords[3]); dgid 2415 drivers/infiniband/hw/qedr/verbs.c rdma_ah_set_dgid_raw(&qp_attr->ah_attr, ¶ms.dgid.bytes[0]); dgid 101 drivers/infiniband/hw/qib/qib_ruc.c if (!gid_ok(&hdr->u.l.grh.dgid, dgid 105 drivers/infiniband/hw/qib/qib_ruc.c grh->dgid.global.subnet_prefix, dgid 106 drivers/infiniband/hw/qib/qib_ruc.c grh->dgid.global.interface_id)) dgid 140 drivers/infiniband/hw/qib/qib_ruc.c if (!gid_ok(&hdr->u.l.grh.dgid, dgid 144 drivers/infiniband/hw/qib/qib_ruc.c grh->dgid.global.subnet_prefix, dgid 145 drivers/infiniband/hw/qib/qib_ruc.c grh->dgid.global.interface_id)) dgid 200 drivers/infiniband/hw/qib/qib_ruc.c hdr->dgid = grh->dgid; dgid 328 drivers/infiniband/hw/qib/qib_verbs.c mcast = rvt_mcast_find(&ibp->rvp, &hdr->u.l.grh.dgid, lid); dgid 258 drivers/infiniband/hw/vmw_pvrdma/pvrdma_misc.c pvrdma_gid_to_ib(&dst->dgid, &src->dgid); dgid 268 drivers/infiniband/hw/vmw_pvrdma/pvrdma_misc.c ib_gid_to_pvrdma(&dst->dgid, &src->dgid); dgid 525 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c rdma_is_multicast_addr((struct in6_addr *)grh->dgid.raw)) dgid 538 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c memcpy(ah->av.dgid, grh->dgid.raw, 16); dgid 185 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.h union pvrdma_gid dgid; dgid 199 drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.h union pvrdma_gid dgid; dgid 68 drivers/infiniband/sw/rxe/rxe_av.c memcpy(av->grh.dgid.raw, grh->dgid.raw, sizeof(grh->dgid.raw)); dgid 82 drivers/infiniband/sw/rxe/rxe_av.c memcpy(grh->dgid.raw, av->grh.dgid.raw, sizeof(av->grh.dgid.raw)); dgid 98 drivers/infiniband/sw/rxe/rxe_av.c &rdma_ah_read_grh(attr)->dgid); dgid 283 drivers/infiniband/sw/rxe/rxe_recv.c union ib_gid dgid; dgid 288 drivers/infiniband/sw/rxe/rxe_recv.c (struct in6_addr *)&dgid); dgid 290 drivers/infiniband/sw/rxe/rxe_recv.c memcpy(&dgid, &ipv6_hdr(skb)->daddr, sizeof(dgid)); dgid 293 drivers/infiniband/sw/rxe/rxe_recv.c mcg = rxe_pool_get_key(&rxe->mc_grp_pool, &dgid); dgid 334 drivers/infiniband/sw/rxe/rxe_recv.c union ib_gid dgid; dgid 339 drivers/infiniband/sw/rxe/rxe_recv.c (struct in6_addr *)&dgid); dgid 340 drivers/infiniband/sw/rxe/rxe_recv.c pdgid = &dgid; dgid 1187 drivers/infiniband/ulp/ipoib/ipoib_cm.c p->qp->qp_num, pathrec->dgid.raw, qpn); dgid 208 drivers/infiniband/ulp/ipoib/ipoib_fs.c format_gid(&path.pathrec.dgid, gid_buf); dgid 179 drivers/infiniband/ulp/ipoib/ipoib_ib.c union ib_gid *dgid; dgid 224 drivers/infiniband/ulp/ipoib/ipoib_ib.c dgid = &((struct ib_grh *)skb->data)->dgid; dgid 226 drivers/infiniband/ulp/ipoib/ipoib_ib.c if (!(wc->wc_flags & IB_WC_GRH) || dgid->raw[0] != 0xff) dgid 228 drivers/infiniband/ulp/ipoib/ipoib_ib.c else if (memcmp(dgid, dev->broadcast + 4, sizeof(union ib_gid)) == 0) dgid 565 drivers/infiniband/ulp/ipoib/ipoib_main.c ret = memcmp(gid, path->pathrec.dgid.raw, dgid 591 drivers/infiniband/ulp/ipoib/ipoib_main.c ret = memcmp(path->pathrec.dgid.raw, tpath->pathrec.dgid.raw, dgid 619 drivers/infiniband/ulp/ipoib/ipoib_main.c ipoib_del_neighs_by_gid(dev, path->pathrec.dgid.raw); dgid 638 drivers/infiniband/ulp/ipoib/ipoib_main.c memset(iter->path.pathrec.dgid.raw, 0, 16); dgid 662 drivers/infiniband/ulp/ipoib/ipoib_main.c if (memcmp(iter->path.pathrec.dgid.raw, path->pathrec.dgid.raw, dgid 695 drivers/infiniband/ulp/ipoib/ipoib_main.c path->pathrec.dgid.raw); dgid 758 drivers/infiniband/ulp/ipoib/ipoib_main.c pathrec->dgid.raw); dgid 761 drivers/infiniband/ulp/ipoib/ipoib_main.c status, path->pathrec.dgid.raw); dgid 783 drivers/infiniband/ulp/ipoib/ipoib_main.c if (memcmp(pathrec->dgid.raw, path->pathrec.dgid.raw, dgid 788 drivers/infiniband/ulp/ipoib/ipoib_main.c dev->name, pathrec->dgid.raw, dgid 789 drivers/infiniband/ulp/ipoib/ipoib_main.c path->pathrec.dgid.raw); dgid 790 drivers/infiniband/ulp/ipoib/ipoib_main.c memcpy(pathrec->dgid.raw, path->pathrec.dgid.raw, dgid 844 drivers/infiniband/ulp/ipoib/ipoib_main.c ipoib_del_neighs_by_gid(dev, path->pathrec.dgid.raw); dgid 869 drivers/infiniband/ulp/ipoib/ipoib_main.c memcpy(path->pathrec.dgid.raw, gid, sizeof(union ib_gid)); dgid 903 drivers/infiniband/ulp/ipoib/ipoib_main.c path->pathrec.dgid.raw); dgid 332 drivers/infiniband/ulp/srp/ib_srp.c ch->ib_cm.path.dgid = target->ib_cm.orig_dgid; dgid 784 drivers/infiniband/ulp/srp/ib_srp.c ch->ib_cm.path.sgid.raw, ch->ib_cm.path.dgid.raw, dgid 2634 drivers/infiniband/ulp/srp/ib_srp.c memcpy(ch->ib_cm.path.dgid.raw, cpi->redirect_gid, 16); dgid 2641 drivers/infiniband/ulp/srp/ib_srp.c union ib_gid *dgid = &ch->ib_cm.path.dgid; dgid 2648 drivers/infiniband/ulp/srp/ib_srp.c memcpy(dgid->raw, event->param.rej_rcvd.ari, 16); dgid 2652 drivers/infiniband/ulp/srp/ib_srp.c be64_to_cpu(dgid->global.subnet_prefix), dgid 2653 drivers/infiniband/ulp/srp/ib_srp.c be64_to_cpu(dgid->global.interface_id)); dgid 3118 drivers/infiniband/ulp/srp/ib_srp.c return sprintf(buf, "%pI6\n", ch->ib_cm.path.dgid.raw); dgid 3215 drivers/infiniband/ulp/srp/ib_srp.c static DEVICE_ATTR(dgid, S_IRUGO, show_dgid, NULL); dgid 2519 drivers/infiniband/ulp/srpt/ib_srpt.c ¶m->primary_path->dgid.global.interface_id); dgid 1445 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c u8 *dgid; dgid 1466 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c dgid = skb->data + MLX5_IB_GRH_DGID_OFFSET; dgid 1467 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c if ((!g) || dgid[0] != 0xff) dgid 1469 drivers/net/ethernet/mellanox/mlx5/core/en_rx.c else if (memcmp(dgid, netdev->broadcast + 4, MLX5_GID_SIZE) == 0) dgid 1195 drivers/net/ethernet/qlogic/qed/qed_rdma.c out_params->dgid = qp->dgid; dgid 1374 drivers/net/ethernet/qlogic/qed/qed_rdma.c qp->dgid = params->dgid; dgid 141 drivers/net/ethernet/qlogic/qed/qed_rdma.h union qed_gid dgid; dgid 131 drivers/net/ethernet/qlogic/qed/qed_roce.c dst_gid[3] = cpu_to_le32(qp->dgid.ipv4_addr); dgid 136 drivers/net/ethernet/qlogic/qed/qed_roce.c dst_gid[i] = cpu_to_le32(qp->dgid.dwords[i]); dgid 797 include/linux/mlx4/device.h u8 dgid[16]; dgid 810 include/linux/mlx4/device.h u8 dgid[16]; dgid 380 include/linux/qed/qed_rdma_if.h union qed_gid dgid; dgid 412 include/linux/qed/qed_rdma_if.h union qed_gid dgid; dgid 283 include/rdma/ib_addr.h static inline u16 rdma_get_vlan_id(union ib_gid *dgid) dgid 287 include/rdma/ib_addr.h vid = dgid->raw[11] << 8 | dgid->raw[12]; dgid 191 include/rdma/ib_sa.h union ib_gid dgid; dgid 252 include/rdma/ib_sa.h ib->dgid.global.interface_id dgid 254 include/rdma/ib_sa.h ib->dgid.global.subnet_prefix dgid 255 include/rdma/ib_sa.h = opa->dgid.global.subnet_prefix; dgid 258 include/rdma/ib_sa.h ib->dgid.global.subnet_prefix dgid 259 include/rdma/ib_sa.h = opa->dgid.global.subnet_prefix; dgid 277 include/rdma/ib_sa.h (ib_is_opa_gid(&ib->dgid))) { dgid 279 include/rdma/ib_sa.h dlid = htonl(opa_get_lid_from_gid(&ib->dgid)); dgid 745 include/rdma/ib_verbs.h union ib_gid dgid; dgid 758 include/rdma/ib_verbs.h union ib_gid dgid; dgid 3408 include/rdma/ib_verbs.h union ib_gid *sgid, union ib_gid *dgid); dgid 4473 include/rdma/ib_verbs.h static inline void rdma_ah_set_dgid_raw(struct rdma_ah_attr *attr, void *dgid) dgid 4477 include/rdma/ib_verbs.h memcpy(grh->dgid.raw, dgid, sizeof(grh->dgid)); dgid 4485 include/rdma/ib_verbs.h grh->dgid.global.subnet_prefix = prefix; dgid 4493 include/rdma/ib_verbs.h grh->dgid.global.interface_id = if_id; dgid 4497 include/rdma/ib_verbs.h union ib_gid *dgid, u32 flow_label, dgid 4504 include/rdma/ib_verbs.h if (dgid) dgid 4505 include/rdma/ib_verbs.h grh->dgid = *dgid; dgid 4514 include/rdma/ib_verbs.h void rdma_move_grh_sgid_attr(struct rdma_ah_attr *attr, union ib_gid *dgid, dgid 427 include/rdma/rdma_cm.h union ib_gid *dgid); dgid 56 include/uapi/rdma/ib_user_sa.h __u8 dgid[16]; dgid 504 include/uapi/rdma/ib_user_verbs.h __u8 dgid[16]; dgid 657 include/uapi/rdma/ib_user_verbs.h __u8 dgid[16]; dgid 51 include/uapi/rdma/rdma_user_rxe.h union rxe_gid dgid; dgid 200 include/uapi/rdma/vmw_pvrdma-abi.h __u8 dgid[16]; dgid 725 net/rds/ib_cm.c __be64 fguid = cm_id->route.path_rec->dgid.global.interface_id;