Lines Matching defs:dgid
716 union ib_gid *sgid, union ib_gid *dgid)
722 if (!sgid || !dgid)
735 (struct in6_addr *)dgid);
739 *dgid = hdr->ibgrh.dgid;
763 if (rdma_link_local_addr((struct in6_addr *)grh->dgid.raw) &&
765 rdma_get_ll_mac((struct in6_addr *)grh->dgid.raw,
770 ret = rdma_addr_find_l2_eth_by_grh(&sgid_attr->gid, &grh->dgid,
780 * Incoming packet has dgid of the receiver node on which this code is
783 * When resolving mac address of destination, the arrived dgid is used
784 * as sgid and, sgid is used as dgid because sgid contains destinations
800 union ib_gid dgid;
815 &sgid, &dgid);
830 vlan_id, &dgid,
855 if (dgid.global.interface_id !=
858 device, &dgid, IB_GID_TYPE_IB, port_num, NULL);
882 * @dgid: Destination GID
892 void rdma_move_grh_sgid_attr(struct rdma_ah_attr *attr, union ib_gid *dgid,
896 rdma_ah_set_grh(attr, dgid, flow_label, sgid_attr->index, hop_limit,
1740 if (rdma_is_multicast_addr((struct in6_addr *)ah_attr->grh.dgid.raw)) {
1741 if (ipv6_addr_v4mapped((struct in6_addr *)ah_attr->grh.dgid.raw)) {
1744 memcpy(&addr, ah_attr->grh.dgid.raw + 12, 4);
1747 ipv6_eth_mc_map((struct in6_addr *)ah_attr->grh.dgid.raw,